latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class classifier2DVisualizer More...
#include <ltiClassifier2DVisualizer.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 | |
dpoint | lowerLeft |
dpoint | upperRight |
point | imgSize |
int | pixSize |
int | highlightSize |
bool | showBoundaries |
rgbColor | boundaryColor |
rgbColor | highlightColor |
rgbColor | highlightColor2 |
int | colorOffset |
palette | colorMap |
bool | scaleRGBTogether |
the parameters for the class classifier2DVisualizer
lti::classifier2DVisualizer::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::functor::parameters.
lti::classifier2DVisualizer::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
lti::classifier2DVisualizer::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::classifier2DVisualizer::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Implements lti::functor::parameters.
parameters& lti::classifier2DVisualizer::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
const char* lti::classifier2DVisualizer::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::functor::parameters.
parameters& lti::classifier2DVisualizer::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::classifier2DVisualizer::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::classifier2DVisualizer::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.
The color of the drawn boundaries.
Default is Grey75.
The colormap which is to be used for assigning colors to labels.
Note that the colors are assigned cyclically, i.e. if there are more classes than labels, there will be different classes with the same colors.
Default value: a palette composed by the values Red, Green, Blue, Yellow, Magenta, Cyan, DarkOrange, Fusia, BrightGreen, LawnGreen, LightBlue, DarkViolet, Grey75, Grey50 and Grey25
The offset for choosing the class color.
If pixels are colored, this value is added to the label to get the index for the color table.
Default is 0.
The color of the drawn highlights.
Default is White.
The color of the drawn highlights2.
Default is Black.
The size of a highlight.
Default is 6.
The size of the image that is generated.
Default is (1024,768).
The lower left corner of the area that is to be plotted.
Default is (0,0).
The size of each virtual pixel.
A virtual pixel is a rectangle whose center is classified. Default is 2.
Each color channel of the final image will usually have values higher than the possible displayable values from 0.0 to 1.0.
To normalize the RGB channels, two options are given. If scaleRGB together is true all three channels will be normalized by the same value, which will be the maximal value between all three channels. If false (default), each channel will be normalized by its maximum.
Default value: false
If this is true, the visualizer will draw boundaries between classes.
A pixel is assigned to the class with the highest classification output.
Default value: false
The upper right corner of the area that is to be plotted.
Default is (1.333,1)