RegSaliency Class Reference

Inheritance diagram for RegSaliency:
Inheritance graph
[legend]
Collaboration diagram for RegSaliency:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Constructors and Destructors

 RegSaliency (OptionManager &mgr, const std::string &descrName="Regsaliency", const std::string &tagName="Regsaliency")
 Constructor.
 ~RegSaliency ()
 Destructor.
member functions

void doInput (const Image< PixRGB< byte > > img)
 Setup up with image to be processed and build the job queue.
bool outputReady ()
 Is the last given input done processing?
Image< float > getOutput ()
 Get last computed output.
Image< float > getIMap ()
Image< float > getCMap ()
Image< float > getOMap ()
Image< float > getFMap ()
Image< float > getMMap ()
Image< float > getInertiaMap ()
Image< float > getInhibitionMap ()
void runSaliency ()
 For internal thread use: Compute a conspicuity map from an image.
Image< float > postChannel (Image< float > curImage, PyramidType ptyp, float orientation, float weight, Image< float > &outmap)
 Calculate the pyramid and post the generated conspicuity map to the saliency output map.
Image< float > processPyramid (ImageSet< float > pyr)
void calcIntensity (const Image< PixRGB< float > > &colImage, Image< float > &outmap)
 Calculate intensity channel.
void calcColor (const Image< PixRGB< float > > &colImage, Image< float > &outmap)
 Calculate the color oppponent channel.
void calcOrientation (const Image< PixRGB< float > > &colImage, float orientation, Image< float > &outmap)
 Calculate a particular orientation channel.
void calcFlicker (const Image< PixRGB< float > > &colImage, Image< float > &outmap)
 Calculate the flicker channel.
void calcMotion (const Image< PixRGB< float > > &colImage, int motionIndex)
 Calculate the motion channel.

Protected Member Functions

void start1 ()
 get started
void stop2 ()
 get stopped

Detailed Description

Definition at line 65 of file RegSaliency.H.


Constructor & Destructor Documentation

RegSaliency::RegSaliency ( OptionManager mgr,
const std::string descrName = "Regsaliency",
const std::string tagName = "Regsaliency" 
)

Constructor.

Definition at line 23 of file RegSaliency.C.

RegSaliency::~RegSaliency (  ) 

Destructor.

Definition at line 59 of file RegSaliency.C.


Member Function Documentation

void RegSaliency::calcColor ( const Image< PixRGB< float > > &  colImage,
Image< float > &  outmap 
)

Calculate the color oppponent channel.

Definition at line 198 of file RegSaliency.C.

References Gaussian5, getRGBY(), and postChannel().

Referenced by runSaliency().

void RegSaliency::calcFlicker ( const Image< PixRGB< float > > &  colImage,
Image< float > &  outmap 
)

Calculate the flicker channel.

Definition at line 224 of file RegSaliency.C.

References Gaussian5, Image< T >::getDims(), Image< T >::initialized(), postChannel(), and ZEROS.

Referenced by runSaliency().

void RegSaliency::calcIntensity ( const Image< PixRGB< float > > &  colImage,
Image< float > &  outmap 
)

Calculate intensity channel.

Definition at line 179 of file RegSaliency.C.

References buildPyrGeneric(), Gaussian5, and Image< T >::initialized().

Referenced by runSaliency().

void RegSaliency::calcMotion ( const Image< PixRGB< float > > &  colImage,
int  motionIndex 
)

Calculate the motion channel.

Definition at line 245 of file RegSaliency.C.

References Image< T >::initialized().

Referenced by runSaliency().

void RegSaliency::calcOrientation ( const Image< PixRGB< float > > &  colImage,
float  orientation,
Image< float > &  outmap 
)

Calculate a particular orientation channel.

Definition at line 210 of file RegSaliency.C.

References Image< T >::initialized(), Oriented5, and postChannel().

Referenced by runSaliency().

void RegSaliency::doInput ( const Image< PixRGB< byte > >  img  ) 

Setup up with image to be processed and build the job queue.

Definition at line 63 of file RegSaliency.C.

References Image< T >::clear(), Timer::getSecs(), Image< T >::initialized(), Timer::reset(), and runSaliency().

Image< float > RegSaliency::getOutput (  ) 

Get last computed output.

Definition at line 88 of file RegSaliency.C.

bool RegSaliency::outputReady (  ) 

Is the last given input done processing?

Definition at line 82 of file RegSaliency.C.

Image< float > RegSaliency::postChannel ( Image< float >  curImage,
PyramidType  ptyp,
float  orientation,
float  weight,
Image< float > &  outmap 
)

Calculate the pyramid and post the generated conspicuity map to the saliency output map.

Definition at line 130 of file RegSaliency.C.

References buildPyrGeneric(), and Image< T >::initialized().

Referenced by calcColor(), calcFlicker(), and calcOrientation().

void RegSaliency::runSaliency (  ) 

For internal thread use: Compute a conspicuity map from an image.

Definition at line 262 of file RegSaliency.C.

References calcColor(), calcFlicker(), calcIntensity(), calcMotion(), calcOrientation(), Image< T >::initialized(), maxNormalize(), MAXNORMMAX, MAXNORMMIN, and Timer::reset().

Referenced by doInput().

void RegSaliency::start1 (  )  [protected, virtual]

get started

Reimplemented from ModelComponent.

Definition at line 36 of file RegSaliency.C.

References Gaussian5.

void RegSaliency::stop2 (  )  [protected, virtual]

get stopped

Reimplemented from ModelComponent.

Definition at line 49 of file RegSaliency.C.


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