latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class chrominanceMapMasking. More...
#include <ltiChrominanceMapMasking.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 | |
ubyte | blackLuminance |
ubyte | whiteLuminance |
int | achromaticLabel |
int | whiteLabel |
int | greyLabel |
int | blackLabel |
int | shrinkFactor |
The parameters for the class chrominanceMapMasking.
lti::chrominanceMapMasking::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::modifier::parameters.
lti::chrominanceMapMasking::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
lti::chrominanceMapMasking::parameters::~parameters | ( | ) | [virtual] |
Destructor.
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::chrominanceMapMasking::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from lti::modifier::parameters.
parameters& lti::chrominanceMapMasking::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
const char* lti::chrominanceMapMasking::parameters::getTypeName | ( | ) | const [virtual] |
Returns name of this type.
Reimplemented from lti::modifier::parameters.
parameters& lti::chrominanceMapMasking::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
virtual bool lti::chrominanceMapMasking::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::modifier::parameters.
virtual bool lti::chrominanceMapMasking::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.
The label of the achromatic region in the chrominance map.
The label of black objects in the destination.
Achromatic objects which a luminance below this value are interpreted as black.
The label of grey objects in the destination.
Each color band usually contains 8bit resulting in a 256x256 histogram.
For efficiency the histograms may be downsampled by 2 power shrinkFactor.
Default: 0.
The label of white objects in the destination.
Achromatic objects which a luminance above this value are interpreted as white.