SOColorChannel Class Reference

#include <Channels/SOColorChannel.H>

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

List of all members.

Public Member Functions

 SOColorChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~SOColorChannel ()
 Destructor.
virtual SORedGreenChannelrg () const
 Get access the single opponent RedGreenChannel subchannel.
virtual SOGreenRedChannelgr () const
 Get access the single opponent GreenRedChannel subchannel.
virtual SOBlueYellowChannelby () const
 Get access to the single opponent BlueYellowChannel subchannel.
virtual SOYellowBlueChannelyb () const
 Get access to the single opponent YellowBlueChannel subchannel.
virtual RedChannelr () const
 Get access the RedChannel subchannel.
virtual GreenChannelg () const
 Get access the GreenChannel subchannel.
virtual BlueChannelb () const
 Get access to the BlueChannel subchannel.
virtual YellowChannely () const
 Get access to the YellowChannel subchannel.

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 SOColorChannel requires only color input.
void setRG (nub::ref< SORedGreenChannel > RG)
void setGR (nub::ref< SOGreenRedChannel > GR)
void setBY (nub::ref< SOBlueYellowChannel > BY)
void setYB (nub::ref< SOYellowBlueChannel > YB)
void setR (nub::ref< RedChannel > R)
void setG (nub::ref< GreenChannel > G)
void setB (nub::ref< BlueChannel > B)
void setY (nub::ref< YellowChannel > Y)

Protected Attributes

NModelParam< float > itsLumThresh
 Luminance threshold (see getRGBY()).

Detailed Description

A single opponent color channel class that combines r/g, g/r, b/y and y/b 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 60 of file SOColorChannel.H.


Constructor & Destructor Documentation

SOColorChannel::SOColorChannel ( OptionManager mgr  ) 

Construct with standard params.

Definition at line 57 of file SOColorChannel.C.

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

SOColorChannel::~SOColorChannel (  )  [virtual]

Destructor.

Definition at line 100 of file SOColorChannel.C.


Member Function Documentation

BlueChannel & SOColorChannel::b (  )  const [virtual]

Get access to the BlueChannel subchannel.

Definition at line 96 of file SOColorChannel.C.

Referenced by doInput().

SOBlueYellowChannel & SOColorChannel::by (  )  const [virtual]

Get access to the single opponent BlueYellowChannel subchannel.

Definition at line 92 of file SOColorChannel.C.

Referenced by doInput().

void SOColorChannel::doInput ( const InputFrame inframe  )  [protected, virtual]
GreenChannel & SOColorChannel::g (  )  const [virtual]

Get access the GreenChannel subchannel.

Definition at line 95 of file SOColorChannel.C.

Referenced by doInput().

SOGreenRedChannel & SOColorChannel::gr (  )  const [virtual]

Get access the single opponent GreenRedChannel subchannel.

Definition at line 91 of file SOColorChannel.C.

Referenced by doInput().

RedChannel & SOColorChannel::r (  )  const [virtual]

Get access the RedChannel subchannel.

Definition at line 94 of file SOColorChannel.C.

Referenced by doInput().

SORedGreenChannel & SOColorChannel::rg (  )  const [virtual]

Get access the single opponent RedGreenChannel subchannel.

Definition at line 90 of file SOColorChannel.C.

Referenced by doInput().

YellowChannel & SOColorChannel::y (  )  const [virtual]

Get access to the YellowChannel subchannel.

Definition at line 97 of file SOColorChannel.C.

Referenced by doInput().

SOYellowBlueChannel & SOColorChannel::yb (  )  const [virtual]

Get access to the single opponent YellowBlueChannel subchannel.

Definition at line 93 of file SOColorChannel.C.

Referenced by doInput().


Member Data Documentation

Luminance threshold (see getRGBY()).

Definition at line 94 of file SOColorChannel.H.

Referenced by doInput().


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