ColorChannel Class Reference

A double opponent color channel class that combines r/g, b/y subchannels. More...

#include <Channels/ColorChannel.H>

Inheritance diagram for ColorChannel:
Inheritance graph
[legend]
Collaboration diagram for ColorChannel:
Collaboration graph
[legend]

List of all members.

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 RedGreenChannelrg () const
 Get access the RedGreenChannel subchannel.
virtual GreenRedChannelgr () const
virtual BlueYellowChannelby () const
 Get access to the BlueYellowChannel subchannel.
virtual YellowBlueChannelyb () 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< ColorComputeTypeitsMethod

Detailed Description

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 57 of file ColorChannel.H.


Constructor & Destructor Documentation

ColorChannel::ColorChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 56 of file ColorChannel.C.

References ComplexChannel::addSubChan(), and ModelComponent::getManager().

ColorChannel::~ColorChannel (  )  [virtual]

Destructor.

Definition at line 137 of file ColorChannel.C.


Member Function Documentation

BlueYellowChannel & ColorChannel::by (  )  const [virtual]

Get access to the BlueYellowChannel subchannel.

Definition at line 116 of file ColorChannel.C.

void ColorChannel::doInput ( const InputFrame inframe  )  [protected, virtual]
void ColorChannel::paramChanged ( ModelParamBase *const   param,
const bool  valueChanged,
ParamClient::ChangeStatus status 
) [virtual]

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(), and ComplexChannel::removeAllSubChans().

RedGreenChannel & ColorChannel::rg (  )  const [virtual]

Get access the RedGreenChannel subchannel.

Definition at line 109 of file ColorChannel.C.

void ColorChannel::setBY ( nub::ref< BlueYellowChannel by  )  [protected]

Install a different blue/yellow channel.

Definition at line 199 of file ColorChannel.C.

References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan().

void ColorChannel::setGR ( nub::ref< GreenRedChannel gr  )  [protected]

Install a different red/green channel.

Definition at line 207 of file ColorChannel.C.

References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan().

void ColorChannel::setRG ( nub::ref< RedGreenChannel rg  )  [protected]

Install a different red/green channel.

Definition at line 191 of file ColorChannel.C.

References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan().

void ColorChannel::setYB ( nub::ref< YellowBlueChannel yb  )  [protected]

Install a different blue/yellow channel.

Definition at line 215 of file ColorChannel.C.

References ComplexChannel::addSubChan(), and ComplexChannel::removeSubChan().


Member Data Documentation

Luminance threshold (see getRGBY()).

Definition at line 82 of file ColorChannel.H.

Referenced by doInput().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:16 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3