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

RGBConvolveChannel Class Reference

#include <Channels/RGBConvolveChannel.H>

Inheritance diagram for RGBConvolveChannel:

Inheritance graph
[legend]
Collaboration diagram for RGBConvolveChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

A generic convolution channel using color filters.

Definition at line 46 of file RGBConvolveChannel.H.

Public Member Functions

 RGBConvolveChannel (OptionManager &mgr)
 Construct with standard params. Will need to set the 3 filters.
void setFilters (const Image< float > &rfilter, const Image< float > &gfilter, const Image< float > &bfilter, ConvolutionBoundaryStrategy boundary)
 Set the 3 filters to use for convolutions.
virtual ~RGBConvolveChannel ()
 Destructor.

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 SingleChannel requires only luminance input.
virtual ImageSet< float > computePyramid (const Image< PixRGB< float > > &img, const rutz::shared_ptr< PyramidCache< float > > &cache)
 compute from a color image


Constructor & Destructor Documentation

RGBConvolveChannel::RGBConvolveChannel OptionManager mgr  ) 
 

Construct with standard params. Will need to set the 3 filters.

Definition at line 47 of file RGBConvolveChannel.C.

References SingleChannel::itsNormalizeOutput, SingleChannel::itsTakeAbs, and NModelParam< T >::setVal().

RGBConvolveChannel::~RGBConvolveChannel  )  [virtual]
 

Destructor.

Definition at line 65 of file RGBConvolveChannel.C.


Member Function Documentation

ImageSet< float > RGBConvolveChannel::computePyramid const Image< PixRGB< float > > &  img,
const rutz::shared_ptr< PyramidCache< float > > &  cache
[protected, virtual]
 

compute from a color image

Definition at line 77 of file RGBConvolveChannel.C.

References cache, rutz::shared_ptr< T >::dynCastFrom(), OModelParam< T >::getVal(), SingleChannel::itsLevelSpec, SingleChannel::itsSaveRawMaps, LevelSpec::levMin(), and LevelSpec::maxDepth().

Referenced by doInput().

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

SingleChannel requires only luminance input.

Reimplemented from SingleChannel.

Definition at line 67 of file RGBConvolveChannel.C.

References ASSERT, InputFrame::clipMask(), InputFrame::colorFloat(), computePyramid(), Image< T >::initialized(), InputFrame::pyrCache(), SingleChannel::setClipPyramid(), SingleChannel::storePyramid(), and InputFrame::time().

void RGBConvolveChannel::setFilters const Image< float > &  rfilter,
const Image< float > &  gfilter,
const Image< float > &  bfilter,
ConvolutionBoundaryStrategy  boundary
 

Set the 3 filters to use for convolutions.

Definition at line 55 of file RGBConvolveChannel.C.

References rutz::make_shared(), and SingleChannel::setPyramid().


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