base class for 1D filter kernels More...
#include <mia/core/spacial_kernel.hh>
Public Types | |
typedef spacial_kernel_data | plugin_data |
define the plugin search path, data part More... | |
typedef kernel_plugin_type | plugin_type |
define the plugin search path, type part More... | |
Public Types inherited from CPropertyFlagHolder | |
typedef std::set< const char * > | Set |
define the type of the set of flags More... | |
Public Member Functions | |
std::vector< double > | apply (const std::vector< double > &data) const |
void | apply_inplace (std::vector< double > &data) const |
int | get_fsize () const |
returns the filter width definition parameter More... | |
size_t | size () const |
returns the width of the kernel More... | |
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 () |
Protected Member Functions | |
C1DFilterKernel (unsigned fsize) | |
virtual | ~C1DFilterKernel () |
base class for 1D filter kernels
prototype for a 1D spacial convolution kernel
Definition at line 51 of file spacial_kernel.hh.
define the plugin search path, data part
Definition at line 62 of file spacial_kernel.hh.
define the plugin search path, type part
Definition at line 64 of file spacial_kernel.hh.
|
protected |
constructs the kernel
fsize | width parameter of the kernel |
|
protectedvirtual |
std::vector<double> C1DFilterKernel::apply | ( | const std::vector< double > & | data | ) | const |
run the filter out-of-place
data | input data |
void C1DFilterKernel::apply_inplace | ( | std::vector< double > & | data | ) | const |
run the filter in-place
data |
int C1DFilterKernel::get_fsize | ( | ) | const |
returns the filter width definition parameter
size_t C1DFilterKernel::size | ( | ) | const |
returns the width of the kernel