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

DirectionChannel Class Reference

#include <Channels/DirectionChannel.H>

Inheritance diagram for DirectionChannel:

Inheritance graph
[legend]
Collaboration diagram for DirectionChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

a motion sensitive channel with direction selectivity

Definition at line 45 of file DirectionChannel.H.

Public Member Functions

 DirectionChannel (OptionManager &mgr, const uint dirIndex, const double direction, const PyramidType type)
 Constructor with some parameteres.
virtual ~DirectionChannel ()
 Destructor.
virtual ImageSet< float > computePyramid (const Image< float > &bwimg, const rutz::shared_ptr< PyramidCache< float > > &cache)
 Special version of computePyramid() which may or not take sqrt().

Protected Member Functions

void start2 ()
 get started

Protected Attributes

NModelParam< uintitsIndex
NModelParam< double > itsDirection
OModelParam< bool > itsTakeSqrt
OModelParam< float > itsThresh


Constructor & Destructor Documentation

DirectionChannel::DirectionChannel OptionManager mgr,
const uint  dirIndex,
const double  direction,
const PyramidType  type
 

Constructor with some parameteres.

Parameters:
dirIndex is the channel's index, used in Param and Jet access
direction is the preferred direction in degrees (0..360)
type the type of the pyramid used for computing the Reichardt motion.

Definition at line 56 of file DirectionChannel.C.

References OModelParam< T >::getVal(), GVX_TRACE, SingleChannel::itsLowThresh, SingleChannel::itsNormalizeOutput, SingleChannel::itsRectifyPyramid, SingleChannel::itsScaleNoiseToMax, SingleChannel::itsTakeAbs, itsThresh, ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), NModelParam< T >::setVal(), and sformat().

DirectionChannel::~DirectionChannel  )  [virtual]
 

Destructor.

Definition at line 89 of file DirectionChannel.C.

References GVX_TRACE.


Member Function Documentation

ImageSet< float > DirectionChannel::computePyramid const Image< float > &  bwimg,
const rutz::shared_ptr< PyramidCache< float > > &  cache
[virtual]
 

Special version of computePyramid() which may or not take sqrt().

Reimplemented from SingleChannel.

Definition at line 96 of file DirectionChannel.C.

References cache, SingleChannel::computePyramid(), doSqrt(), OModelParam< T >::getVal(), GVX_TRACE, and itsTakeSqrt.

void DirectionChannel::start2  )  [protected, virtual]
 

get started

Reimplemented from ModelComponent.

Definition at line 82 of file DirectionChannel.C.

References OModelParam< T >::getVal(), GVX_TRACE, SingleChannel::itsLowThresh, itsThresh, and NModelParam< T >::setVal().


The documentation for this class was generated from the following files:
Generated on Sat Nov 7 13:35:14 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4