latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class brightRGB More...
#include <ltiBrightRGB.h>
Public Types | |
enum | eBRGBFilterType { Minimum = 0, Maximum, Average, Median } |
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 | |
eBRGBFilterType | type |
bool | transparent |
rgbPixel | transColor |
the parameters for the class brightRGB
Specification of the filter type used on each channel to calculate the feature vector.
For all modes the transparent color is not taken into account.
lti::brightRGB::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::brightRGB::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::brightRGB::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::globalFeatureExtractor::parameters.
virtual functor::parameters* lti::brightRGB::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::brightRGB::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
const char* lti::brightRGB::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::brightRGB::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::brightRGB::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
read the parameters from 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::functor::parameters.
virtual bool lti::brightRGB::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::functor::parameters.
color which will ignored by the calculation.
Default value is lti::Black.
define if there is a transparent color i.e.
is there a color to be ignored by the calculation default value is true.
Kind of calculation rule used to get the values.
Default value is Average