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

ScorrChannel Class Reference

#include <Channels/ScorrChannel.H>

Inheritance diagram for ScorrChannel:

Inheritance graph
[legend]
Collaboration diagram for ScorrChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

A spatial correlation channel.

Spatial correlation is computed at every location between the local patch and other patches at a given radius from the local patch. Radius is given in saliency map pixels. Note that in this channel, high 'salience' means low spatial correlation, i.e., lots of change. CAUTION: this channel will throw a fatal exception if your LevelSpec contains more than one level or if that level is different from the maplevel or if the deltas are non-zero.

Definition at line 52 of file ScorrChannel.H.

Public Member Functions

 ScorrChannel (OptionManager &mgr)
 Construct with standard params.
virtual ~ScorrChannel ()
 Destructor.
virtual bool outputAvailable () const
 overload

Protected Member Functions

virtual void doInput (const InputFrame &inframe)
 special input function
virtual Image< float > getOutput ()
 special output function

Protected Attributes

OModelParam< int > itsRadius
 Radius (in saliency map pixels).
Image< float > itsMap
 our temporal correlation map


Constructor & Destructor Documentation

ScorrChannel::ScorrChannel OptionManager mgr  ) 
 

Construct with standard params.

Definition at line 51 of file ScorrChannel.C.

ScorrChannel::~ScorrChannel  )  [virtual]
 

Destructor.

Definition at line 59 of file ScorrChannel.C.


Member Function Documentation

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

special input function

Reimplemented from SingleChannel.

Definition at line 72 of file ScorrChannel.C.

References ACCUMCORR, ASSERT, Image< T >::beginw(), Image< T >::clear(), LevelSpec::delMax(), LevelSpec::delMin(), Image< T >::getHeight(), OModelParam< T >::getVal(), Image< T >::getWidth(), InputFrame::grayFloat(), Point2D< T >::i, i, Image< T >::initialized(), SingleChannel::itsLevelSpec, itsMap, itsRadius, Point2D< T >::j, LevelSpec::levMax(), LevelSpec::levMin(), LevelSpec::mapLevel(), n, NO_INIT, pp, Image< T >::resize(), x, and y.

Image< float > ScorrChannel::getOutput  )  [protected, virtual]
 

special output function

Reimplemented from SingleChannel.

Definition at line 141 of file ScorrChannel.C.

References itsMap.

bool ScorrChannel::outputAvailable  )  const [virtual]
 

overload

Reimplemented from SingleChannel.

Definition at line 63 of file ScorrChannel.C.

References Image< T >::initialized(), and itsMap.


Member Data Documentation

Image<float> ScorrChannel::itsMap [protected]
 

our temporal correlation map

Definition at line 73 of file ScorrChannel.H.

Referenced by doInput(), getOutput(), and outputAvailable().

OModelParam<int> ScorrChannel::itsRadius [protected]
 

Radius (in saliency map pixels).

Definition at line 65 of file ScorrChannel.H.

Referenced by doInput().


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