LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::classifier2DVisualizer::parameters Class Reference

the parameters for the class classifier2DVisualizer More...

#include <ltiClassifier2DVisualizer.h>

Inheritance diagram for lti::classifier2DVisualizer::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::classifier2DVisualizer::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual functor::parametersclone () 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

Detailed Description

the parameters for the class classifier2DVisualizer


Constructor & Destructor Documentation

lti::classifier2DVisualizer::parameters::parameters (  ) 

default constructor

Reimplemented from lti::functor::parameters.

lti::classifier2DVisualizer::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied
lti::classifier2DVisualizer::parameters::~parameters (  )  [virtual]

destructor

Reimplemented from lti::functor::parameters.


Member Function Documentation

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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
virtual bool lti::classifier2DVisualizer::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parameters from the given ioHandler

Parameters:
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.
Returns:
true if write was successful

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

Parameters:
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.
Returns:
true if write was successful

Reimplemented from lti::functor::parameters.


Member Data Documentation

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)


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:26:47 2010 for LTI-Lib by Doxygen 1.6.1