
A Contrast channel (based on Parkhurst & Niebur 2003). More...
#include <Channels/PN03contrastChannel.H>


Public Member Functions | |
| PN03contrastChannel (OptionManager &mgr) | |
| Construct with standard params. | |
| virtual | ~PN03contrastChannel () |
| 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 contrast map | |
A Contrast channel (based on Parkhurst & Niebur 2003).
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.
Definition at line 48 of file PN03contrastChannel.H.
| PN03contrastChannel::PN03contrastChannel | ( | OptionManager & | mgr | ) |
Construct with standard params.
Definition at line 46 of file PN03contrastChannel.C.
| PN03contrastChannel::~PN03contrastChannel | ( | ) | [virtual] |
Destructor.
Definition at line 53 of file PN03contrastChannel.C.
| void PN03contrastChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
special input function
Reimplemented from SingleChannel.
Definition at line 61 of file PN03contrastChannel.C.
References ASSERT, Image< T >::beginw(), LevelSpec::delMax(), LevelSpec::delMin(), Image< T >::getVal(), OModelParam< T >::getVal(), Image< T >::initialized(), itsMap, LevelSpec::levMax(), LevelSpec::levMin(), LevelSpec::mapLevel(), min(), Image< T >::resize(), and sqrt().
| Image< float > PN03contrastChannel::getOutput | ( | ) | [protected, virtual] |
special output function
Reimplemented from SingleChannel.
Definition at line 134 of file PN03contrastChannel.C.
References itsMap.
| bool PN03contrastChannel::outputAvailable | ( | ) | const [virtual] |
overload
Reimplemented from SingleChannel.
Definition at line 57 of file PN03contrastChannel.C.
References Image< T >::initialized(), and itsMap.
Image<float> PN03contrastChannel::itsMap [protected] |
our contrast map
Definition at line 67 of file PN03contrastChannel.H.
Referenced by doInput(), getOutput(), and outputAvailable().
1.6.3