Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ShapeEstimatorModes.H File Reference


Detailed Description

definition of the shape estimator modes

Definition in file ShapeEstimatorModes.H.

#include <string>

Include dependency graph for ShapeEstimatorModes.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NBSHAPEESTIMATORMODES   4
 number of known ShapeEstimator modes:
#define NBSHAPEESTIMATORSMOOTHMETHODS   3
 number of known ShapeEstimator smooth methods

Enumerations

enum  ShapeEstimatorMode { SEMnone = 0, SEMfeatureMap = 1, SEMconspicuityMap = 2, SEMsaliencyMap = 3 }
 Possible ShapeEstimator modes. More...
enum  ShapeEstimatorSmoothMethod { SESMnone = 0, SESMgaussian = 1, SESMchamfer = 2 }
 Possible ShapeEstimator smooth methods. More...

Functions

const char * shapeEstimatorModeName (const ShapeEstimatorMode p)
 Returns name of given mode.
const char * shapeEstimatorSmoothMethodName (const ShapeEstimatorSmoothMethod p)
 Returns name of given smooth method.
std::string convertToString (const ShapeEstimatorMode val)
 ShapeEstimatorMode overload.
void convertFromString (const std::string &str, ShapeEstimatorMode &val)
 ShapeEstimatorMode overload.
std::string convertToString (const ShapeEstimatorSmoothMethod val)
 ShapeEstimatorSmoothType overload.
void convertFromString (const std::string &str, ShapeEstimatorSmoothMethod &val)
 ShapeEstimatorSmoothType overload.


Define Documentation

#define NBSHAPEESTIMATORMODES   4
 

number of known ShapeEstimator modes:

Definition at line 53 of file ShapeEstimatorModes.H.

Referenced by convertFromString(), and shapeEstimatorModeName().

#define NBSHAPEESTIMATORSMOOTHMETHODS   3
 

number of known ShapeEstimator smooth methods

Definition at line 73 of file ShapeEstimatorModes.H.

Referenced by convertFromString(), mexFunction(), and shapeEstimatorSmoothMethodName().


Enumeration Type Documentation

enum ShapeEstimatorMode
 

Possible ShapeEstimator modes.

Enumerator:
SEMfeatureMap  No shape estimation.
SEMconspicuityMap  Based on winning feature map.
SEMsaliencyMap  Based on winning conspicuity map.

Definition at line 44 of file ShapeEstimatorModes.H.

enum ShapeEstimatorSmoothMethod
 

Possible ShapeEstimator smooth methods.

Enumerator:
SESMgaussian  Don't smooth at all.
SESMchamfer  smooth by convolving with a Gaussian

Definition at line 65 of file ShapeEstimatorModes.H.


Function Documentation

void convertFromString const std::string str,
ShapeEstimatorSmoothMethod val
 

ShapeEstimatorSmoothType overload.

Format is "name" as defined in ShapeEstimatorModes.H

Definition at line 68 of file ShapeEstimatorModes.C.

References i, NBSHAPEESTIMATORSMOOTHMETHODS, and shapeEstimatorSmoothMethodName().

void convertFromString const std::string str,
ShapeEstimatorMode val
 

ShapeEstimatorMode overload.

Format is "name" as defined in ShapeEstimatorModes.H

Definition at line 50 of file ShapeEstimatorModes.C.

References i, NBSHAPEESTIMATORMODES, and shapeEstimatorModeName().

std::string convertToString const ShapeEstimatorSmoothMethod  val  ) 
 

ShapeEstimatorSmoothType overload.

Format is "name" as defined in ShapeEstimatorModes.H

Definition at line 65 of file ShapeEstimatorModes.C.

References shapeEstimatorSmoothMethodName().

std::string convertToString const ShapeEstimatorMode  val  ) 
 

ShapeEstimatorMode overload.

Format is "name" as defined in ShapeEstimatorModes.H

Definition at line 47 of file ShapeEstimatorModes.C.

References shapeEstimatorModeName().

const char* shapeEstimatorModeName const ShapeEstimatorMode  p  )  [inline]
 

Returns name of given mode.

Definition at line 56 of file ShapeEstimatorModes.H.

References n, and NBSHAPEESTIMATORMODES.

Referenced by convertFromString(), and convertToString().

const char* shapeEstimatorSmoothMethodName const ShapeEstimatorSmoothMethod  p  )  [inline]
 

Returns name of given smooth method.

Definition at line 76 of file ShapeEstimatorModes.H.

References n, and NBSHAPEESTIMATORSMOOTHMETHODS.

Referenced by convertFromString(), and convertToString().


Generated on Sun Nov 22 13:44:25 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4