
#include <Neuro/VisualCortexWeights.H>
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 | |
|
||||||||||||||||||||
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
!< SoxChannel
Definition at line 90 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
Definition at line 76 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
Definition at line 72 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), main(), Agent::recognise(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
!< H2SVChannel
Definition at line 87 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
Definition at line 82 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
!< XJunctionChannel (requires OrientationChannel)
Definition at line 80 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
Definition at line 74 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
!< EndPointChannel (requires OrientationChannel)
Definition at line 81 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
!< SIFTChannel
Definition at line 86 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
Definition at line 84 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
Definition at line 77 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
Definition at line 75 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
!< ZeroChannel
Definition at line 92 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
!< ColorChannel
Definition at line 73 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), IntegerVisualCortex::addDefaultChannels(), fromString(), ICOFM(), main(), Agent::recognise(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
!< DepthChannel
Definition at line 88 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
!< DummyChannel
Definition at line 83 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
Definition at line 85 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
Definition at line 89 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
|
|
!< LJunctionChannel (requires OrientationChannel)
Definition at line 78 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
!< TJunctionChannel (requires OrientationChannel)
Definition at line 79 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), fromString(), and VisualCortexFeatureExtractor::VisualCortexFeatureExtractor(). |
|
|
Definition at line 91 of file VisualCortexWeights.H. Referenced by VisualCortex::addDefaultChannels(), and fromString(). |
1.4.4