Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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.

Detailed Description

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.

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()).


Constructor & Destructor Documentation

SOColorChannel::SOColorChannel OptionManager mgr  ) 
 

Construct with standard params.

Definition at line 57 of file SOColorChannel.C.

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

SOColorChannel::~SOColorChannel  )  [virtual]
 

Destructor.

Definition at line 100 of file SOColorChannel.C.

References GVX_TRACE.


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]
 

SOColorChannel requires only color input.

Implements ChannelBase.

Definition at line 106 of file SOColorChannel.C.

References ASSERT, b(), by(), InputFrame::clipMask(), InputFrame::colorFloat(), InputFrame::fromGrayFloat(), g(), InputFrame::getDims(), getRGBY(), NModelParam< T >::getVal(), gr(), GVX_TRACE, Image< T >::initialized(), itsLumThresh, LINFO, InputFrame::pyrCache(), r(), rg(), SingleOpponentChannel::singleOpponentInput(), InputFrame::time(), y(), and yb().

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

NModelParam<float> SOColorChannel::itsLumThresh [protected]
 

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 Mon Nov 23 15:51:11 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4