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


Definition at line 52 of file ForegroundDetectionChannel.H.
Public Member Functions | |
| ForegroundDetectionChannel (OptionManager &mgr) | |
| Constructor. | |
| virtual bool | outputAvailable () const |
| overload | |
| virtual | ~ForegroundDetectionChannel () |
| Virtual destructor. | |
| virtual uint | numSubmaps () const |
| Return the number of feature maps represented by this channel. | |
| virtual Image< float > | getSubmap (const uint index) const |
| Get the foreground detection map. | |
| virtual Image< float > | getRawCSmap (const uint idx) const |
| Bogus function that just returns a blank image so that. | |
| virtual std::string | getSubmapName (const uint index) const |
| Get the name/description of the feature map at the given index. | |
| virtual void | doInput (const InputFrame &inframe) |
| special input function | |
| virtual Image< float > | getOutput () |
| special output function | |
| virtual Dims | getMapDims () const |
| Return the dimensions of the output image. | |
| 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 |
Protected Attributes | |
| Image< float > | itsForegroundMap |
| Image< float > | itsMap |
| The probability map of foreground objects. | |
| OModelParam< LevelSpec > | itsLevelSpec |
| The rescaled output map - for now just the foreground map. | |
|
|
Constructor.
Definition at line 51 of file ForegroundDetectionChannel.C. References LFATAL. |
|
|
Virtual destructor.
Definition at line 64 of file ForegroundDetectionChannel.C. |
|
|
special input function
Reimplemented from SingleChannel. Definition at line 107 of file ForegroundDetectionChannel.C. References ASSERT, InputFrame::colorByte(), Image< T >::deepcopy(), getMinMax(), img2ipl(), Image< T >::initialized(), ipl2gray(), itsForegroundMap, itsMap, LINFO, and rescale(). |
|
|
Return the dimensions of the output image.
Reimplemented from SingleChannel. Definition at line 78 of file ForegroundDetectionChannel.C. References ChannelBase::getInputDims(), OModelParam< T >::getVal(), Dims::h(), itsLevelSpec, LFATAL, LevelSpec::mapLevel(), and Dims::w(). |
|
|
special output function
Reimplemented from SingleChannel. Definition at line 172 of file ForegroundDetectionChannel.C. References itsMap. |
|
|
Bogus function that just returns a blank image so that.
Reimplemented from SingleChannel. Definition at line 159 of file ForegroundDetectionChannel.C. |
|
|
Get the foreground detection map.
Reimplemented from SingleChannel. Definition at line 150 of file ForegroundDetectionChannel.C. |
|
|
Get the name/description of the feature map at the given index. This function is intended to be implemented by subclasses so that it recurses into any nested channels, mapping nested submaps into a linear sequence of indices. The output of this function is intended only to be human-readable (e.g. for labeling image displays), and does not have to follow any particular parseable syntax. Reimplemented from SingleChannel. Definition at line 165 of file ForegroundDetectionChannel.C. |
|
|
Return the number of feature maps represented by this channel.
Reimplemented from SingleChannel. Definition at line 72 of file ForegroundDetectionChannel.C. |
|
|
overload
Reimplemented from SingleChannel. Definition at line 68 of file ForegroundDetectionChannel.C. References Image< T >::initialized(), and itsMap. |
|
|
The rescaled output map - for now just the foreground map.
Reimplemented from SingleChannel. Definition at line 94 of file ForegroundDetectionChannel.H. Referenced by getMapDims(). |
|
|
The probability map of foreground objects.
Definition at line 93 of file ForegroundDetectionChannel.H. Referenced by doInput(), getOutput(), getSubmap(), and outputAvailable(). |
1.4.4