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

CIELabChannel Class Reference

#include <Channels/CIELabChannel.H>

Inheritance diagram for CIELabChannel:

Inheritance graph
[legend]
Collaboration diagram for CIELabChannel:

Collaboration graph
[legend]
List of all members.

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 CIELabChannel.H.

Public Member Functions

 CIELabChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~CIELabChannel ()
 Destructor.
virtual ValueIntensityChannelL () const
 Get access the Luminance subchannel.
virtual Hue1ChannelA () const
 Get access to the Red-Green Hue subchannel.
virtual Hue2ChannelB () const
 Get access to the Blue-Yellow Hue subchannel.

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 ColorChannel requires only color input.
void setL (nub::ref< ValueIntensityChannel > L)
 Install a different value intensity channel.
void setA (nub::ref< Hue1Channel > A)
 Install a different H1 red/green channel.
void setB (nub::ref< Hue2Channel > B)
 Install a different H2 blue/yellow channel.


Constructor & Destructor Documentation

CIELabChannel::CIELabChannel OptionManager mgr  ) 
 

Construct with standard params.

Definition at line 55 of file CIELabChannel.C.

References ComplexChannel::addSubChan(), and GVX_TRACE.

CIELabChannel::~CIELabChannel  )  [virtual]
 

Destructor.

Definition at line 89 of file CIELabChannel.C.

References GVX_TRACE.


Member Function Documentation

Hue1Channel & CIELabChannel::A  )  const [virtual]
 

Get access to the Red-Green Hue subchannel.

Definition at line 75 of file CIELabChannel.C.

References GVX_TRACE.

Hue2Channel & CIELabChannel::B  )  const [virtual]
 

Get access to the Blue-Yellow Hue subchannel.

Definition at line 82 of file CIELabChannel.C.

References GVX_TRACE.

void CIELabChannel::doInput const InputFrame inframe  )  [protected, virtual]
 

ColorChannel requires only color input.

Implements ChannelBase.

Definition at line 95 of file CIELabChannel.C.

References ASSERT, Image< T >::begin(), Image< T >::beginw(), InputFrame::clipMask(), InputFrame::colorFloat(), Image< T >::end(), InputFrame::fromGrayFloat(), InputFrame::getDims(), GVX_TRACE, Image< T >::initialized(), LINFO, Pixels< T, 3 >::p, InputFrame::pyrCache(), Image< T >::resize(), and InputFrame::time().

ValueIntensityChannel & CIELabChannel::L  )  const [virtual]
 

Get access the Luminance subchannel.

Definition at line 68 of file CIELabChannel.C.

References GVX_TRACE.

void CIELabChannel::setA nub::ref< Hue1Channel A  )  [protected]
 

Install a different H1 red/green channel.

Definition at line 146 of file CIELabChannel.C.

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

void CIELabChannel::setB nub::ref< Hue2Channel B  )  [protected]
 

Install a different H2 blue/yellow channel.

Definition at line 154 of file CIELabChannel.C.

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

void CIELabChannel::setL nub::ref< ValueIntensityChannel L  )  [protected]
 

Install a different value intensity channel.

Definition at line 138 of file CIELabChannel.C.

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


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:50:05 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4