
#include <Channels/ScorrChannel.H>
Inheritance diagram for ScorrChannel:


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 | |
|
|
Construct with standard params.
Definition at line 51 of file ScorrChannel.C. |
|
|
Destructor.
Definition at line 59 of file ScorrChannel.C. |
|
|
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. |
|
|
special output function
Reimplemented from SingleChannel. Definition at line 141 of file ScorrChannel.C. References itsMap. |
|
|
overload
Reimplemented from SingleChannel. Definition at line 63 of file ScorrChannel.C. References Image< T >::initialized(), and itsMap. |
|
|
our temporal correlation map
Definition at line 73 of file ScorrChannel.H. Referenced by doInput(), getOutput(), and outputAvailable(). |
|
|
Radius (in saliency map pixels).
Definition at line 65 of file ScorrChannel.H. Referenced by doInput(). |
1.4.4