


Definition at line 43 of file SingleOpponentChannel.H.
Public Member Functions | |
| SingleOpponentChannel (OptionManager &mgr, const std::string &descrName, const std::string &tagName, const VisualFeature vs, rutz::shared_ptr< PyrBuilder< float > > pyr) | |
| Constructor. See ChannelBase.H. | |
| virtual void | reset1 () |
| Reset SingleOpponentChannel. | |
| virtual Image< float > | centerSurround (const uint cntr, const uint surr) const |
| Get the center/surround image for the given levels. | |
| virtual void | centerSurround (const uint cntr, const uint surr, Image< float > &pos, Image< float > &neg) const |
| Get the center/surround, split into positive and negative parts. | |
| virtual void | getFeatures (const Point2D< int > &locn, std::vector< float > &mean) const |
| virtual void | getFeaturesBatch (std::vector< Point2D< int > * > *locn, std::vector< std::vector< float > > *mean, int *count) const |
| void | singleOpponentInput (const Dims &dims, const ImageSet< float > ¢erPyr, const ImageSet< float > &surroundPyr, const SimTime &t, const Image< byte > &clipMask) |
| Single-opponent SingleChannel requires center and surround pyramids. | |
Protected Member Functions | |
| void | storePyramid2 (const ImageSet< float > &p, const SimTime &t) |
| Stores p as the channel's surround pyramid at time t. | |
|
||||||||||||||||||||||||
|
Constructor. See ChannelBase.H.
Definition at line 49 of file SingleOpponentChannel.C. |
|
||||||||||||||||||||
|
Get the center/surround, split into positive and negative parts.
Reimplemented from SingleChannel. Definition at line 110 of file SingleOpponentChannel.C. References ASSERT, centerSurroundDiffSingleOpponent(), centerSurroundSingleOpponent(), SingleChannel::clipPyramid(), LevelSpec::csOK(), exp(), OModelParam< T >::getVal(), GVX_TRACE, i, SingleChannel::itsLevelSpec, SingleChannel::itsTimeDecay, LFATAL, SingleChannel::pyramid(), SingleChannel::pyramidTime(), SimTime::secs(), and t. |
|
||||||||||||
|
Get the center/surround image for the given levels.
Reimplemented from SingleChannel. Definition at line 68 of file SingleOpponentChannel.C. References ASSERT, centerSurroundDiffSingleOpponent(), centerSurroundSingleOpponent(), SingleChannel::clipPyramid(), LevelSpec::csOK(), exp(), NModelParam< T >::getVal(), OModelParam< T >::getVal(), GVX_TRACE, i, SingleChannel::itsLevelSpec, SingleChannel::itsTakeAbs, SingleChannel::itsTimeDecay, LFATAL, SingleChannel::pyramid(), SingleChannel::pyramidTime(), SimTime::secs(), and t. |
|
|
Reset SingleOpponentChannel.
Reimplemented from SingleChannel. Definition at line 60 of file SingleOpponentChannel.C. References SingleChannel::reset1(). |
|
||||||||||||||||||||||||
|
Single-opponent SingleChannel requires center and surround pyramids.
Definition at line 247 of file SingleOpponentChannel.C. References GVX_TRACE, SingleChannel::killCaches(), SingleChannel::setClipPyramid(), ChannelBase::setInputDims(), SingleChannel::storePyramid(), and storePyramid2(). Referenced by SOColorChannel::doInput(). |
|
||||||||||||
|
Stores p as the channel's surround pyramid at time t.
Definition at line 262 of file SingleOpponentChannel.C. References ASSERT, CLFATAL, OModelParam< T >::getVal(), GVX_TRACE, isDyadic(), SingleChannel::itsLevelSpec, SingleChannel::itsQlen, LevelSpec::levMin(), and LevelSpec::maxDepth(). Referenced by singleOpponentInput(). |
1.4.4