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

lti::localColorFeature::parameters Class Reference

The parameters for the class localColorFeature. More...

#include <ltiLocalColorFeature.h>

Inheritance diagram for lti::localColorFeature::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::localColorFeature::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

unsigned int slices
bool overlap
bool normalize
int maskRadius

Detailed Description

The parameters for the class localColorFeature.


Constructor & Destructor Documentation

lti::localColorFeature::parameters::parameters (  ) 

Default constructor.

Reimplemented from lti::localFeatureExtractor::parameters.

lti::localColorFeature::parameters::parameters ( const parameters other  ) 

Copy constructor.

Parameters:
other the parameters object to be copied

Reimplemented from lti::localFeatureExtractor::parameters.

lti::localColorFeature::parameters::~parameters (  )  [virtual]

Destructor.

Reimplemented from lti::localFeatureExtractor::parameters.


Member Function Documentation

virtual functor::parameters* lti::localColorFeature::parameters::clone (  )  const [virtual]

Returns a pointer to a clone of the parameters.

Reimplemented from lti::localFeatureExtractor::parameters.

parameters& lti::localColorFeature::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

Reimplemented from lti::localFeatureExtractor::parameters.

const char* lti::localColorFeature::parameters::getTypeName (  )  const [virtual]

Returns name of this type.

Reimplemented from lti::localFeatureExtractor::parameters.

parameters& lti::localColorFeature::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

Reimplemented from lti::localFeatureExtractor::parameters.

virtual bool lti::localColorFeature::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::localFeatureExtractor::parameters.

virtual bool lti::localColorFeature::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::localFeatureExtractor::parameters.


Member Data Documentation

Mask radius.

The feature computation will be made using a template mask of a fixed size that is computed only once, when you set the parameters. The values in this fixed mask will be taken from the image using bilinear interpolation.

The greater the radius, the more pixels will be considered to compute the mean values of each slice, but the more the time it will take to compute each location.

This value should be greater than 2 and smaller than 255

Default value: 7

Normalize.

If true, the final feature vector will be normalized so that the sum of all elements equals one.

Default value: false

Overlapping slices.

If true, twice the number of slices will be computed and the feature vector will have 2*slices elements. If false, single slices will be computed and the number of elements of the feature vector will be just 1*slices.

Default value: true

Number of slices.

A given location will be interpreted as a circle, that will be divided in this number of slices. The minimal allowed value of slices is one, and the maximal allowed slices value is 120.

The number of dimensions of the output feature vector will be "slices" or "2*slices" depending on the "overlap" parameter.

Default value: 6


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

Generated on Sat Apr 10 15:27:30 2010 for LTI-Lib by Doxygen 1.6.1