A DKL color channel. More...
#include <Channels/DKLcolorChannel.H>
Public Member Functions | |
DKLcolorChannel (OptionManager &mgr) | |
Construct with standard params. | |
virtual | ~DKLcolorChannel () |
Destructor. | |
virtual DcolorChannel & | Dcolor () const |
Get access the Dcolor subchannel. | |
virtual KcolorChannel & | Kcolor () const |
Get access the Kcolor subchannel. | |
virtual LcolorChannel & | Lcolor () const |
Get access the Lcolor subchannel. | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
DKLcolorChannel requires only color input. | |
void | start1 () |
get started | |
Protected Attributes | |
OModelParam< float > | itsDweight |
OModelParam< float > | itsKweight |
OModelParam< float > | itsLweight |
A DKL color channel.
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 54 of file DKLcolorChannel.H.
DKLcolorChannel::DKLcolorChannel | ( | OptionManager & | mgr | ) |
Construct with standard params.
Definition at line 68 of file DKLcolorChannel.C.
References ComplexChannel::addSubChan().
DKLcolorChannel::~DKLcolorChannel | ( | ) | [virtual] |
Destructor.
Definition at line 106 of file DKLcolorChannel.C.
DcolorChannel & DKLcolorChannel::Dcolor | ( | ) | const [virtual] |
Get access the Dcolor subchannel.
Definition at line 85 of file DKLcolorChannel.C.
void DKLcolorChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
DKLcolorChannel requires only color input.
Implements ChannelBase.
Definition at line 125 of file DKLcolorChannel.C.
References getDKL().
KcolorChannel & DKLcolorChannel::Kcolor | ( | ) | const [virtual] |
Get access the Kcolor subchannel.
Definition at line 92 of file DKLcolorChannel.C.
LcolorChannel & DKLcolorChannel::Lcolor | ( | ) | const [virtual] |
Get access the Lcolor subchannel.
Definition at line 99 of file DKLcolorChannel.C.
void DKLcolorChannel::start1 | ( | ) | [protected, virtual] |
get started
Reimplemented from ComplexChannel.
Definition at line 112 of file DKLcolorChannel.C.
References OModelParam< T >::getVal(), and ComplexChannel::setSubchanTotalWeight().