Generic interface class to data filters. More...
#include <mia/core/filter.hh>
Public Types | |
typedef D | Image |
defines the image type handled by the image filter More... | |
typedef D | plugin_data |
plugin handler helper type More... | |
typedef filter_type | plugin_type |
plugin handler helper type More... | |
typedef std::shared_ptr< TDataFilter< D > > | Pointer |
pointer type of the data filtered by this filter More... | |
typedef TFilter< std::shared_ptr< D > >::result_type | result_type |
result type of this filter More... | |
Public Types inherited from TFilter< std::shared_ptr< D > > | |
typedef std::shared_ptr< D > | result_type |
defines the return type of the filter function More... | |
Public Types inherited from CPropertyFlagHolder | |
typedef std::set< const char * > | Set |
define the type of the set of flags More... | |
Public Member Functions | |
result_type | filter (const Image &image) const |
result_type | filter (std::shared_ptr< D > pimage) const |
std::set< EPixelType > | test_pixeltype_conversion (const std::set< EPixelType > &in_types) const |
virtual | ~TDataFilter () |
Public Member Functions inherited from CProductBase | |
const char * | get_init_string () const |
void | set_init_string (const char *init) |
void | set_module (PPluginModule module) |
Public Member Functions inherited from CPropertyFlagHolder | |
void | add (const char *property) |
Set | get_missing_properties (const CPropertyFlagHolder &testset) const |
bool | has (const char *property) const |
bool | has_all_in (const CPropertyFlagHolder &testset) const |
virtual | ~CPropertyFlagHolder () |
Generic interface class to data filters.
This class provides the basic interface to image filtering.
D | the data type to be filtered |
Definition at line 86 of file core/filter.hh.
typedef D TDataFilter< D >::Image |
defines the image type handled by the image filter
Definition at line 95 of file core/filter.hh.
typedef D TDataFilter< D >::plugin_data |
plugin handler helper type
Definition at line 90 of file core/filter.hh.
typedef filter_type TDataFilter< D >::plugin_type |
plugin handler helper type
Definition at line 92 of file core/filter.hh.
typedef std::shared_ptr<TDataFilter<D> > TDataFilter< D >::Pointer |
pointer type of the data filtered by this filter
Definition at line 98 of file core/filter.hh.
typedef TFilter< std::shared_ptr<D > >::result_type TDataFilter< D >::result_type |
result type of this filter
Definition at line 101 of file core/filter.hh.
|
virtual |
Definition at line 615 of file core/filter.hh.
TDataFilter< D >::result_type TDataFilter< D >::filter | ( | const Image & | image | ) | const |
run the filter
image | must be of a type that has Binder trait defined. |
Definition at line 621 of file core/filter.hh.
TDataFilter< D >::result_type TDataFilter< D >::filter | ( | std::shared_ptr< D > | pimage | ) | const |
run the filter from a pointer type
pimage | must be of a type D that has Binder trait defined. |
Definition at line 628 of file core/filter.hh.
std::set< EPixelType > TDataFilter< D >::test_pixeltype_conversion | ( | const std::set< EPixelType > & | in_types | ) | const |
proved a pixel type conversion prediction based on the given input pixel type set.
in_types | the pixel types that are fed into the pipeline |
Definition at line 643 of file core/filter.hh.