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


Hue is represented as a bivariate Gaussian distibution in the C.I.E. color space, which is R/I vs. G/I.
Definition at line 47 of file HueChannel.H.
Public Member Functions | |
| HueChannel (OptionManager &mgr, float muR, float muG, float sigR, float sigG, float rho) | |
| Constructor with parameters of the bivariate Gaussian. | |
| HueChannel (OptionManager &mgr, const PixRGB< byte > hue, float sig=0.04) | |
| Constuctor with sample pixel and std. | |
| virtual | ~HueChannel () |
| virtual destructor for inheritance | |
| Image< float > | combineSubMaps () |
| Combine all feature maps into a single output map. | |
| virtual uint | numSubmaps () const |
| always returns 1 | |
| virtual Image< float > | getSubmap (const uint index) const |
| This is just a caching wrapper around computeSubmap(). | |
| virtual std::string | getSubmapName (const uint index) const |
| Always returns "Hue". | |
Protected Member Functions | |
| virtual void | doInput (const InputFrame &inframe) |
| special input function to compute the hue distance map | |
Protected Attributes | |
| float | itsMuR |
| float | itsMuG |
| float | itsSigR |
| float | itsSigG |
| float | itsRho |
|
||||||||||||||||||||||||||||
|
Constructor with parameters of the bivariate Gaussian.
Definition at line 47 of file HueChannel.C. |
|
||||||||||||||||
|
Constuctor with sample pixel and std. Simplified version of the constructor that derives muR and muG from the pixel value hue, and it assumes that sigR=sigG=sig, and rho = 0. Definition at line 59 of file HueChannel.C. References itsMuG, itsMuR, and RGBtoCIE(). |
|
|
virtual destructor for inheritance
Definition at line 74 of file HueChannel.C. |
|
|
Combine all feature maps into a single output map. This overrides SingleChannel::combineSubMaps. Instead of doing center-surround and combining across scales, we just return the hue-filtered image at the map resolution. Reimplemented from SingleChannel. Definition at line 90 of file HueChannel.C. References SingleChannel::getImage(), OModelParam< T >::getVal(), SingleChannel::itsLevelSpec, SingleChannel::itsNormType, SingleChannel::itsOutputRangeMax, SingleChannel::itsOutputRangeMin, LDEBUG, LevelSpec::mapLevel(), maxNormalize(), maxNormTypeName(), output(), and ModelComponent::tagName(). |
|
|
special input function to compute the hue distance map
Reimplemented from SingleChannel. Definition at line 78 of file HueChannel.C. References ASSERT, InputFrame::clipMask(), InputFrame::colorFloat(), SingleChannel::doInput(), InputFrame::fromGrayFloat(), hueDistance(), Image< T >::initialized(), itsMuG, itsMuR, itsRho, itsSigG, itsSigR, InputFrame::pyrCache(), and InputFrame::time(). |
|
|
This is just a caching wrapper around computeSubmap().
Reimplemented from SingleChannel. Definition at line 109 of file HueChannel.C. |
|
|
Always returns "Hue".
Reimplemented from SingleChannel. Definition at line 117 of file HueChannel.C. |
|
|
always returns 1
Reimplemented from SingleChannel. Definition at line 105 of file HueChannel.C. |
1.4.4