ChannelMaps Class Reference

ChannelMaps hold maps from a channel hierarchy. More...

#include <Channels/ChannelMaps.H>

Collaboration diagram for ChannelMaps:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChannelMaps (ChannelBase *chan, const std::string &prefix="")
 Constructor.
 ChannelMaps (EnvVisualCortexFloat *vcx, const std::string &prefix="")
 Constructor.
 ChannelMaps (const NamedImage< float > &outmap)
 Constructor with just an output map and no subchans/submaps.
 ~ChannelMaps ()
 Destructor.
const NamedImage< float > & getMap () const
 Get the output map.
uint numSubchans () const
 number of subchannels, non-zero if complex, zero if single
rutz::shared_ptr< ChannelMapssubChanMaps (const uint idx) const
 access to the subchannels
uint numSubmaps () const
 Return the number of feature maps represented by this channel and its subchans.
const NamedImage< float > & getSubmap (const uint index) const
 Get the feature map at the given index, linearizing the channel hierarchy.
const NamedImage< float > & getRawCSmap (const uint idx) const
 get raw CS map, linearizing the channel hierarchy
bool hasPyramid () const
 do we have a raw image pyramid?
const ImageSet< float > & getPyramid () const
 get access to our raw pyramid

Detailed Description

ChannelMaps hold maps from a channel hierarchy.

These classes are used to take a copy of all the maps in a Channel hierarchy. Note that simply summing all the maps will not give rise to a saliency map, as some weighing and non-linear operations will be missing. The purpose here is to allow the maps to be transported to various places, e.g., through a SimReq mechanism.

Definition at line 54 of file ChannelMaps.H.


Constructor & Destructor Documentation

ChannelMaps::ChannelMaps ( ChannelBase chan,
const std::string prefix = "" 
)
ChannelMaps::ChannelMaps ( EnvVisualCortexFloat vcx,
const std::string prefix = "" 
)

Constructor.

Definition at line 141 of file ChannelMaps.C.

References ChannelMaps(), and rutz::make_shared().

ChannelMaps::ChannelMaps ( const NamedImage< float > &  outmap  ) 

Constructor with just an output map and no subchans/submaps.

Definition at line 136 of file ChannelMaps.C.

ChannelMaps::~ChannelMaps (  ) 

Destructor.

Definition at line 158 of file ChannelMaps.C.


Member Function Documentation

const NamedImage< float > & ChannelMaps::getMap (  )  const

Get the output map.

Definition at line 162 of file ChannelMaps.C.

const ImageSet< float > & ChannelMaps::getPyramid (  )  const

get access to our raw pyramid

Definition at line 237 of file ChannelMaps.C.

const NamedImage< float > & ChannelMaps::getRawCSmap ( const uint  idx  )  const

get raw CS map, linearizing the channel hierarchy

Definition at line 203 of file ChannelMaps.C.

References ASSERT.

const NamedImage< float > & ChannelMaps::getSubmap ( const uint  index  )  const

Get the feature map at the given index, linearizing the channel hierarchy.

Definition at line 187 of file ChannelMaps.C.

References ASSERT.

bool ChannelMaps::hasPyramid (  )  const

do we have a raw image pyramid?

Definition at line 233 of file ChannelMaps.C.

References ImageSet< T >::isNonEmpty().

uint ChannelMaps::numSubchans (  )  const

number of subchannels, non-zero if complex, zero if single

Definition at line 166 of file ChannelMaps.C.

uint ChannelMaps::numSubmaps (  )  const

Return the number of feature maps represented by this channel and its subchans.

Definition at line 177 of file ChannelMaps.C.

rutz::shared_ptr< ChannelMaps > ChannelMaps::subChanMaps ( const uint  idx  )  const

access to the subchannels

Definition at line 170 of file ChannelMaps.C.

References ASSERT.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:10 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3