VisualFeatures.H File Reference

#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   69
 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,
  FLKNBACK = 64, MOTIONSPATIOTEMPORAL = 65, MOTIONOPTICALFLOW = 66, DEPTHMOTION = 67,
  MOVINGOBJECTDETECTION = 68
}
 

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.

Detailed Description

definitions of known visual features

Definition in file VisualFeatures.H.


Define Documentation

#define NBVISUALFEATURES   69

Number of visual features.

Definition at line 125 of file VisualFeatures.H.

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


Enumeration Type Documentation

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.

FLKNBACK 

Flicker N-Back channel.

MOTIONSPATIOTEMPORAL 

Motion SpatioTemporal channel.

MOTIONOPTICALFLOW 

Motion Optical Flow channel.

DEPTHMOTION 

Depth Motion channel.

MOVINGOBJECTDETECTION 

Moving Object Detection channel.

Definition at line 47 of file VisualFeatures.H.

Enumerator:
V1 

V1 channel in visual hierarchy.

V2 

V2 channel in visual hierarchy.

V4 

V4 channel in visual hierarchy.

Definition at line 138 of file VisualFeatures.H.

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 129 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(), 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 248 of file VisualFeatures.H.

References NBVISUALFEATURES.

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

const char * featureHierarchyName ( const VisualFeatureHierarchy  h  )  [inline]

Access feature visual hierarchy name in clear.

Definition at line 325 of file VisualFeatures.H.

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

const char * featureName ( const VisualFeature  f  )  [inline]
const char * featureTypeName ( const VisualFeatureType  t  )  [inline]

Access feature type name in clear.

Definition at line 240 of file VisualFeatures.H.

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

Generated on Sun May 8 08:42:39 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3