A composite channel containing a set of orientation-tuned gabor channels. More...
#include <Channels/IntegerOrientationChannel.H>
Public Member Functions | |
IntegerOrientationChannel (OptionManager &mgr, nub::ref< IntegerMathEngine > eng) | |
Construct with standard params. | |
virtual | ~IntegerOrientationChannel () |
Destructor. | |
virtual IntegerSimpleChannel & | gabor (const uint idx) const |
Wraps ComplexChannel's subChan() and casts the result to GaborChannel. | |
virtual void | paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status) |
Overload so that we can reconfigure when our params get changed. | |
Protected Member Functions | |
virtual void | buildSubChans () |
(re-)build our subchannels | |
virtual void | doInputInt (const IntegerInput &inp, const SimTime &t, PyramidCache< int > *cache, const Image< byte > &clipMask) |
Protected Attributes | |
OModelParam< uint > | itsNumOrients |
number of Gabor subchannels |
A composite channel containing a set of orientation-tuned gabor channels.
Definition at line 47 of file IntegerOrientationChannel.H.
IntegerOrientationChannel::IntegerOrientationChannel | ( | OptionManager & | mgr, | |
nub::ref< IntegerMathEngine > | eng | |||
) |
Construct with standard params.
Definition at line 59 of file IntegerOrientationChannel.C.
References buildSubChans().
IntegerOrientationChannel::~IntegerOrientationChannel | ( | ) | [virtual] |
Destructor.
Definition at line 121 of file IntegerOrientationChannel.C.
void IntegerOrientationChannel::buildSubChans | ( | ) | [protected, virtual] |
(re-)build our subchannels
Definition at line 72 of file IntegerOrientationChannel.C.
References IntegerComplexChannel::addSubChan(), ModelComponent::getManager(), OModelParam< T >::getVal(), itsNumOrients, rutz::make_shared(), MC_RECURSE, IntegerComplexChannel::removeAllSubChans(), sformat(), and UNKNOWN.
Referenced by IntegerOrientationChannel(), and paramChanged().
IntegerSimpleChannel & IntegerOrientationChannel::gabor | ( | const uint | idx | ) | const [virtual] |
Wraps ComplexChannel's subChan() and casts the result to GaborChannel.
Definition at line 127 of file IntegerOrientationChannel.C.
References IntegerComplexChannel::subChan().
void IntegerOrientationChannel::paramChanged | ( | ModelParamBase *const | param, | |
const bool | valueChanged, | |||
ParamClient::ChangeStatus * | status | |||
) | [virtual] |
Overload so that we can reconfigure when our params get changed.
Reimplemented from ModelComponent.
Definition at line 107 of file IntegerOrientationChannel.C.
References buildSubChans(), and itsNumOrients.
OModelParam<uint> IntegerOrientationChannel::itsNumOrients [protected] |
number of Gabor subchannels
Definition at line 66 of file IntegerOrientationChannel.H.
Referenced by buildSubChans(), and paramChanged().