GaborChannel Class Reference

An orientation-tuned gabor channel. More...

#include <Channels/GaborChannel.H>

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

List of all members.

Public Member Functions

 GaborChannel (OptionManager &mgr, const uint oriIndex, const double ang)
 Construct with standard params plus an orientation index for this object.
 GaborChannel (OptionManager &mgr, const uint oriIndex, const double ang, const char *tag, const char *desc)
 Overide the standard tag name.
virtual ~GaborChannel ()
 Destructor.
virtual void readFrom (const ParamMap &pmap)
 Read params from the ParamMap.
virtual void writeTo (ParamMap &pmap) const
 Write params to the ParamMap.
double angle () const
 Get the preferred orientation (in degrees) of this channel.

Protected Member Functions

virtual void start1 ()
void resetPyramid ()

Protected Attributes

NModelParam< uintitsOriIndex
NModelParam< double > itsOrientation
OModelParam< double > itsGaborIntens
OModelParam< OrientComputeTypeitsOriCompType
 determines the type of computation used to compute orientation
OModelParam< bool > itsUseTrigTab

Detailed Description

An orientation-tuned gabor channel.

Definition at line 46 of file GaborChannel.H.


Constructor & Destructor Documentation

GaborChannel::GaborChannel ( OptionManager mgr,
const uint  oriIndex,
const double  ang 
)

Construct with standard params plus an orientation index for this object.

Parameters:
oriIndex is used for various indexing such as with ParamMap and Jet interfacing.
ang is the preferred orientation for this channel, in degrees (0..180).

Definition at line 54 of file GaborChannel.C.

References ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), NModelParam< T >::setVal(), and sformat().

GaborChannel::GaborChannel ( OptionManager mgr,
const uint  oriIndex,
const double  ang,
const char *  tag,
const char *  desc 
)

Overide the standard tag name.

Definition at line 70 of file GaborChannel.C.

References ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), NModelParam< T >::setVal(), and sformat().

GaborChannel::~GaborChannel (  )  [virtual]

Destructor.

Definition at line 92 of file GaborChannel.C.


Member Function Documentation

double GaborChannel::angle (  )  const

Get the preferred orientation (in degrees) of this channel.

Definition at line 128 of file GaborChannel.C.

References NModelParam< T >::getVal().

void GaborChannel::readFrom ( const ParamMap pmap  )  [virtual]
void GaborChannel::start1 (  )  [protected, virtual]

If you overload this, make sure you call SingleChannel::start1() at the beginning of your overload

Reimplemented from SingleChannel.

Definition at line 85 of file GaborChannel.C.

void GaborChannel::writeTo ( ParamMap pmap  )  const [virtual]

Write params to the ParamMap.

Reimplemented from SingleChannel.

Definition at line 120 of file GaborChannel.C.

References OModelParam< T >::getVal(), itsOriCompType, ParamMap::putDoubleParam(), and ParamMap::putIntParam().


Member Data Documentation

determines the type of computation used to compute orientation

see OrientComputeTypes.H for possible values.

Definition at line 75 of file GaborChannel.H.

Referenced by readFrom(), and writeTo().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:20 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3