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

lti::colorNormalizationBase Class Reference
[Color Analysis]

Parent class for color normalization methods usually used to eliminate the effects of illumination changes. More...

#include <ltiColorNormalizationBase.h>

Inheritance diagram for lti::colorNormalizationBase:
Inheritance graph
[legend]
Collaboration diagram for lti::colorNormalizationBase:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class colorNormalizationBase More...

Public Member Functions

 colorNormalizationBase ()
 colorNormalizationBase (const colorNormalizationBase &other)
virtual ~colorNormalizationBase ()
virtual const char * getTypeName () const
virtual bool apply (image &srcdest) const =0
virtual bool apply (const image &src, image &dest) const =0
colorNormalizationBasecopy (const colorNormalizationBase &other)
virtual functorclone () const =0
const parametersgetParameters () const

Detailed Description

Parent class for color normalization methods usually used to eliminate the effects of illumination changes.


Constructor & Destructor Documentation

lti::colorNormalizationBase::colorNormalizationBase (  ) 

default constructor

lti::colorNormalizationBase::colorNormalizationBase ( const colorNormalizationBase other  ) 

copy constructor

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

destructor


Member Function Documentation

virtual bool lti::colorNormalizationBase::apply ( const image src,
image dest 
) const [pure virtual]

Normalize the colors on the image src and leave the result on the dest one.

Parameters:
src image with the source data.
dest image where the result will be left.
Returns:
true if successful, false otherwise.

Reimplemented from lti::modifier.

Implemented in lti::comprehensiveColourNormalization, and lti::grayWorldNormalization.

virtual bool lti::colorNormalizationBase::apply ( image srcdest  )  const [pure virtual]

Normalize the colors on the given image and write the result there too.

Parameters:
srcdest image with the source data. The result will be left here too.
Returns:
true if successful, false otherwise.

Reimplemented from lti::modifier.

Implemented in lti::comprehensiveColourNormalization, and lti::grayWorldNormalization.

virtual functor* lti::colorNormalizationBase::clone (  )  const [pure virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

Implemented in lti::comprehensiveColourNormalization, and lti::grayWorldNormalization.

colorNormalizationBase& lti::colorNormalizationBase::copy ( const colorNormalizationBase other  ) 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

Reimplemented in lti::comprehensiveColourNormalization, and lti::grayWorldNormalization.

const parameters& lti::colorNormalizationBase::getParameters (  )  const

returns used parameters

Reimplemented from lti::modifier.

Reimplemented in lti::comprehensiveColourNormalization, and lti::grayWorldNormalization.

virtual const char* lti::colorNormalizationBase::getTypeName (  )  const [virtual]

returns the name of this type ("colorNormalizationBase")

Reimplemented from lti::modifier.

Reimplemented in lti::comprehensiveColourNormalization, and lti::grayWorldNormalization.


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

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