A composite color channel class that contains single and double ! More...
#include <Channels/CompositeColorChannel.H>
Public Member Functions | |
CompositeColorChannel (OptionManager &mgr) | |
virtual | ~CompositeColorChannel () |
Destructor. | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
Computes the double and single opponent color channels. | |
virtual void | start1 () |
get started | |
Protected Attributes | |
OModelParam< double > | itsDoubleOppWeight |
member color channels | |
OModelParam< double > | itsSingleOppWeight |
nub::ref< ColorChannel > | itsDoubleOppChan |
nub::ref< SOColorChannel > | itsSingleOppChan |
A composite color channel class that contains single and double !
Definition at line 51 of file CompositeColorChannel.H.
CompositeColorChannel::CompositeColorChannel | ( | OptionManager & | mgr | ) |
Construct with standard params. and weight of the double opponent and single opponent channels
Definition at line 49 of file CompositeColorChannel.C.
References ComplexChannel::addSubChan(), and ComplexChannel::setSubchanTotalWeight().
CompositeColorChannel::~CompositeColorChannel | ( | ) | [virtual] |
Destructor.
Definition at line 65 of file CompositeColorChannel.C.
void CompositeColorChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
Computes the double and single opponent color channels.
Implements ChannelBase.
Definition at line 68 of file CompositeColorChannel.C.
References ComplexChannel::numChans(), and ComplexChannel::subChan().
void CompositeColorChannel::start1 | ( | ) | [protected, virtual] |
get started
Reimplemented from ComplexChannel.
Definition at line 77 of file CompositeColorChannel.C.
References OModelParam< T >::getVal(), itsDoubleOppWeight, and ComplexChannel::setSubchanTotalWeight().
OModelParam<double> CompositeColorChannel::itsDoubleOppWeight [protected] |
member color channels
Definition at line 68 of file CompositeColorChannel.H.
Referenced by start1().