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

VisualCortexWeights Struct Reference

#include <Neuro/VisualCortexWeights.H>

List of all members.


Detailed Description

The set of weights that can be passed to VisualCortex::addDefaultChannels().

This makes for more readable and less error-prone code to put all the weights in a struct, with a name for each weight, rather than passing a huge list of numbers to addDefaultChannels.

Definition at line 47 of file VisualCortexWeights.H.

Static Public Member Functions

static VisualCortexWeights zeros ()
 Returns a weight set with all weights zero.
static VisualCortexWeights ICOFM ()
 Includes just the standard intensity/color/orientation/flicker/motion channels.
static VisualCortexWeights fromString (const std::string &str, bool *isbeo, bool *issurp, bool *isthreaded)
 Parse a set of weights from a string (such as the argument to --vc-type).

Public Attributes

double chanIw
double chanCw
 !< IntensityChannel
double chanOw
 !< ColorChannel
double chanFw
 !< OrientationChannel
double chanMw
 !< FlickerChannel
double chanCow
 !< MotionChannel
double chanLw
 !< CompositeColorChannel
double chanTw
 !< LJunctionChannel (requires OrientationChannel)
double chanXw
 !< TJunctionChannel (requires OrientationChannel)
double chanEw
 !< XJunctionChannel (requires OrientationChannel)
double chanGw
 !< EndPointChannel (requires OrientationChannel)
double chanDw
 !< MultiColorBandChannel
double chanSHw
 !< DummyChannel
double chanIBw
 !< SkinHueChannel
double chanSIFTw
 !< IntensityBandChannel
double chanH2SVw
 !< SIFTChannel
double chanDepthw
 !< H2SVChannel
double chanPedw
 !< DepthChannel
double chanSoxw
 !< PedestrianChannel
double chanContourw
 !< SoxChannel
double chanZerow
 !< ContourChannel
double chanObjDetw
 !< ZeroChannel


Member Function Documentation

VisualCortexWeights VisualCortexWeights::fromString const std::string str,
bool *  isbeo,
bool *  issurp,
bool *  isthreaded
[static]
 

Parse a set of weights from a string (such as the argument to --vc-type).

If isbeo is non-null, then the parsing will allow the corresponding character ('B') in the config string, and *isbeo will be set to true if that character is found, and false otherwise. Likewise for issurp ('U') and isthreaded ('J').

Definition at line 96 of file VisualCortexWeights.C.

References c, chanContourw, chanCow, chanCw, chanDepthw, chanDw, chanEw, chanFw, chanGw, chanH2SVw, chanIBw, chanIw, chanLw, chanMw, chanObjDetw, chanOw, chanPedw, chanSHw, chanSIFTw, chanSoxw, chanTw, chanXw, chanZerow, i, LFATAL, LINFO, s, weight, and zeros().

Referenced by VisualCortexConfigurator::paramChanged(), and IntegerVisualCortex::paramChanged().

VisualCortexWeights VisualCortexWeights::ICOFM  )  [static]
 

Includes just the standard intensity/color/orientation/flicker/motion channels.

Definition at line 83 of file VisualCortexWeights.C.

References chanCw, chanFw, chanIw, chanMw, chanOw, and w.

Referenced by VisualCortexConfigurator::paramChanged().

VisualCortexWeights VisualCortexWeights::zeros  )  [static]
 

Returns a weight set with all weights zero.

Definition at line 77 of file VisualCortexWeights.C.

Referenced by fromString(), main(), Agent::recognise(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().


Member Data Documentation

double VisualCortexWeights::chanContourw
 

!< SoxChannel

Definition at line 90 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanCow
 

!< MotionChannel

Definition at line 76 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanCw
 

!< IntensityChannel

Definition at line 72 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), main(), Agent::recognise(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanDepthw
 

!< H2SVChannel

Definition at line 87 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanDw
 

!< MultiColorBandChannel

Definition at line 82 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanEw
 

!< XJunctionChannel (requires OrientationChannel)

Definition at line 80 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanFw
 

!< OrientationChannel

Definition at line 74 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanGw
 

!< EndPointChannel (requires OrientationChannel)

Definition at line 81 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanH2SVw
 

!< SIFTChannel

Definition at line 86 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanIBw
 

!< SkinHueChannel

Definition at line 84 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanLw
 

!< CompositeColorChannel

Definition at line 77 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanMw
 

!< FlickerChannel

Definition at line 75 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanObjDetw
 

!< ZeroChannel

Definition at line 92 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanOw
 

!< ColorChannel

Definition at line 73 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), main(), Agent::recognise(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanPedw
 

!< DepthChannel

Definition at line 88 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanSHw
 

!< DummyChannel

Definition at line 83 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanSIFTw
 

!< IntensityBandChannel

Definition at line 85 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanSoxw
 

!< PedestrianChannel

Definition at line 89 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().

double VisualCortexWeights::chanTw
 

!< LJunctionChannel (requires OrientationChannel)

Definition at line 78 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanXw
 

!< TJunctionChannel (requires OrientationChannel)

Definition at line 79 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor().

double VisualCortexWeights::chanZerow
 

!< ContourChannel

Definition at line 91 of file VisualCortexWeights.H.

Referenced by VisualCortex::addDefaultChannels(), and fromString().


The documentation for this struct was generated from the following files:
Generated on Fri Nov 21 10:44:48 2008 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4