#include <Channels/DirectionSpatioTemporalChannel.H>
Public Member Functions | |
DirectionSpatioTemporalChannel (OptionManager &mgr, const uint dirIndex, const uint speedIndex, const double direction, const double speed, const PyramidType type) | |
Constructor with some parameteres. | |
virtual | ~DirectionSpatioTemporalChannel () |
Destructor. | |
virtual ImageSet< float > | computePyramid (const Image< float > &bwimg, const rutz::shared_ptr< PyramidCache< float > > &cache) |
Special version of computePyramid(). | |
ImageSet< float > | getSpatioTemporalEnergy () |
void | setMTfeatureMap (Image< float > mtFeat) |
Image< float > | getRawCSmap (const uint idx) const |
get raw CS map; part of getSubmap() | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
DirectionSpatioTemporalChannel requires only luminance input. | |
void | start1 () |
get started | |
void | start2 () |
get started | |
Protected Attributes | |
NModelParam< uint > | itsDirIndex |
NModelParam< uint > | itsSpeedIndex |
NModelParam< double > | itsDirection |
NModelParam< double > | itsSpeed |
ImageSet< float > | itsSpatioTemporalEnergy |
spatiotemporal energy maps | |
rutz::shared_ptr < SpatioTemporalEnergyPyrBuilder < float > > | itsSpatioTemporalPyrBuilder |
Image< float > | itsMTfeatureMap |
a motion sensitive channel with direction selectivity uses spatiotemporal filters
Definition at line 50 of file DirectionSpatioTemporalChannel.H.
DirectionSpatioTemporalChannel::DirectionSpatioTemporalChannel | ( | OptionManager & | mgr, | |
const uint | dirIndex, | |||
const uint | speedIndex, | |||
const double | direction, | |||
const double | speed, | |||
const PyramidType | type | |||
) |
Constructor with some parameteres.
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 SpatioTemporal Energy. |
Definition at line 60 of file DirectionSpatioTemporalChannel.C.
DirectionSpatioTemporalChannel::~DirectionSpatioTemporalChannel | ( | ) | [virtual] |
Destructor.
Definition at line 107 of file DirectionSpatioTemporalChannel.C.
ImageSet< float > DirectionSpatioTemporalChannel::computePyramid | ( | const Image< float > & | bwimg, | |
const rutz::shared_ptr< PyramidCache< float > > & | cache | |||
) | [virtual] |
Special version of computePyramid().
Reimplemented from SingleChannel.
Definition at line 114 of file DirectionSpatioTemporalChannel.C.
References itsSpatioTemporalEnergy.
void DirectionSpatioTemporalChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
DirectionSpatioTemporalChannel requires only luminance input.
Reimplemented from SingleChannel.
Definition at line 128 of file DirectionSpatioTemporalChannel.C.
References ASSERT, image, Image< T >::initialized(), itsSpatioTemporalEnergy, SingleChannel::setClipPyramid(), ModelComponent::started(), and SingleChannel::storePyramid().
get raw CS map; part of getSubmap()
Reimplemented from SingleChannel.
Definition at line 156 of file DirectionSpatioTemporalChannel.C.
References downSize(), SingleChannel::getMapDims(), OModelParam< T >::getVal(), itsMTfeatureMap, maxNormalize(), MAXNORMMAX, and MAXNORMMIN.
void DirectionSpatioTemporalChannel::start1 | ( | ) | [protected, virtual] |
get started
Reimplemented from SingleChannel.
Definition at line 93 of file DirectionSpatioTemporalChannel.C.
References OModelParam< T >::setVal().
void DirectionSpatioTemporalChannel::start2 | ( | ) | [protected, virtual] |
get started
Reimplemented from ModelComponent.
Definition at line 101 of file DirectionSpatioTemporalChannel.C.
Image<float> DirectionSpatioTemporalChannel::itsMTfeatureMap [protected] |
the final MT feature map this is after the directional competition
Definition at line 100 of file DirectionSpatioTemporalChannel.H.
Referenced by getRawCSmap().
ImageSet<float> DirectionSpatioTemporalChannel::itsSpatioTemporalEnergy [protected] |
spatiotemporal energy maps
Definition at line 94 of file DirectionSpatioTemporalChannel.H.
Referenced by computePyramid(), and doInput().