latest version v1.9 - last update 10 Apr 2010 |
the parameters for all ogd filters More...
#include <ltiOgdFilter.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
int | order |
int | size |
double | variance |
double | angle |
the parameters for all ogd filters
lti::ogdFilter::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::modifier::parameters.
lti::ogdFilter::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
lti::ogdFilter::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::ogdFilter::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::modifier::parameters.
parameters& lti::ogdFilter::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::filter::parameters.
const char* lti::ogdFilter::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::modifier::parameters.
parameters& lti::ogdFilter::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::ogdFilter::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::modifier::parameters.
virtual bool lti::ogdFilter::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::modifier::parameters.
orientation in radians (0 rad is equivalent to the positive x-Axis)
Default value: 0.0
Order of the OGD to be used (1 or 2).
Default value: 1
size of the used filter kernel (the 2D kernel has a dimension size x size)
Default value: 5
Variance of the Gaussian.
If you give -1.0 here, the variance will be computed from the given size, exaclty as for the Gaussian Kernels.
Default value: 1.4