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


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 57 of file ColorChannel.H.
Public Member Functions | |
| ColorChannel (OptionManager &mgr) | |
| Construct with standard params. | |
| virtual | ~ColorChannel () |
| Destructor. | |
| virtual void | paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status) |
| Overload so that we can reconfigure when our params get changed. | |
| virtual RedGreenChannel & | rg () const |
| Get access the RedGreenChannel subchannel. | |
| virtual GreenRedChannel & | gr () const |
| virtual BlueYellowChannel & | by () const |
| Get access to the BlueYellowChannel subchannel. | |
| virtual YellowBlueChannel & | yb () const |
Protected Member Functions | |
| virtual void | doInput (const InputFrame &inframe) |
| ColorChannel requires only color input. | |
| void | setRG (nub::ref< RedGreenChannel > rg) |
| Install a different red/green channel. | |
| void | setGR (nub::ref< GreenRedChannel > gr) |
| Install a different red/green channel. | |
| void | setBY (nub::ref< BlueYellowChannel > by) |
| Install a different blue/yellow channel. | |
| void | setYB (nub::ref< YellowBlueChannel > yb) |
| Install a different blue/yellow channel. | |
Protected Attributes | |
| NModelParam< float > | itsLumThresh |
| Luminance threshold (see getRGBY()). | |
| OModelParam< ColorComputeType > | itsMethod |
|
|
Construct with standard params.
Definition at line 56 of file ColorChannel.C. References ComplexChannel::addSubChan(), ModelComponent::getManager(), and GVX_TRACE. |
|
|
Destructor.
Definition at line 137 of file ColorChannel.C. References GVX_TRACE. |
|
|
Get access to the BlueYellowChannel subchannel.
Definition at line 116 of file ColorChannel.C. References GVX_TRACE. |
|
|
ColorChannel requires only color input.
Implements ChannelBase. Definition at line 143 of file ColorChannel.C. References ASSERT, InputFrame::clipMask(), InputFrame::colorByte(), InputFrame::colorFloat(), COLsimple, COLstandard, COLstandardFull, InputFrame::fromGrayFloat(), getRGBY(), getRGBYsimple(), NModelParam< T >::getVal(), OModelParam< T >::getVal(), GVX_TRACE, Image< T >::initialized(), itsLumThresh, itsMethod, LFATAL, LINFO, InputFrame::pyrCache(), InputFrame::time(), and y. |
|
||||||||||||||||
|
Overload so that we can reconfigure when our params get changed.
Reimplemented from ModelComponent. Definition at line 71 of file ColorChannel.C. References ComplexChannel::addSubChan(), COLstandardFull, ModelComponent::getManager(), OModelParam< T >::getVal(), itsMethod, LINFO, ModelComponent::paramChanged(), and ComplexChannel::removeAllSubChans(). |
|
|
Get access the RedGreenChannel subchannel.
Definition at line 109 of file ColorChannel.C. References GVX_TRACE. |
|
|
Install a different blue/yellow channel.
Definition at line 199 of file ColorChannel.C. References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan(). |
|
|
Install a different red/green channel.
Definition at line 207 of file ColorChannel.C. References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan(). |
|
|
Install a different red/green channel.
Definition at line 191 of file ColorChannel.C. References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan(). |
|
|
Install a different blue/yellow channel.
Definition at line 215 of file ColorChannel.C. References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan(). |
|
|
Luminance threshold (see getRGBY()).
Definition at line 82 of file ColorChannel.H. Referenced by doInput(). |
1.4.4