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

VisualFeatures.H File Reference


Detailed Description

definitions of known visual features

Definition in file VisualFeatures.H.

#include "Util/Assert.H"
#include <string>

Include dependency graph for VisualFeatures.H:

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

Go to the source code of this file.

Defines

#define NBVISUALFEATURES   64
 Number of visual features.
#define NBVISUALFEATURETYPES   3
#define NBVISUALFEATUREHIERARCHY   3

Enumerations

enum  VisualFeature {
  UNKNOWN = 0, COMPOSITECOLOR = 1, COLOR = 2, SOCOLOR = 3,
  RG = 4, BY = 5, SORG = 6, SOGR = 7,
  SOBY = 8, SOYB = 9, R = 10, G = 11,
  B = 12, Y = 13, INTENS = 14, FLICKER = 15,
  ORI = 16, TEMPLATE = 17, COLBAND = 18, MOTION = 19,
  CONVOLVE = 20, LJUNCTION = 21, TJUNCTION = 22, XJUNCTION = 23,
  ENDPOINT = 24, RGBCONVOLVE = 25, ENTROPY = 26, DUMMY = 27,
  PN03CONTRAST = 28, DISPARITY = 29, STEREO = 30, INFORMATION = 31,
  RECOGNITION = 32, HUE = 33, DIRECTFEED = 34, MULTIDIRECTFEED = 35,
  VARIANCE = 36, TCORR = 37, SCORR = 38, INTBAND = 39,
  SIFT = 40, H2SV = 41, H1 = 42, H2 = 43,
  SAT = 44, VAL = 45, CIELAB = 46, GR = 47,
  YB = 48, FACE = 49, DEPTH = 50, DCOLOR = 51,
  KCOLOR = 52, LCOLOR = 53, DKLCOLOR = 54, FOE = 55,
  MST = 56, FOEMST = 57, FOREGROUND = 58, MICHELSON = 59,
  IMGZCOLOR = 60, IMGZALPHA = 61, IMGZBETA = 62, IMGZLED = 63
}
 Various features that can be represented. More...
enum  VisualFeatureType { RAW = 0, RAW_CS = 1, NORM_CS = 2 }
 Various types of feature representations. More...
enum  VisualFeatureHierarchy { V1 = 0, V2 = 1, V4 = 2 }

Functions

const char * featureName (const VisualFeature f)
 Access feature name in clear.
const char * featureTypeName (const VisualFeatureType t)
 Access feature type name in clear.
VisualFeatureHierarchy featureHierarchyLevel (const VisualFeature f)
 Access feature level in the visual hierarchy.
const char * featureHierarchyName (const VisualFeatureHierarchy h)
 Access feature visual hierarchy name in clear.
std::string convertToString (const VisualFeature val)
 VisualFeature overload.
void convertFromString (const std::string &str, VisualFeature &val)
 VisualFeature overload.


Define Documentation

#define NBVISUALFEATURES   64
 

Number of visual features.

Definition at line 120 of file VisualFeatures.H.

Referenced by convertFromString(), featureHierarchyLevel(), featureName(), JetSpec::freeMem(), and raodistance().


Enumeration Type Documentation

enum VisualFeature
 

Various features that can be represented.

We assign a specific number to each definition to speedup name printing

Enumerator:
UNKNOWN  Unknown feature type.
COMPOSITECOLOR  composite Color channel
COLOR  double opponent Color complex feature
SOCOLOR  single opponent Color complex feature
RG  Red/green double opponency.
BY  Blue/yellow double-opponency.
SORG  Red/green single opponency.
SOGR  Green/Red single opponency.
SOBY  Blue/Yellow single opponency.
SOYB  Yellow/Blue single opponency.
R  Red channel.
G  green channel
B  Blue channel.
Y  yellow channel
INTENS  Intensity center-surround.
FLICKER  Flicker center-surround.
ORI  Orientation contrast.
TEMPLATE  Template matching.
COLBAND  Color band.
MOTION  Motion channel.
CONVOLVE  Convolution channel.
LJUNCTION  L junction channel.
TJUNCTION  T junction channel.
XJUNCTION  X junction channel.
ENDPOINT  End Point channel.
RGBCONVOLVE  Color convolution channel.
ENTROPY  Local entropy channel.
DUMMY  Dummy channel.
PN03CONTRAST  Local contrast (Parkhurst&Niebur 2003).
DISPARITY  Disparity Channel.
STEREO  Stereo channel.
INFORMATION  Information channel.
RECOGNITION  Recognition channel.
HUE  Hue channel.
DIRECTFEED  DirectFeed channel.
MULTIDIRECTFEED  MultiDirectFeed channel.
VARIANCE  Variance channel.
TCORR  Tcorr (temporal correlation) channel.
SCORR  Scorr (spatial correlation) channel.
INTBAND  Intensity bands.
SIFT  SIFT keypoint channel.
H2SV  H2SV.
H1  H2SV Hue1 or CIE Lab A Red/Green.
H2  H2SV Hue2 or CIE Lab B Yellow/Blue.
SAT  H2SV Saturation.
VAL  H2SV Value Intensity or CIE Lab L.
CIELAB  CIE Lab.
GR  green/Red double opponency
YB  yellow/Blue double-opponency
FACE  face detection
DEPTH  Depth.
DCOLOR  D component of DKL color.
KCOLOR  K component of DKL color.
LCOLOR  L component of DKL color.
DKLCOLOR  DKL color complex channel.
FOREGROUND  Foreground probability channel.
MICHELSON  Michelson contrast.
IMGZCOLOR  Imagize 3-channel silicon retina.
IMGZALPHA  Imagize alpha channel.
IMGZBETA  Imagize beta channel.
IMGZLED  Imagize LED channel.

Definition at line 47 of file VisualFeatures.H.

enum VisualFeatureHierarchy
 

Enumerator:
V1  V1 channel in visual hierarchy.
V2  V2 channel in visual hierarchy.
V4  V4 channel in visual hierarchy.

Definition at line 133 of file VisualFeatures.H.

enum VisualFeatureType
 

Various types of feature representations.

We assign a specific number to each definition to speedup name printing

Enumerator:
RAW  Raw pixel data.
RAW_CS  Center-surround data before maxnormalization.
NORM_CS  Center-surround data after maxnormalization.

Definition at line 124 of file VisualFeatures.H.


Function Documentation

void convertFromString const std::string str,
VisualFeature val
 

VisualFeature overload.

Format is "name" as defined by featureName() in VisualFeatures.H

Definition at line 50 of file VisualFeatures.C.

References featureName(), i, and NBVISUALFEATURES.

std::string convertToString const VisualFeature  val  ) 
 

VisualFeature overload.

Format is "name" as defined by featureName() in VisualFeatures.H

Definition at line 47 of file VisualFeatures.C.

References featureName().

VisualFeatureHierarchy featureHierarchyLevel const VisualFeature  f  )  [inline]
 

Access feature level in the visual hierarchy.

Definition at line 238 of file VisualFeatures.H.

References n, and NBVISUALFEATURES.

Referenced by RawVisualCortex::doInput(), IntegerRawVisualCortex::doInputInt(), dummy_namespace_to_avoid_gcc411_bug_IntegerComplexChannel_C::ChannelHierarchySorter::operator()(), dummy_namespace_to_avoid_gcc411_bug_ComplexChannel_C::ChannelHierarchySorter::operator()(), RawVisualCortex::start1(), and IntegerRawVisualCortex::start1().

const char * featureHierarchyName const VisualFeatureHierarchy  h  )  [inline]
 

Access feature visual hierarchy name in clear.

Definition at line 310 of file VisualFeatures.H.

References n, and NBVISUALFEATUREHIERARCHY.

Referenced by RawVisualCortex::doInput(), IntegerRawVisualCortex::doInputInt(), RawVisualCortex::start1(), and IntegerRawVisualCortex::start1().

const char * featureName const VisualFeature  f  )  [inline]
 

Access feature name in clear.

Definition at line 157 of file VisualFeatures.H.

References ASSERT, n, and NBVISUALFEATURES.

Referenced by JetSpec::addFeature(), JetSpec::addFeatureType(), convertFromString(), convertToString(), JetSpec::getIndexA(), JetSpec::getIndexV(), main(), JetSpec::print(), RawVisualCortex::start1(), and IntegerRawVisualCortex::start1().

const char * featureTypeName const VisualFeatureType  t  )  [inline]
 

Access feature type name in clear.

Definition at line 230 of file VisualFeatures.H.

References n, and NBVISUALFEATURETYPES.

Referenced by JetSpec::addFeatureType(), JetSpec::getIndexA(), JetSpec::getIndexV(), and JetSpec::print().


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