Implementation of Guided Search, aka biased saliency computation. More...
#include <Channels/GuidedSearch.H>
Public Member Functions | |
GuidedSearchBiaser (rutz::shared_ptr< ParamMap > pmap) | |
Construct with settings for the algorithm. | |
virtual | ~GuidedSearchBiaser () |
Virtual destructor. | |
virtual void | visitChannelBase (ChannelBase &chan) |
Visit the given ChannelBase node. | |
virtual void | visitSingleChannel (SingleChannel &chan) |
Visit the given SingleChannel node. | |
virtual void | visitComplexChannel (ComplexChannel &chan) |
Visit the given ComplexChannel node. |
Implementation of Guided Search, aka biased saliency computation.
A set of gains in a ParamMap is applied to the various submaps, subchannels, etc during saliency map computation. This allows to 'guide search' (Wolfe, 1994) towards known targets (e.g., if the target is known to be red, crank up the gain on red-sensitive submaps or channels.
Definition at line 55 of file GuidedSearch.H.
GuidedSearchBiaser::GuidedSearchBiaser | ( | rutz::shared_ptr< ParamMap > | pmap | ) |
Construct with settings for the algorithm.
Definition at line 46 of file GuidedSearch.C.
GuidedSearchBiaser::~GuidedSearchBiaser | ( | ) | [virtual] |
Virtual destructor.
Definition at line 51 of file GuidedSearch.C.
void GuidedSearchBiaser::visitChannelBase | ( | ChannelBase & | chan | ) | [virtual] |
Visit the given ChannelBase node.
Implements ChannelVisitor.
Definition at line 55 of file GuidedSearch.C.
References ModelComponent::tagName().
void GuidedSearchBiaser::visitComplexChannel | ( | ComplexChannel & | chan | ) | [virtual] |
Visit the given ComplexChannel node.
Implements ChannelVisitor.
Definition at line 86 of file GuidedSearch.C.
References ChannelFacetMap::getFacet(), ChannelFacetMap::hasFacet(), ComplexChannel::numChans(), rutz::shared_ptr< T >::reset(), ChannelFacetMap::setFacet(), sformat(), ComplexChannel::subChan(), rutz::shared_ptr< T >::swap(), and ModelComponent::tagName().
void GuidedSearchBiaser::visitSingleChannel | ( | SingleChannel & | chan | ) | [virtual] |
Visit the given SingleChannel node.
Implements ChannelVisitor.
Definition at line 61 of file GuidedSearch.C.
References ChannelFacetMap::getFacet(), SingleChannel::getLevelSpec(), ChannelFacetMap::hasFacet(), LevelSpec::indexToCS(), SingleChannel::numSubmaps(), rutz::shared_ptr< T >::reset(), ChannelFacetMap::setFacet(), sformat(), and ModelComponent::tagName().