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

lti::comprehensiveColourNormalization Class Reference

This class implements the algorithm described in the paper "Comprehensive Colour Image Normalization" by Finlayson, Schiele and Crowley. More...

#include <ltiComprehensiveColourNormalization.h>

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

List of all members.

Classes

class  parameters
 the parameters for the class comprehensiveColourNormalization More...

Public Member Functions

 comprehensiveColourNormalization ()
 comprehensiveColourNormalization (const parameters &par)
 comprehensiveColourNormalization (const comprehensiveColourNormalization &other)
virtual ~comprehensiveColourNormalization ()
virtual const char * getTypeName () const
virtual bool apply (image &srcdest) const
virtual bool apply (const image &src, image &dest) const
comprehensiveColourNormalizationcopy (const comprehensiveColourNormalization &other)
comprehensiveColourNormalizationoperator= (const comprehensiveColourNormalization &other)
virtual functorclone () const
const parametersgetParameters () const

Protected Member Functions

bool step (const channel &srcred, const channel &srcgreen, const channel &srcblue, channel &destred, channel &destgreen, channel &destblue, float &dist) const

Detailed Description

This class implements the algorithm described in the paper "Comprehensive Colour Image Normalization" by Finlayson, Schiele and Crowley.

The original paper can be found here: http://web.media.mit.edu/~bernt/Pubs/eccv98.ps.gz

The algorithm can eliminate dependencies from lighting geometry and illumination colour, normalizing both chromaticities and intensities of each channel.


Constructor & Destructor Documentation

lti::comprehensiveColourNormalization::comprehensiveColourNormalization (  ) 

default constructor

lti::comprehensiveColourNormalization::comprehensiveColourNormalization ( const parameters par  ) 

Construct a functor using the given parameters.

lti::comprehensiveColourNormalization::comprehensiveColourNormalization ( const comprehensiveColourNormalization other  ) 

copy constructor

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

destructor


Member Function Documentation

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

operates on a copy of the given parameters.

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

Implements lti::colorNormalizationBase.

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

operates on the given parameter.

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

Implements lti::colorNormalizationBase.

virtual functor* lti::comprehensiveColourNormalization::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::colorNormalizationBase.

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

copy data of "other" functor.

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

Reimplemented from lti::colorNormalizationBase.

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

returns used parameters

Reimplemented from lti::colorNormalizationBase.

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

returns the name of this type ("comprehensiveColourNormalization")

Reimplemented from lti::colorNormalizationBase.

comprehensiveColourNormalization& lti::comprehensiveColourNormalization::operator= ( const comprehensiveColourNormalization other  ) 

alias for copy member

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

Reimplemented from lti::functor.

bool lti::comprehensiveColourNormalization::step ( const channel srcred,
const channel srcgreen,
const channel srcblue,
channel destred,
channel destgreen,
channel destblue,
float &  dist 
) const [protected]

One iteration of the comprehensive normalization from src to dest.

This method assumes that all channels are Connected (see matrix::getMode())

The square of the maximum distance between the src and the dest channels will be left on dist


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