
00001 /*!@file Neuro/NeuroOpts.H */ 00002 00003 // //////////////////////////////////////////////////////////////////// // 00004 // The iLab Neuromorphic Vision C++ Toolkit - Copyright (C) 2000-2005 // 00005 // by the University of Southern California (USC) and the iLab at USC. // 00006 // See http://iLab.usc.edu for information about this project. // 00007 // //////////////////////////////////////////////////////////////////// // 00008 // Major portions of the iLab Neuromorphic Vision Toolkit are protected // 00009 // under the U.S. patent ``Computation of Intrinsic Perceptual Saliency // 00010 // in Visual Environments, and Applications'' by Christof Koch and // 00011 // Laurent Itti, California Institute of Technology, 2001 (patent // 00012 // pending; application number 09/912,225 filed July 23, 2001; see // 00013 // http://pair.uspto.gov/cgi-bin/final/home.pl for current status). // 00014 // //////////////////////////////////////////////////////////////////// // 00015 // This file is part of the iLab Neuromorphic Vision C++ Toolkit. // 00016 // // 00017 // The iLab Neuromorphic Vision C++ Toolkit is free software; you can // 00018 // redistribute it and/or modify it under the terms of the GNU General // 00019 // Public License as published by the Free Software Foundation; either // 00020 // version 2 of the License, or (at your option) any later version. // 00021 // // 00022 // The iLab Neuromorphic Vision C++ Toolkit is distributed in the hope // 00023 // that it will be useful, but WITHOUT ANY WARRANTY; without even the // 00024 // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // 00025 // PURPOSE. See the GNU General Public License for more details. // 00026 // // 00027 // You should have received a copy of the GNU General Public License // 00028 // along with the iLab Neuromorphic Vision C++ Toolkit; if not, write // 00029 // to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, // 00030 // Boston, MA 02111-1307 USA. // 00031 // //////////////////////////////////////////////////////////////////// // 00032 // 00033 // Primary maintainer for this file: 00034 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Neuro/NeuroOpts.H $ 00035 // $Id: NeuroOpts.H 12030 2009-11-16 02:39:27Z dberg $ 00036 // 00037 00038 #ifndef NEURO_NEUROOPTS_H_DEFINED 00039 #define NEURO_NEUROOPTS_H_DEFINED 00040 00041 class OptionManager; 00042 struct ModelOptionCateg; 00043 struct ModelOptionDef; 00044 00045 //! What to display/save options 00046 extern const ModelOptionCateg MOC_DISPLAY; 00047 00048 //! Command-line options for Retina 00049 //@{ 00050 00051 //! PFC-related options 00052 extern const ModelOptionCateg MOC_PFC; 00053 00054 extern const ModelOptionDef OPT_PrefrontalCortexType; 00055 00056 //! Retina-related options 00057 extern const ModelOptionCateg MOC_RETINA; 00058 00059 extern const ModelOptionDef OPT_RetinaType; 00060 extern const ModelOptionDef OPT_InputFramingImageName; 00061 extern const ModelOptionDef OPT_InputFramingImagePos; 00062 extern const ModelOptionDef OPT_FoveateInputDepth; 00063 extern const ModelOptionDef OPT_ShiftInputToEye; 00064 extern const ModelOptionDef OPT_ShiftInputToEyeBGcol; 00065 extern const ModelOptionDef OPT_InputFOV; 00066 extern const ModelOptionDef OPT_RetinaSaveInput; 00067 extern const ModelOptionDef OPT_RetinaSaveOutput; 00068 extern const ModelOptionDef OPT_RetinaStdSavePyramid; 00069 extern const ModelOptionDef OPT_RetinaMaskFname; 00070 extern const ModelOptionDef OPT_RetinaFlipHoriz; 00071 extern const ModelOptionDef OPT_RetinaFlipVertic; 00072 extern const ModelOptionDef OPT_RetinaSVResize; 00073 extern const ModelOptionDef OPT_RetinaSVCrop; 00074 extern const ModelOptionDef OPT_RetinaCTSize; 00075 extern const ModelOptionDef OPT_RetinaCTScale; 00076 extern const ModelOptionDef OPT_RetinaCTShift; 00077 extern const ModelOptionDef OPT_RetinaCTSlope; 00078 extern const ModelOptionDef OPT_RetinaCTOffset; 00079 extern const ModelOptionDef OPT_RetinaCTWedges; 00080 extern const ModelOptionDef OPT_RetinaCTRings; 00081 extern const ModelOptionDef OPT_RetinaCTReplicate; 00082 extern const ModelOptionDef OPT_RetinaDepthType; 00083 extern const ModelOptionDef OPT_RetinaOSGConfigFile; 00084 extern const ModelOptionDef OPT_RetinaOSGSaveFrames; 00085 extern const ModelOptionDef OPT_RetinaOSGDecimatePoints; 00086 extern const ModelOptionDef OPT_RetinaOSGDecimateBins; 00087 extern const ModelOptionDef OPT_RetinaOSGDesaturateGround; 00088 extern const ModelOptionDef OPT_RetinaOSGSnapShotsOnly; 00089 extern const ModelOptionDef OPT_RetinaOSGTimeSlice; 00090 //@} 00091 00092 //! Command-line options for RetinaToWorld 00093 //@{ 00094 extern const ModelOptionDef OPT_RetinaToWorldMapType; 00095 //@} 00096 00097 //! Command-line options for VisualCortex and derivatives 00098 //@{ 00099 00100 extern const ModelOptionDef OPT_VisualCortexType; 00101 extern const ModelOptionDef OPT_VCEMeyeFnames; 00102 extern const ModelOptionDef OPT_VCEMsigma; 00103 extern const ModelOptionDef OPT_VCEMforgetFac; 00104 extern const ModelOptionDef OPT_VCEMdelay; 00105 extern const ModelOptionDef OPT_VCEMuseMax; 00106 extern const ModelOptionDef OPT_VCEMsaccadeOnly; 00107 //@} 00108 00109 //! Command-line options for SimulationViewer and derivatvies 00110 extern const ModelOptionDef OPT_SimulationViewerType; 00111 extern const ModelOptionDef OPT_SVfontSize; 00112 extern const ModelOptionDef OPT_SVsaveTraj; 00113 extern const ModelOptionDef OPT_SVsaveXcombo; 00114 extern const ModelOptionDef OPT_SVsaveYcombo; 00115 extern const ModelOptionDef OPT_SVsaveTRMXcombo; 00116 extern const ModelOptionDef OPT_SVsaveTRMYcombo; 00117 extern const ModelOptionDef OPT_SVsaveTRMmegaCombo; 00118 extern const ModelOptionDef OPT_SVwarp3D; 00119 extern const ModelOptionDef OPT_SVmegaCombo; 00120 extern const ModelOptionDef OPT_SVmegaComboZoom; 00121 extern const ModelOptionDef OPT_SVmegaComboTopCMapsOnly; 00122 extern const ModelOptionDef OPT_SVcropFOA; 00123 extern const ModelOptionDef OPT_SVxwindow; 00124 extern const ModelOptionDef OPT_SVfoveateTraj; 00125 extern const ModelOptionDef OPT_SVstatsFname; 00126 extern const ModelOptionDef OPT_SVdisplayFOA; 00127 extern const ModelOptionDef OPT_SVdisplayPatch; 00128 extern const ModelOptionDef OPT_SVpatchSize; 00129 extern const ModelOptionDef OPT_SVeraseMarker; 00130 extern const ModelOptionDef OPT_SVdisplayFOAnum; 00131 extern const ModelOptionDef OPT_SVdisplayFOALinks; 00132 extern const ModelOptionDef OPT_SVdisplayEye; 00133 extern const ModelOptionDef OPT_SVdisplayEyeLinks; 00134 extern const ModelOptionDef OPT_SVdisplayHead; 00135 extern const ModelOptionDef OPT_SVdisplayHeadLinks; 00136 extern const ModelOptionDef OPT_SVdisplayAdditive; 00137 extern const ModelOptionDef OPT_SVdisplayTime; 00138 extern const ModelOptionDef OPT_SVdisplayHighlights; 00139 extern const ModelOptionDef OPT_SVdisplaySMmodulate; 00140 extern const ModelOptionDef OPT_SVdisplayBoring; 00141 extern const ModelOptionDef OPT_SVuseLargerDrawings; 00142 extern const ModelOptionDef OPT_SVdisplayInterp; 00143 extern const ModelOptionDef OPT_SVdisplayMapFactor; 00144 extern const ModelOptionDef OPT_SVdisplayMapType; 00145 extern const ModelOptionDef OPT_SVCOMPsaveMask; 00146 extern const ModelOptionDef OPT_SVCOMPsaveFoveatedImage; 00147 extern const ModelOptionDef OPT_SVCOMPDistanceFactor; 00148 extern const ModelOptionDef OPT_SVCOMPsaveEyeCombo; 00149 extern const ModelOptionDef OPT_SVCOMPnumFoveas; 00150 extern const ModelOptionDef OPT_SVCOMPeyeCompare; 00151 extern const ModelOptionDef OPT_SVCOMPcacheSize; 00152 extern const ModelOptionDef OPT_SVCOMPiframePeriod; 00153 extern const ModelOptionDef OPT_SVCOMPdisplayHumanEye; 00154 extern const ModelOptionDef OPT_SVCOMPuseTRMmax; 00155 extern const ModelOptionDef OPT_SVCOMPfoveaSCtype; 00156 extern const ModelOptionDef OPT_SVCOMPMultiRetinaDepth; 00157 extern const ModelOptionDef OPT_SVEMsaveMegaCombo; 00158 extern const ModelOptionDef OPT_SVEMdelayCacheSize; 00159 extern const ModelOptionDef OPT_SVEMmaxCacheSize; 00160 extern const ModelOptionDef OPT_SVEMoutFname; 00161 extern const ModelOptionDef OPT_SVEMsampleAtStart; 00162 extern const ModelOptionDef OPT_SVEMdisplaySacNum; 00163 extern const ModelOptionDef OPT_SVEMnumRandomSamples; 00164 extern const ModelOptionDef OPT_SVEMuseSaccadeInBlink; 00165 extern const ModelOptionDef OPT_SVEMuseDiagColors; 00166 extern const ModelOptionDef OPT_SVEMpriorRandomDistro; 00167 extern const ModelOptionDef OPT_SVEMmaxComboWidth; 00168 extern const ModelOptionDef OPT_SVEMbufDims; 00169 extern const ModelOptionDef OPT_SVEMuseIOR; 00170 extern const ModelOptionDef OPT_SVeyeSimFname; 00171 extern const ModelOptionDef OPT_SVeyeSimPeriod; 00172 extern const ModelOptionDef OPT_SVeyeSimTrash; 00173 extern const ModelOptionDef OPT_ASACdrawDiffParts; 00174 extern const ModelOptionDef OPT_ASACdrawBetaParts; 00175 extern const ModelOptionDef OPT_ASACdrawBiasParts; 00176 extern const ModelOptionDef OPT_ASACdrawSeperableParts; 00177 extern const ModelOptionDef OPT_ASACconfigFile; 00178 extern const ModelOptionDef OPT_NerdCamConfigFile; 00179 00180 extern const ModelOptionDef OPT_FOAradius; 00181 extern const ModelOptionDef OPT_FoveaRadius; 00182 00183 extern const ModelOptionDef OPT_AGStatsSaveFile; 00184 extern const ModelOptionDef OPT_ComputeAGStats; 00185 00186 //@} 00187 00188 //! Command-line options for InferoTemporal 00189 //@{ 00190 00191 //! Inferior Temporal Cortex Options 00192 extern const ModelOptionCateg MOC_ITC; 00193 00194 extern const ModelOptionDef OPT_InferoTemporalType; 00195 extern const ModelOptionDef OPT_AttentionObjRecog; 00196 extern const ModelOptionDef OPT_ObjectDatabaseFileName; 00197 extern const ModelOptionDef OPT_TrainObjectDB; 00198 extern const ModelOptionDef OPT_PromptUserTrainDB; 00199 extern const ModelOptionDef OPT_MatchObjects; 00200 extern const ModelOptionDef OPT_MatchingAlgorithm; 00201 extern const ModelOptionDef OPT_RecognitionMinMatch; 00202 extern const ModelOptionDef OPT_OutputFileName; 00203 //@} 00204 00205 //! Command-line options for ShapeEstimator 00206 //@{ 00207 extern const ModelOptionDef OPT_ShapeEstimatorMode; 00208 extern const ModelOptionDef OPT_ShapeEstimatorSmoothMethod; 00209 //@} 00210 00211 //! Command-line options for Brain 00212 //@{ 00213 00214 //! Brain-related options 00215 extern const ModelOptionCateg MOC_BRAIN; 00216 00217 extern const ModelOptionDef OPT_IORtype; 00218 extern const ModelOptionDef OPT_BrainBoringDelay; 00219 extern const ModelOptionDef OPT_BrainBoringSMmv; 00220 extern const ModelOptionDef OPT_BrainSaveObjMask; 00221 extern const ModelOptionDef OPT_BlankBlink; 00222 extern const ModelOptionDef OPT_BrainTooManyShifts; 00223 extern const ModelOptionDef OPT_BrainTooManyShiftsPerFrame; 00224 extern const ModelOptionDef OPT_TargetMaskFname; 00225 00226 //@} 00227 00228 //! Command-line options for SaliencyMap 00229 //@{ 00230 00231 //! SaliencyMap options 00232 extern const ModelOptionCateg MOC_SM; 00233 00234 extern const ModelOptionDef OPT_SaliencyMapType; 00235 extern const ModelOptionDef OPT_SMsaveResults; 00236 extern const ModelOptionDef OPT_SMsaveCumResults; 00237 extern const ModelOptionDef OPT_SMuseSacSuppress; 00238 extern const ModelOptionDef OPT_SMuseBlinkSuppress; 00239 extern const ModelOptionDef OPT_SMfastInputCoeff; 00240 extern const ModelOptionDef OPT_SMItoVcoeff; 00241 extern const ModelOptionDef OPT_SMginhDecay; 00242 extern const ModelOptionDef OPT_SMmaxWinV; 00243 //@} 00244 00245 //! Command-line options for TaskRelevanceMap 00246 //@{ 00247 00248 //! TaskRelevanceMap options 00249 extern const ModelOptionCateg MOC_TRM; 00250 00251 extern const ModelOptionDef OPT_TaskRelevanceMapType; 00252 extern const ModelOptionDef OPT_TRMsaveResults; 00253 extern const ModelOptionDef OPT_LearnTRM; 00254 extern const ModelOptionDef OPT_LearnUpdateTRM; 00255 extern const ModelOptionDef OPT_BiasTRM; 00256 extern const ModelOptionDef OPT_TRMKillStaticThresh; 00257 extern const ModelOptionDef OPT_TRMKillStaticCoeff; 00258 extern const ModelOptionDef OPT_TRMkillN; 00259 extern const ModelOptionDef OPT_TRMClusterCenterFile; 00260 extern const ModelOptionDef OPT_TRMTemplateDir; 00261 extern const ModelOptionDef OPT_TRMGistPCADims; 00262 extern const ModelOptionDef OPT_TRMGistPCAMatrix; 00263 extern const ModelOptionDef OPT_TRMCacheSize; 00264 extern const ModelOptionDef OPT_TRMUpdatePeriod; 00265 extern const ModelOptionDef OPT_TRMTigsMatrix; 00266 extern const ModelOptionDef OPT_TRMTigs2Matrix; 00267 extern const ModelOptionDef OPT_TRMImgPCADims; 00268 extern const ModelOptionDef OPT_TRMImgPCAMatrix; 00269 //@} 00270 00271 //! Command-line options for AttentionGuidanceMap 00272 //@{ 00273 00274 //! AttentionGuidanceMap options 00275 extern const ModelOptionCateg MOC_AGM; 00276 00277 extern const ModelOptionDef OPT_AttentionGuidanceMapType; 00278 extern const ModelOptionDef OPT_AGMsaveResults; 00279 00280 //@} 00281 //! AttentionGate options 00282 extern const ModelOptionCateg MOC_AG; 00283 00284 extern const ModelOptionDef OPT_AttentionGateType; 00285 extern const ModelOptionDef OPT_AttentionGateStageOneType; 00286 extern const ModelOptionDef OPT_AttentionGateStageTwoType; 00287 extern const ModelOptionDef OPT_AttentionGateStageTwoEpochs; 00288 extern const ModelOptionDef OPT_AGsaveResults; 00289 extern const ModelOptionDef OPT_AGTargetFrame; 00290 extern const ModelOptionDef OPT_AGMaskFile; 00291 //@} 00292 00293 //! Command-line options for SC and SCtypes 00294 //@{ 00295 00296 extern const ModelOptionCateg MOC_SC; 00297 00298 //for SC 00299 extern const ModelOptionDef OPT_SCDecoderType; 00300 extern const ModelOptionDef OPT_SCExModuleType; 00301 extern const ModelOptionDef OPT_SCInhModuleType; 00302 extern const ModelOptionDef OPT_SCUseLpt; 00303 extern const ModelOptionDef OPT_SCProbe; 00304 00305 //for SC fast 00306 extern const ModelOptionDef OPT_SCSgsDogExStd; 00307 extern const ModelOptionDef OPT_SCSgsDogInhStd; 00308 extern const ModelOptionDef OPT_SCSgsDogExW; 00309 extern const ModelOptionDef OPT_SCSgsDogInhW; 00310 extern const ModelOptionDef OPT_SCSgiDogExStd; 00311 extern const ModelOptionDef OPT_SCSgiDogInhStd; 00312 extern const ModelOptionDef OPT_SCSgiDogExW; 00313 extern const ModelOptionDef OPT_SCSgiDogInhW; 00314 00315 extern const ModelOptionDef OPT_SCFFStd; //feedforward to inhibitory layer 00316 extern const ModelOptionDef OPT_SCFBStd; //feedback to excitatory layer 00317 extern const ModelOptionDef OPT_SCFFw; //feedforward to inhibitory layer 00318 extern const ModelOptionDef OPT_SCFBw; //feedback to excitatory layer 00319 00320 //for sgs 00321 extern const ModelOptionDef OPT_SCSgsExStd; //excite spread in sgs 00322 extern const ModelOptionDef OPT_SCSgsInhStd; //inhibit spread in sgs 00323 extern const ModelOptionDef OPT_SCSgsExW; //neighborhood weight 00324 extern const ModelOptionDef OPT_SCSgsFFw; //feedforward to inhibitory layer 00325 extern const ModelOptionDef OPT_SCSgsFBw; //feedback to excitatory layer 00326 00327 //for sgi 00328 extern const ModelOptionDef OPT_SCSgiExStd; //excite spread in sgi 00329 extern const ModelOptionDef OPT_SCSgiInhStd; //inhibit spread in sgi 00330 extern const ModelOptionDef OPT_SCSgiExW; //neighborhood weight 00331 extern const ModelOptionDef OPT_SCSgiFFw; //feedforward to inhibitory layer 00332 extern const ModelOptionDef OPT_SCSgiFBw; //feedback to excitatory layer 00333 00334 //@} 00335 00336 //! Command-line options for WinnerTakeAll 00337 //@{ 00338 00339 //! WinnerTakeAll options 00340 extern const ModelOptionCateg MOC_WTA; 00341 00342 extern const ModelOptionDef OPT_WinnerTakeAllType; 00343 extern const ModelOptionDef OPT_WTAsaveResults; 00344 extern const ModelOptionDef OPT_WTAuseSacSuppress; 00345 extern const ModelOptionDef OPT_WTAuseBlinkSuppress; 00346 extern const ModelOptionDef OPT_WinnerTakeAllGreedyThreshFac; 00347 //@} 00348 00349 //! Command-line options for SaccadeController and derivatives 00350 //@{ 00351 00352 //! SaccadeController-related options 00353 extern const ModelOptionCateg MOC_SAC; 00354 00355 extern const ModelOptionDef OPT_SCeyeInitialPosition; 00356 extern const ModelOptionDef OPT_SCheadInitialPosition; 00357 extern const ModelOptionDef OPT_SCeyeMinSacLen; 00358 extern const ModelOptionDef OPT_SCheadMinSacLen; 00359 extern const ModelOptionDef OPT_SCeyeSpringK; 00360 extern const ModelOptionDef OPT_SCeyeFrictionMu; 00361 extern const ModelOptionDef OPT_SCeyeThreshMinOvert; 00362 extern const ModelOptionDef OPT_SCeyeThreshMaxCovert; 00363 extern const ModelOptionDef OPT_SCeyeThreshMinNum; 00364 extern const ModelOptionDef OPT_SCeyeThreshSalWeigh; 00365 extern const ModelOptionDef OPT_SCeyeMaxIdleSecs; 00366 extern const ModelOptionDef OPT_SCheadSpringK; 00367 extern const ModelOptionDef OPT_SCheadFrictionMu; 00368 extern const ModelOptionDef OPT_SCheadThreshMinOvert; 00369 extern const ModelOptionDef OPT_SCheadThreshMaxCovert; 00370 extern const ModelOptionDef OPT_SCheadThreshMinNum; 00371 extern const ModelOptionDef OPT_SCheadThreshSalWeigh; 00372 extern const ModelOptionDef OPT_SCheadMaxIdleSecs; 00373 extern const ModelOptionDef OPT_SCeyeBlinkWaitTime; 00374 extern const ModelOptionDef OPT_SCeyeBlinkDuration; 00375 00376 extern const ModelOptionDef OPT_EyeHeadControllerType; 00377 extern const ModelOptionDef OPT_SaccadeControllerEyeType; 00378 extern const ModelOptionDef OPT_SaccadeControllerHeadType; 00379 00380 extern const ModelOptionDef OPT_EHCeyeTrackConfig; 00381 00382 //@} 00383 00384 //! Command-line options for GistEstimator 00385 //@{ 00386 00387 //! GistEstimator Options 00388 extern const ModelOptionCateg MOC_GE; 00389 00390 extern const ModelOptionDef OPT_GistEstimatorType; 00391 extern const ModelOptionDef OPT_GistCenterSurroundFlag; 00392 extern const ModelOptionDef OPT_SaveGistFlag; 00393 //@} 00394 00395 //! Command-line options for VisualBuffer 00396 //@{ 00397 00398 //! VisualBuffer options 00399 extern const ModelOptionCateg MOC_VB; 00400 00401 extern const ModelOptionDef OPT_VisualBufferType; 00402 extern const ModelOptionDef OPT_VBignoreBoring; 00403 extern const ModelOptionDef OPT_VBobjectBased; 00404 extern const ModelOptionDef OPT_VBdims; 00405 extern const ModelOptionDef OPT_VBtimePeriod; 00406 extern const ModelOptionDef OPT_VBdecayFactor; 00407 extern const ModelOptionDef OPT_VBmaxNormType; 00408 //@} 00409 00410 //! Miscellaneous shared command-line options for neuro classes 00411 //@{ 00412 extern const ModelOptionDef OPT_HeadMarkerRadius; 00413 extern const ModelOptionDef OPT_MultiRetinaDepth; 00414 //@} 00415 00416 //! Neuro-related command-line option aliases 00417 //@{ 00418 extern const ModelOptionDef OPT_ALIAStop5; 00419 extern const ModelOptionDef OPT_ALIASinitialVCO; 00420 extern const ModelOptionDef OPT_ALIASmovie; 00421 extern const ModelOptionDef OPT_ALIASmovieFast; 00422 extern const ModelOptionDef OPT_ALIASmoviefov; 00423 extern const ModelOptionDef OPT_ALIASmovieeyehead; 00424 extern const ModelOptionDef OPT_ALIASmovieanim; 00425 extern const ModelOptionDef OPT_ALIASsurprise; 00426 extern const ModelOptionDef OPT_ALIASsurpriseRSVP; 00427 extern const ModelOptionDef OPT_ALIASeyeCompare; 00428 extern const ModelOptionDef OPT_ALIASeyeDisplay; 00429 extern const ModelOptionDef OPT_ALIASeyeMap; 00430 extern const ModelOptionDef OPT_ALIASbestMultiSpectralResidual; 00431 extern const ModelOptionDef OPT_ALIASoptiGainTrain; 00432 extern const ModelOptionDef OPT_ALIASoptiGainBias; 00433 00434 //! request all of the above-named OPT_ALIAS options 00435 void REQUEST_OPTIONALIAS_NEURO(OptionManager& m); 00436 //@} 00437 00438 00439 // ###################################################################### 00440 /* So things look consistent in everyone's emacs... */ 00441 /* Local Variables: */ 00442 /* indent-tabs-mode: nil */ 00443 /* End: */ 00444 00445 #endif // NEURO_NEUROOPTS_H_DEFINED
1.4.4