MichelsonChannel Class Reference

A Michelson contrast channel, computes Michelson contrast in an image patch. More...

#include <Channels/MichelsonChannel.H>

Inheritance diagram for MichelsonChannel:
Inheritance graph
[legend]
Collaboration diagram for MichelsonChannel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MichelsonChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~MichelsonChannel ()
 Destructor.
virtual bool outputAvailable () const
 overload

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 special input function
virtual Image< float > getOutput ()
 special output function

Protected Attributes

Image< float > itsMap
 our michelson contrast map

Detailed Description

A Michelson contrast channel, computes Michelson contrast in an image patch.

CAUTION: this channel will throw a fatal exception if your LevelSpec contains more than one level or if that level is different from the maplevel or if the deltas are non-zero. Michelson contrast in every map pixel is computed as abs( (La-Li) / (La+Li) ) where La is the local patch luminance and Li the average image luminance.

Definition at line 50 of file MichelsonChannel.H.


Constructor & Destructor Documentation

MichelsonChannel::MichelsonChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 45 of file MichelsonChannel.C.

MichelsonChannel::~MichelsonChannel (  )  [virtual]

Destructor.

Definition at line 52 of file MichelsonChannel.C.


Member Function Documentation

void MichelsonChannel::doInput ( const InputFrame inframe  )  [protected, virtual]
Image< float > MichelsonChannel::getOutput (  )  [protected, virtual]

special output function

Reimplemented from SingleChannel.

Definition at line 87 of file MichelsonChannel.C.

References itsMap.

bool MichelsonChannel::outputAvailable (  )  const [virtual]

overload

Reimplemented from SingleChannel.

Definition at line 56 of file MichelsonChannel.C.

References Image< T >::initialized(), and itsMap.


Member Data Documentation

Image<float> MichelsonChannel::itsMap [protected]

our michelson contrast map

Definition at line 69 of file MichelsonChannel.H.

Referenced by doInput(), getOutput(), and outputAvailable().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:23:12 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3