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

GaborChannel Class Reference

#include <Channels/GaborChannel.H>

Inheritance diagram for GaborChannel:

Inheritance graph
[legend]
Collaboration diagram for GaborChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

An orientation-tuned gabor channel.

Definition at line 46 of file GaborChannel.H.

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


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 SingleChannel::itsNormalizeOutput, 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 SingleChannel::itsNormalizeOutput, 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(), and itsOrientation.

void GaborChannel::readFrom const ParamMap pmap  )  [virtual]
 

Read params from the ParamMap.

Reimplemented from SingleChannel.

Definition at line 96 of file GaborChannel.C.

References ParamMap::CHANGED, OModelParam< T >::getVal(), itsGaborIntens, itsOriCompType, ParamMap::queryDoubleParam(), ParamMap::queryIntParam(), SingleChannel::readFrom(), resetPyramid(), and OModelParam< T >::setVal().

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.

References resetPyramid(), and SingleChannel::start1().

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(), itsGaborIntens, itsOriCompType, ParamMap::putDoubleParam(), ParamMap::putIntParam(), and SingleChannel::writeTo().


Member Data Documentation

OModelParam<OrientComputeType> GaborChannel::itsOriCompType [protected]
 

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(), resetPyramid(), and writeTo().


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