ContourChannel.C File Reference

#include "Channels/ContourChannel.H"
#include "Channels/ChannelBase.H"
#include "Channels/ChannelOpts.H"
#include "Channels/ComplexChannel.H"
#include "Component/ModelOptionDef.H"
#include "Component/OptionManager.H"
#include "Image/ColorOps.H"
#include "Image/DrawOps.H"
#include "Image/FilterOps.H"
#include "Image/ImageSet.H"
#include "Image/ImageSetOps.H"
#include "Image/LevelSpec.H"
#include "Image/MathOps.H"
#include "Image/PyramidOps.H"
#include "Image/Range.H"
#include "Image/ShapeOps.H"
#include "Image/fancynorm.H"
#include "Raster/GenericFrame.H"
#include "Transport/FrameOstream.H"
#include "Util/Assert.H"
#include "Util/CpuTimer.H"
#include "Util/StringConversions.H"
#include "Util/StringUtil.H"
#include "Util/Types.H"
#include "Util/log.H"
#include "Util/sformat.H"
#include "rutz/shared_ptr.h"
#include <cmath>
#include <map>
#include <iostream>
#include <fstream>
Include dependency graph for ContourChannel.C:

Go to the source code of this file.

Classes

struct  dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::Accum
struct  dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::SaveSet
class  ContourConnection
 The connection kernel between orientation-tuned units. More...
class  ContourConnectionCinnic
class  ContourConnectionBraun
class  ContourLayer
 Represents a single scale band in which contour facilitation is run. More...
class  ContourLayerDynamic
 Based on Achim Braun's unpublished Neural Computation paper. More...
class  ContourLayerStatic
 Based on CINNIC (Nathan Mundhenk). More...
class  ContourChannel

Enumerations

enum  ContourConnectionType { CC_CXN_CINNIC = 1, CC_CXN_BRAUN = 2, CC_CXN_BRAUN_NORM = 3 }
enum  ContourChannelFilterStyle { CC_FILTER_STEERABLE = 1, CC_FILTER_GABOR = 2, CC_FILTER_GAUSSIAN_STEERABLE = 3 }
enum  ContourChannelDynamicsType { CC_STATIC = 1, CC_DYNAMIC = 2 }

Functions

float dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::angDist (float ang1, float ang2)
float dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::sigmoid (float v, float thresh)
Image< float > dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::sigmoid (const Image< float > &input, float thresh)
double dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::sigmoid2 (double x)
double dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::excitFiring (double x)
double dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::PHI (double x)
double dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::inhibFiring (double x)
float dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::getScaleBias (int scaleNumber)
void dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::printStats (const Image< float > &img, const char *name)
Image< float > dummy_namespace_to_avoid_gcc411_bug_ContourChannel_C::boxDownSizeClean (const Image< float > &src, const Dims &new_dims, const int filterWidth)
std::string convertToString (const ContourConnectionType val)
void convertFromString (const std::string &str1, ContourConnectionType &val)
std::string convertToString (const ContourChannelFilterStyle val)
void convertFromString (const std::string &str1, ContourChannelFilterStyle &val)
std::string convertToString (const ContourChannelDynamicsType val)
void convertFromString (const std::string &str1, ContourChannelDynamicsType &val)
nub::ref< ChannelBasemakeContourChannel (OptionManager &mgr, const std::string &saveprefix)
 Factory function that creates a new ContourChannel.

Variables

static const ModelOptionDef OPT_ContourConnectionDims
static const ModelOptionDef OPT_ContourConnectionNumOrient
static const ModelOptionDef OPT_CinnicAngleDropOff
static const ModelOptionDef OPT_CinnicAngleSuppress
static const ModelOptionDef OPT_CinnicSupMult
static const ModelOptionDef OPT_CinnicOrthMult
static const ModelOptionDef OPT_CinnicAngleOrthRangeA
static const ModelOptionDef OPT_CinnicAngleOrthRangeB
static const ModelOptionDef OPT_CinnicNeuronExSize
static const ModelOptionDef OPT_CinnicNeuronSupSize
static const ModelOptionDef OPT_CinnicNeuronSupStart
static const ModelOptionDef OPT_CinnicNeuronOrthSize
static const ModelOptionDef OPT_CinnicValueCutoff
static const ModelOptionDef OPT_CinnicColinearDiff
static const ModelOptionDef OPT_ContourConnectionPeakDistance
static const ModelOptionDef OPT_ContourConnectionExcitStrength
static const ModelOptionDef OPT_ContourConnectionInhibStrength
static const ModelOptionDef OPT_ContourConnectionBeta
static const ModelOptionDef OPT_ContourConnectionOrthoIntxn
static const ModelOptionDef OPT_ContourLayerSaveOutput
static const ModelOptionDef OPT_ContourLayerSaveDetails
static const ModelOptionDef OPT_ContourLayerDynamicTimestep
static const ModelOptionDef OPT_ContourLayerDynamicFilterThresh
static const ModelOptionDef OPT_CinnicLayerFastPlast
static const ModelOptionDef OPT_CinnicLayerGroupBottom
static const ModelOptionDef OPT_CinnicLayerGroupTop
static const ModelOptionDef OPT_CinnicLayerGroupSize
static const ModelOptionDef OPT_CinnicLayerLeak
static const ModelOptionDef OPT_CinnicLayerSuppressionAdd
static const ModelOptionDef OPT_CinnicLayerSuppressionSub
static const ModelOptionDef OPT_CinnicLayerSigmoidThresh
static const ModelOptionDef OPT_CinnicLayerFilterThresh
static const ModelOptionDef OPT_ContourConnectionType
static const ModelOptionDef OPT_ContourChannelIterations
static const ModelOptionDef OPT_ContourChannelLowPassWidth
static const ModelOptionDef OPT_ContourChannelFirstScale
static const ModelOptionDef OPT_ContourChannelNumScales
static const ModelOptionDef OPT_ContourChannelMaxInputDims
static const ModelOptionDef OPT_ContourChannelFilterStyle
static const ModelOptionDef OPT_ContourChannelGaborPeriod
static const ModelOptionDef OPT_ContourChannelFilterReduction
static const ModelOptionDef OPT_ContourChannelDynamicsType
static const ModelOptionDef OPT_ContourChannelNormFlags
static const ModelOptionDef OPT_ContourChannelOutputBlur
static const ModelOptionDef OPT_ContourChannelSaveWeights
static const ModelOptionDef OPT_ContourChannelSaveFilterOutput
static const ModelOptionDef OPT_ContourChannelSaveOutput
static const ModelOptionDef OPT_ALIAScontourModel0027
static const ModelOptionDef OPT_ALIAScontourModel0032

Detailed Description

[put description here]

Definition in file ContourChannel.C.


Function Documentation

nub::ref<ChannelBase> makeContourChannel ( OptionManager mgr,
const std::string saveprefix 
)

Factory function that creates a new ContourChannel.

Definition at line 2355 of file ContourChannel.C.

References makeSharedComp().

Referenced by RawVisualCortex::paramChanged().


Variable Documentation

const ModelOptionDef OPT_ALIAScontourModel0027 [static]
Initial value:
  { MODOPT_ALIAS, "ALIAScontourModel0027", &MOC_ALIAS, OPTEXP_CORE,
    "Contour model #0027",
    "contour-model-0027", '\0', "",
    "--contour-cxn-type=BraunNorm "
    "--contour-cxn-beta=0.07 "
    "--contour-cxn-excit-strength=1.7 "
    "--contour-cxn-inhib-strength=-0.3 "
    "--contour-cxn-dims=25x25 "
    "--contour-cxn-peak-distance=2.5 "
    "--contour-dynamics-type=Static "
    "--cinnic-fast-plast=5.405775 "
    "--cinnic-group-top=0.0048828125 "
    "--cinnic-leak=0.0003662109375 "
    "--cinnic-sigmoid-thresh=35.15625 "
    "--cinnic-suppression-add=1.6875 "
    "--cinnic-suppression-sub=2.0 "
    "--contour-filter-reduction=1 "
    "--contour-first-scale=2 "
    "--contour-gabor-width=5.0 "
    "--contour-num-iterations=3 "
    "--contour-num-scales=1 "
  }

Definition at line 1939 of file ContourChannel.C.

const ModelOptionDef OPT_ALIAScontourModel0032 [static]
Initial value:
  { MODOPT_ALIAS, "ALIAScontourModel0032", &MOC_ALIAS, OPTEXP_CORE,
    "Contour model #0032",
    "contour-model-0032", '\0', "",
    "--contour-cxn-type=BraunNorm "
    "--contour-cxn-beta=0.000720977783205 "
    "--contour-cxn-dims=31x31 "
    "--contour-cxn-excit-strength=2.33459472656 "
    "--contour-cxn-inhib-strength=-0.0030920982361 "
    "--contour-cxn-peak-distance=54.931640625 "
    "--contour-dynamics-type=Static "
    "--cinnic-fast-plast=0.0791861572262 "
    "--cinnic-group-size=11 "
    "--cinnic-group-top=0.15625 "
    "--cinnic-leak=1.318359375 "
    "--cinnic-sigmoid-thresh=474.609375 "
    "--cinnic-suppression-add=0.75 "
    "--cinnic-suppression-sub=2.0 "
    "--contour-filter-reduction=2 "
    "--contour-first-scale=1 "
    "--contour-gabor-width=2.02549743327 "
    "--contour-num-iterations=1 "
    "--contour-num-scales=1 "
  }

Definition at line 1964 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicAngleDropOff [static]
Initial value:
  { MODOPT_ARG(float), "CinnicAngleDropOff", &MOC_CHANNEL, OPTEXP_CORE,
    "AngleDropOff parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'AngleDropOff=35.0')",
    "cinnic-angle-dropoff", '\0', "<float>", "35.0" }

Definition at line 557 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicAngleOrthRangeA [static]
Initial value:
  { MODOPT_ARG(float), "CinnicAngleOrthRangeA", &MOC_CHANNEL, OPTEXP_CORE,
    "AngleOrthRangeA parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'AngleOrthRangeA=45.0')",
    "cinnic-angle-orth-range-a", '\0', "<float>", "45.0" }

Definition at line 585 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicAngleOrthRangeB [static]
Initial value:
  { MODOPT_ARG(float), "CinnicAngleOrthRangeB", &MOC_CHANNEL, OPTEXP_CORE,
    "AngleOrthRangeB parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'AngleOrthRangeB=35.0')",
    "cinnic-angle-orth-range-b", '\0', "<float>", "35.0" }

Definition at line 592 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicAngleSuppress [static]
Initial value:
  { MODOPT_ARG(float), "CinnicAngleSuppress", &MOC_CHANNEL, OPTEXP_CORE,
    "AngleSuppress parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'AngleSuppress=60.0')",
    "cinnic-angle-suppress", '\0', "<float>", "60.0" }

Definition at line 564 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicColinearDiff [static]
Initial value:
  { MODOPT_ARG(float), "CinnicColinearDiff", &MOC_CHANNEL, OPTEXP_CORE,
    "ColinearDiff parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'CoLinearDiff=16.0')",
    "cinnic-colinear-diff", '\0', "<float>", "16.0" }

Definition at line 634 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerFastPlast [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerFastPlast", &MOC_CHANNEL, OPTEXP_CORE,
    "Fast-plasticity strength under --contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'fastPlast=7.2077')",
    "cinnic-fast-plast", '\0', "<float>", "7.2077" }

Definition at line 1308 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerFilterThresh [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerFilterThresh", &MOC_CHANNEL, OPTEXP_CORE,
    "Filter values less than this threshold will be forced to 0, under "
    "--contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'filterThresh=0.0001')",
    "cinnic-filter-thresh", '\0', "<float>", "0.0001" }

Definition at line 1371 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerGroupBottom [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerGroupBottom", &MOC_CHANNEL, OPTEXP_CORE,
    "Threshold beneath which group suppression is removed, under "
    "--contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'groupAvgBottom=0.0')",
    "cinnic-group-bottom", '\0', "<float>", "0.0" }

Definition at line 1315 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerGroupSize [static]
Initial value:
  { MODOPT_ARG(int), "CinnicLayerGroupSize", &MOC_CHANNEL, OPTEXP_CORE,
    "Width of low-pass kernel used to compute group suppression, under "
    "--contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'groupSize=15')",
    "cinnic-group-size", '\0', "<int>", "15" }

Definition at line 1331 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerGroupTop [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerGroupTop", &MOC_CHANNEL, OPTEXP_CORE,
    "Threshold above which group suppression is added, under "
    "--contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'groupAvgTop=0.03125')",
    "cinnic-group-top", '\0', "<float>", "0.03125" }

Definition at line 1323 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerLeak [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerLeak", &MOC_CHANNEL, OPTEXP_CORE,
    "Amount of global leak during each iteration under "
    "--contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'leakFactor=0.5')",
    "cinnic-leak", '\0', "<float>", "0.5" }

Definition at line 1339 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerSigmoidThresh [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerSigmoidThresh", &MOC_CHANNEL, OPTEXP_CORE,
    "Threshold for the output sigmoid nonlinearity, under "
    "--contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'sigmoidThresh=9.0')",
    "cinnic-sigmoid-thresh", '\0', "<float>", "9.0" }

Definition at line 1363 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerSuppressionAdd [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerSuppressionAdd", &MOC_CHANNEL, OPTEXP_CORE,
    "Scale factor for group suppression added where the rate of change "
    "exceeds --cinnic-group-top, --contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'suppressionAdd=1.0')",
    "cinnic-suppression-add", '\0', "<float>", "1.0" }

Definition at line 1347 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicLayerSuppressionSub [static]
Initial value:
  { MODOPT_ARG(float), "CinnicLayerSuppressionSub", &MOC_CHANNEL, OPTEXP_CORE,
    "Scale factor for group suppression removed where the rate of change "
    "is less than --cinnic-group-bottom, --contour-dynamics-type=Static "
    "(corresponds to old ParamMap parameter 'suppressionSub=1.0')",
    "cinnic-suppression-sub", '\0', "<float>", "1.0" }

Definition at line 1355 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicNeuronExSize [static]
Initial value:
  { MODOPT_ARG(float), "CinnicNeuronExSize", &MOC_CHANNEL, OPTEXP_CORE,
    "NeuronExSize parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'NeuronExSize=12.0')",
    "cinnic-neuron-ex-size", '\0', "<float>", "12.0" }

Definition at line 599 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicNeuronOrthSize [static]
Initial value:
  { MODOPT_ARG(float), "CinnicNeuronOrthSize", &MOC_CHANNEL, OPTEXP_CORE,
    "NeuronOrthSize parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'NeuronOrthSize=12.0')",
    "cinnic-neuron-orth-size", '\0', "<float>", "12.0" }

Definition at line 620 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicNeuronSupSize [static]
Initial value:
  { MODOPT_ARG(float), "CinnicNeuronSupSize", &MOC_CHANNEL, OPTEXP_CORE,
    "NeuronSupSize parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'NeuronSupSize=10.0')",
    "cinnic-neuron-sup-size", '\0', "<float>", "10.0" }

Definition at line 606 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicNeuronSupStart [static]
Initial value:
  { MODOPT_ARG(float), "CinnicNeuronSupStart", &MOC_CHANNEL, OPTEXP_CORE,
    "NeuronSupStart parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'NeuronSupStart=1.0')",
    "cinnic-neuron-sup-start", '\0', "<float>", "1.0" }

Definition at line 613 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicOrthMult [static]
Initial value:
  { MODOPT_ARG(float), "CinnicOrthMult", &MOC_CHANNEL, OPTEXP_CORE,
    "OrthMult parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'OrthMult=0.0')",
    "cinnic-orth-mult", '\0', "<float>", "0.0" }

Definition at line 578 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicSupMult [static]
Initial value:
  { MODOPT_ARG(float), "CinnicSupMult", &MOC_CHANNEL, OPTEXP_CORE,
    "SupMult parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'SupMult=1.5')",
    "cinnic-sup-mult", '\0', "<float>", "1.5" }

Definition at line 571 of file ContourChannel.C.

const ModelOptionDef OPT_CinnicValueCutoff [static]
Initial value:
  { MODOPT_ARG(float), "CinnicValueCutoff", &MOC_CHANNEL, OPTEXP_CORE,
    "valueCutOff parameter for the cinnic kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'valueCutOff=0.0001')",
    "cinnic-value-cutoff", '\0', "<float>", "0.0001" }

Definition at line 627 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelDynamicsType [static]
Initial value:
  { MODOPT_ARG(ContourChannelDynamicsType), "ContourChannelDynamicsType", &MOC_CHANNEL, OPTEXP_CORE,
    "The type of iterative dynamics to use in the contour channel "
    "(corresponds to old ParamMap parameter 'dynamicsType=1')",
    "contour-dynamics-type", '\0', "<Static|Dynamic>", "Static" }

Definition at line 1895 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelFilterReduction [static]
Initial value:
  { MODOPT_ARG(unsigned int), "ContourChannelFilterReduction", &MOC_CHANNEL, OPTEXP_CORE,
    "Number of octaves by which to downsize the oriented filter outputs "
    "in the contour channel "
    "(corresponds to old ParamMap parameter 'filterReduction=1')",
    "contour-filter-reduction", '\0', "<uint>", "1" }

Definition at line 1887 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelFilterStyle [static]
Initial value:
  { MODOPT_ARG(ContourChannelFilterStyle), "ContourChannelFilterStyle", &MOC_CHANNEL, OPTEXP_CORE,
    "Type of orientation filtering to use in the contour channel "
    "(corresponds to old ParamMap parameter 'filterStyle=2')",
    "contour-filter-style", '\0', "<Steerable|Gabor|GaussianSteerable>", "Gabor" }

Definition at line 1872 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelFirstScale [static]
Initial value:
  { MODOPT_ARG(unsigned int), "ContourChannelFirstScale", &MOC_CHANNEL, OPTEXP_CORE,
    "Lowest pyramid scale to use in the contour channel "
    "(corresponds to old ParamMap parameter 'firstScale=0')",
    "contour-first-scale", '\0', "<uint>", "0" }

Definition at line 1850 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelGaborPeriod [static]
Initial value:
  { MODOPT_ARG(float), "ContourChannelGaborPeriod", &MOC_CHANNEL, OPTEXP_CORE,
    "Period of the sine-wave component of the gabor filter used in the "
    "contour channel "
    "(corresponds to old ParamMap parameter 'gaborPeriod=5.0')",
    "contour-gabor-width", '\0', "<float>", "5.0" }

Definition at line 1879 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelIterations [static]
Initial value:
  { MODOPT_ARG(unsigned int), "ContourChannelIterations", &MOC_CHANNEL, OPTEXP_CORE,
    "Number of iterations to run in the contour channel "
    "(corresponds to old ParamMap parameter 'iterations=3')",
    "contour-num-iterations", '\0', "<uint>", "3" }

Definition at line 1836 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelLowPassWidth [static]
Initial value:
  { MODOPT_ARG(unsigned int), "ContourChannelLowPassWidth", &MOC_CHANNEL, OPTEXP_CORE,
    "Width of low-pass filter to use in the contour channel "
    "(corresponds to old ParamMap parameter 'lowPassWidth=9')",
    "contour-lowpass-width", '\0', "<uint>", "9" }

Definition at line 1843 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelMaxInputDims [static]
Initial value:
  { MODOPT_ARG(Dims), "ContourChannelMaxInputDims", &MOC_CHANNEL, OPTEXP_CORE,
    "If input to the contour channel is larger than these dims, then "
    "it will be rescaled down to fit "
    "(corresponds to old ParamMap parameters 'maxInputW=10000' and 'maxInputH=10000')",
    "contour-max-input-dims", '\0', "<w>x<h>", "10000x10000" }

Definition at line 1864 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelNormFlags [static]
Initial value:
  { MODOPT_ARG(int), "ContourChannelNormFlags", &MOC_CHANNEL, OPTEXP_CORE,
    "Bitwise-OR'ed combination of Flags to use when normaling float images "
    "in the contour channel (FLOAT_NORM_0_255=1, FLOAT_NORM_WITH_SCALE=2, "
    "FLOAT_NORM_PRESERVE=4) "
    "(corresponds to old ParamMap parameter 'normFlags=3')",
    "contour-norm-flags", '\0', "<int>", "3" }

Definition at line 1902 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelNumScales [static]
Initial value:
  { MODOPT_ARG(unsigned int), "ContourChannelNumScales", &MOC_CHANNEL, OPTEXP_CORE,
    "Number of pyramid scale to use in the contour channel "
    "(corresponds to old ParamMap parameter 'scalesNumber=3')",
    "contour-num-scales", '\0', "<uint>", "3" }

Definition at line 1857 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelOutputBlur [static]
Initial value:
  { MODOPT_ARG(int), "ContourChannelOutputBlur", &MOC_CHANNEL, OPTEXP_CORE,
    "Box-filter width to use when blurring+decimating to rescale "
    "the output of the contour channel",
    "contour-output-blur", '\0', "<int>", "4" }

Definition at line 1911 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelSaveFilterOutput [static]
Initial value:
  { MODOPT_FLAG, "ContourChannelSaveFilterOutput", &MOC_CHANNEL, OPTEXP_SAVE,
    "Whether to save summary images of the contour channel's oriented "
    "filter outputs",
    "save-contour-filter-output", '\0', "", "false" }

Definition at line 1925 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelSaveOutput [static]
Initial value:
  { MODOPT_FLAG, "ContourChannelSaveOutput", &MOC_CHANNEL, OPTEXP_SAVE,
    "Whether to save output maps from the contour channel",
    "save-contour-output", '\0', "", "false" }

Definition at line 1932 of file ContourChannel.C.

const ModelOptionDef OPT_ContourChannelSaveWeights [static]
Initial value:
  { MODOPT_FLAG, "ContourChannelSaveWeights", &MOC_CHANNEL, OPTEXP_SAVE,
    "Whether to save a summary image of the contour channel's kernel "
    "weights",
    "save-contour-weights", '\0', "", "false" }

Definition at line 1918 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionBeta [static]
Initial value:
  { MODOPT_ARG(float), "ContourConnectionBeta", &MOC_CHANNEL, OPTEXP_CORE,
    "Beta parameter for the Braun kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'beta=0.07')",
    "contour-cxn-beta", '\0', "<float>", "0.07" }

Definition at line 828 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionDims [static]
Initial value:
  { MODOPT_ARG(Dims), "ContourConnectionDims", &MOC_CHANNEL, OPTEXP_CORE,
    "Dimensions of the individual connection kernels in the contour channel "
    "(corresponds to old ParamMap parameters 'sizeX=13' and 'sizeY=13')",
    "contour-cxn-dims", '\0', "<w>x<h>", "13x13" }

Definition at line 353 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionExcitStrength [static]
Initial value:
  { MODOPT_ARG(float), "ContourConnectionExcitStrength", &MOC_CHANNEL, OPTEXP_CORE,
    "ExcitStrength parameter for the Braun kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'excitStrength=1.7')",
    "contour-cxn-excit-strength", '\0', "<float>", "1.7" }

Definition at line 814 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionInhibStrength [static]
Initial value:
  { MODOPT_ARG(float), "ContourConnectionInhibStrength", &MOC_CHANNEL, OPTEXP_CORE,
    "InhibStrength parameter for the Braun kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'inhibStrength=-0.3')",
    "contour-cxn-inhib-strength", '\0', "<float>", "-0.3" }

Definition at line 821 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionNumOrient [static]
Initial value:
  { MODOPT_ARG(int), "ContourConnectionNumOrient", &MOC_CHANNEL, OPTEXP_CORE,
    "Number of orientations to use in the contour channel's connection kernel "
    "(corresponds to old ParamMap parameter 'numAngles=12')",
    "contour-num-orient", '\0', "<int>", "12" }

Definition at line 360 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionOrthoIntxn [static]
Initial value:
  { MODOPT_FLAG, "ContourConnectionOrthoIntxn", &MOC_CHANNEL, OPTEXP_CORE,
    "Whether to include (inhibitory) interactions between (near-)orthogonal "
    "orientations in the contour channel "
    "(corresponds to old ParamMap parameter 'orthoIntxn=0')",
    "contour-ortho-interaction", '\0', "", "false" }

Definition at line 835 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionPeakDistance [static]
Initial value:
  { MODOPT_ARG(float), "ContourConnectionPeakDistance", &MOC_CHANNEL, OPTEXP_CORE,
    "PeakDistance parameter for the Braun kernel in the contour channel "
    "(corresponds to old ParamMap parameter 'peakDistance=2.0')",
    "contour-cxn-peak-distance", '\0', "<float>", "2.0" }

Definition at line 807 of file ContourChannel.C.

const ModelOptionDef OPT_ContourConnectionType [static]
Initial value:
  { MODOPT_ARG(ContourConnectionType), "ContourConnectionType", &MOC_CHANNEL, OPTEXP_CORE,
    "Type of connection kernel to use in the contour channel "
    "(corresponds to old ParamMap parameter 'cxnType=3')",
    "contour-cxn-type", '\0', "<Cinnic|Braun|BraunNorm>", "BraunNorm" }

Definition at line 1829 of file ContourChannel.C.

const ModelOptionDef OPT_ContourLayerDynamicFilterThresh [static]
Initial value:
  { MODOPT_ARG(float), "ContourLayerDynamicFilterThresh", &MOC_CHANNEL, OPTEXP_CORE,
    "Timestep for the contour channel with --contour-dynamics-type=Dynamic "
    "(corresponds to old ParamMap parameter 'filterThresh=0.0001')",
    "contour-layer-filter-thresh", '\0', "<float>", "0.0001" }

Definition at line 1075 of file ContourChannel.C.

const ModelOptionDef OPT_ContourLayerDynamicTimestep [static]
Initial value:
  { MODOPT_ARG(float), "ContourLayerDynamicTimestep", &MOC_CHANNEL, OPTEXP_CORE,
    "Timestep for the contour channel with --contour-dynamics-type=Dynamic "
    "(corresponds to old ParamMap parameter 'timestep=0.5')",
    "contour-layer-timestep", '\0', "<float>", "0.5" }

Definition at line 1068 of file ContourChannel.C.

const ModelOptionDef OPT_ContourLayerSaveDetails [static]
Initial value:
  { MODOPT_FLAG, "ContourLayerSaveDetails", &MOC_CHANNEL, OPTEXP_SAVE,
    "Whether to save detailed intermediate maps from individual scale "
    "bands in the contour channel",
    "save-contour-layer-details", '\0', "", "false" }

Definition at line 980 of file ContourChannel.C.

const ModelOptionDef OPT_ContourLayerSaveOutput [static]
Initial value:
  { MODOPT_FLAG, "ContourLayerSaveOutput", &MOC_CHANNEL, OPTEXP_SAVE,
    "Whether to save per-iteration output from individual scale bands "
    "in the contour channel",
    "save-contour-layer-output", '\0', "", "false" }

Definition at line 973 of file ContourChannel.C.

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