
#include <Channels/MichelsonChannel.H>
Inheritance diagram for MichelsonChannel:


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.
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 | |
|
|
Construct with standard params.
Definition at line 45 of file MichelsonChannel.C. |
|
|
Destructor.
Definition at line 52 of file MichelsonChannel.C. |
|
|
special input function
Reimplemented from SingleChannel. Definition at line 60 of file MichelsonChannel.C. References ASSERT, Image< T >::begin(), Image< T >::beginw(), LevelSpec::delMax(), LevelSpec::delMin(), SingleChannel::doInput(), Image< T >::end(), Image< T >::getDims(), SingleChannel::getImage(), getMinMaxAvg(), OModelParam< T >::getVal(), InputFrame::grayFloat(), Image< T >::initialized(), SingleChannel::itsLevelSpec, itsMap, LevelSpec::levMax(), LevelSpec::levMin(), lum, LevelSpec::mapLevel(), Image< T >::resize(), src, and ModelComponent::stop(). |
|
|
special output function
Reimplemented from SingleChannel. Definition at line 87 of file MichelsonChannel.C. References itsMap. |
|
|
overload
Reimplemented from SingleChannel. Definition at line 56 of file MichelsonChannel.C. References Image< T >::initialized(), and itsMap. |
|
|
our michelson contrast map
Definition at line 69 of file MichelsonChannel.H. Referenced by doInput(), getOutput(), and outputAvailable(). |
1.4.4