A Depth channel for computing saliency based on a distance/depth to objects. More...
#include <Channels/DepthChannel.H>
Public Member Functions | |
DepthChannel (OptionManager &mgr) | |
Construct with standard params. | |
virtual | ~DepthChannel () |
Destructor. | |
Protected Member Functions | |
virtual void | doInput (const InputFrame &inframe) |
DepthChannel requires only depth input. | |
Protected Attributes | |
OModelParam< LevelSpec > | itsLevelSpec |
A Depth channel for computing saliency based on a distance/depth to objects.
This channel will compute a depth map using orientations and intensity in the usual way one would do so with a standard input image. This gives conspicuity to objects in an image based on how far they are from the camera.
Definition at line 50 of file DepthChannel.H.
DepthChannel::DepthChannel | ( | OptionManager & | mgr | ) |
Construct with standard params.
Definition at line 50 of file DepthChannel.C.
References ComplexChannel::addSubChan(), and makeSharedComp().
DepthChannel::~DepthChannel | ( | ) | [virtual] |
Destructor.
Definition at line 63 of file DepthChannel.C.
void DepthChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
DepthChannel requires only depth input.
Implements ChannelBase.
Definition at line 69 of file DepthChannel.C.
References buildPyrGaussian(), rutz::shared_ptr< T >::get(), OModelParam< T >::getVal(), LevelSpec::maxDepth(), ComplexChannel::numChans(), and ComplexChannel::subChan().