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


Definition at line 175 of file DirectFeedChannel.H.
Public Member Functions | |
| MultiDirectFeedChannel (OptionManager &mgr, uint num=1) | |
| Constructor. | |
| virtual | ~MultiDirectFeedChannel () |
| Virtual destructor. | |
| virtual void | setNumChans (uint num) |
| reset the number of sub-channels | |
| void | inputPyramid (uint ChanNum, const ImageSet< float > &pyramid, const SimTime &t) |
| Send an already computed pyramid as input to the sub-channel num. | |
| void | inputPyramidVector (const PyrVec &pvec, const SimTime &t) |
| Send a vector of already computed pyramids as inputs to the channels. | |
| DirectFeedChannel & | directFeed (uint num) |
| returns sub-channel number num | |
Protected Member Functions | |
| virtual Image< float > | combineOutputs () |
| Combines the outputs of subchannels. | |
| virtual void | doInput (const InputFrame &inframe) |
| must be called with either colimg or bwimg to obtain the dims | |
|
||||||||||||
|
Constructor.
Definition at line 289 of file DirectFeedChannel.C. References setNumChans(). |
|
|
Virtual destructor.
Definition at line 296 of file DirectFeedChannel.C. |
|
|
Combines the outputs of subchannels.
Reimplemented from ComplexChannel. Definition at line 345 of file DirectFeedChannel.C. References ASSERT, directFeed(), ComplexChannel::getMapDims(), DirectFeedChannel::getOutput(), OModelParam< T >::getVal(), i, ComplexChannel::itsNormType, ComplexChannel::itsOutputRangeMax, ComplexChannel::itsOutputRangeMin, maxNormalize(), ComplexChannel::numChans(), output(), and ZEROS. |
|
|
returns sub-channel number num
Definition at line 337 of file DirectFeedChannel.C. References ASSERT, ComplexChannel::numChans(), and ComplexChannel::subChan(). Referenced by combineOutputs(), doInput(), and inputPyramid(). |
|
|
must be called with either colimg or bwimg to obtain the dims After each call of input, inputPyramidVector or inputPyramid must be called. Implements ChannelBase. Definition at line 363 of file DirectFeedChannel.C. References ASSERT, InputFrame::colorFloat(), directFeed(), InputFrame::grayFloat(), i, Image< T >::initialized(), ChannelBase::input(), and ComplexChannel::numChans(). |
|
||||||||||||||||
|
Send an already computed pyramid as input to the sub-channel num.
Definition at line 319 of file DirectFeedChannel.C. References ASSERT, directFeed(), DirectFeedChannel::inputPyramid(), and ComplexChannel::numChans(). Referenced by inputPyramidVector(). |
|
||||||||||||
|
Send a vector of already computed pyramids as inputs to the channels.
Definition at line 328 of file DirectFeedChannel.C. References ASSERT, i, inputPyramid(), and ComplexChannel::numChans(). |
|
|
reset the number of sub-channels
Definition at line 300 of file DirectFeedChannel.C. References ComplexChannel::addSubChan(), ModelComponent::getManager(), i, LFATAL, makeSharedComp(), ComplexChannel::numChans(), and ModelComponent::removeSubComponent(). Referenced by MultiDirectFeedChannel(). |
1.4.4