RGBConvolveChannel Class Reference

A generic convolution channel using color filters. More...

#include <Channels/RGBConvolveChannel.H>

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

List of all members.

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

Detailed Description

A generic convolution channel using color filters.

Definition at line 46 of file RGBConvolveChannel.H.


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 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 OModelParam< T >::getVal(), 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, computePyramid(), Image< T >::initialized(), SingleChannel::setClipPyramid(), and SingleChannel::storePyramid().

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 Sun May 8 08:43:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3