
a motion sensitive channel with direction selectivity More...
#include <Channels/DirectionChannel.H>


Public Member Functions | |
| DirectionChannel (OptionManager &mgr, const uint dirIndex, const double direction, const PyramidType type) | |
| Constructor with some parameteres. | |
| virtual | ~DirectionChannel () |
| Destructor. | |
| virtual ImageSet< float > | computePyramid (const Image< float > &bwimg, const rutz::shared_ptr< PyramidCache< float > > &cache) |
| Special version of computePyramid() which may or not take sqrt(). | |
Protected Member Functions | |
| void | start2 () |
| get started | |
Protected Attributes | |
| NModelParam< uint > | itsIndex |
| NModelParam< double > | itsDirection |
| OModelParam< bool > | itsTakeSqrt |
| OModelParam< float > | itsThresh |
a motion sensitive channel with direction selectivity
Definition at line 45 of file DirectionChannel.H.
| DirectionChannel::DirectionChannel | ( | OptionManager & | mgr, | |
| const uint | dirIndex, | |||
| const double | direction, | |||
| 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 the Reichardt motion. |
Definition at line 56 of file DirectionChannel.C.
References OModelParam< T >::getVal(), ModelComponent::setDescriptiveName(), ModelComponent::setTagName(), NModelParam< T >::setVal(), and sformat().
| DirectionChannel::~DirectionChannel | ( | ) | [virtual] |
Destructor.
Definition at line 89 of file DirectionChannel.C.
| ImageSet< float > DirectionChannel::computePyramid | ( | const Image< float > & | bwimg, | |
| const rutz::shared_ptr< PyramidCache< float > > & | cache | |||
| ) | [virtual] |
Special version of computePyramid() which may or not take sqrt().
Reimplemented from SingleChannel.
Definition at line 96 of file DirectionChannel.C.
References doSqrt(), and OModelParam< T >::getVal().
| void DirectionChannel::start2 | ( | ) | [protected, virtual] |
get started
Reimplemented from ModelComponent.
Definition at line 82 of file DirectionChannel.C.
References OModelParam< T >::getVal(), and NModelParam< T >::setVal().
1.6.3