A double opponent color channel class that combines r/g, b/y subchannels. More...
#include <Channels/IntegerColorChannel.H>
Public Member Functions | |
IntegerColorChannel (OptionManager &mgr, nub::ref< IntegerMathEngine > eng) | |
Construct with standard params. | |
virtual | ~IntegerColorChannel () |
Destructor. | |
virtual IntegerSimpleChannel & | rg () const |
Get access the IntegerSimpleChannel subchannel. | |
virtual IntegerSimpleChannel & | by () const |
Get access to the IntegerSimpleChannel subchannel. | |
Protected Member Functions | |
virtual void | doInputInt (const IntegerInput &inp, const SimTime &t, PyramidCache< int > *cache, const Image< byte > &clipMask) |
Protected Attributes | |
NModelParam< float > | itsLumThresh |
Luminance threshold (see getRGBY()). |
A double opponent color channel class that combines r/g, b/y subchannels.
This is an example of an heterogeneous complex channel where the various subchannels have distinct visual features. Thus, the JetSpec representation for such complex channel will be a series of independent single-channel representations, one for each subchannel.
Definition at line 51 of file IntegerColorChannel.H.
IntegerColorChannel::IntegerColorChannel | ( | OptionManager & | mgr, | |
nub::ref< IntegerMathEngine > | eng | |||
) |
Construct with standard params.
Definition at line 54 of file IntegerColorChannel.C.
References IntegerComplexChannel::addSubChan().
IntegerColorChannel::~IntegerColorChannel | ( | ) | [virtual] |
Destructor.
Definition at line 93 of file IntegerColorChannel.C.
IntegerSimpleChannel & IntegerColorChannel::by | ( | ) | const [virtual] |
Get access to the IntegerSimpleChannel subchannel.
Definition at line 86 of file IntegerColorChannel.C.
IntegerSimpleChannel & IntegerColorChannel::rg | ( | ) | const [virtual] |
Get access the IntegerSimpleChannel subchannel.
Definition at line 79 of file IntegerColorChannel.C.
NModelParam<float> IntegerColorChannel::itsLumThresh [protected] |
Luminance threshold (see getRGBY()).
Definition at line 68 of file IntegerColorChannel.H.