
#include "Component/GlobalOpts.H"#include "Component/ModelManager.H"#include "Component/ModelOptionDef.H"#include "Image/Image.H"#include "Image/MathOps.H"#include "Image/Pixels.H"#include "Image/ShapeOps.H"#include "Media/FrameSeries.H"#include "Media/MediaOpts.H"#include "Psycho/EyeSFile.H"#include "TIGS/FeatureExtractorFactory.H"#include "TIGS/Figures.H"#include "TIGS/SaliencyMapFeatureExtractor.H"#include "TIGS/Scorer.H"#include "TIGS/TigsOpts.H"#include "TIGS/TopdownLearnerFactory.H"#include "TIGS/TrainingSet.H"#include "Util/Assert.H"#include "Util/FileUtil.H"#include "Util/Pause.H"#include "Util/SimTime.H"#include "Util/StringConversions.H"#include "Util/csignals.H"#include "Util/fpe.H"#include "rutz/error_context.h"#include "rutz/sfmt.h"#include "rutz/shared_ptr.h"#include "rutz/trace.h"#include <deque>#include <fstream>#include <iostream>#include <sstream>#include <unistd.h>#include <vector>
Go to the source code of this file.
Classes | |
| class | Context |
| class | TigsJob |
| class | TigsInputFrameSeries |
Functions | |
| int | submain (int argc, const char **argv) |
| int | main (int argc, const char **argv) |
Variables | |
| static const ModelOptionDef | OPT_DoBottomUpContext |
| static const ModelOptionDef | OPT_TdcSaveSumo |
| static const ModelOptionDef | OPT_TdcSaveSumo2 |
| static const ModelOptionDef | OPT_TdcSaveMaps |
| static const ModelOptionDef | OPT_TdcSaveMapsNormalized |
| static const ModelOptionDef | OPT_TdcLocalMax |
| static const ModelOptionDef | OPT_TdcTemporalMax |
| static const ModelOptionDef | OPT_TdcSaveRawData |
| static const ModelOptionDef | OPT_TdcRectifyTd |
| static const ModelOptionDef | OPT_TopdownContextSpec |
| static const ModelOptionDef | OPT_MoviePeriod |
| static const ModelOptionDef | OPT_MovieHertzObsolete |
| static const ModelOptionDef | OPT_NumSkipFrames |
| static const ModelOptionDef | OPT_NumTrainingFrames |
| static const ModelOptionDef | OPT_NumTestingFrames |
| static const ModelOptionDef | OPT_SaveGhostFrames |
| static const ModelOptionDef | OPT_GhostInput |
Definition in file test-TopdownContext.C.
const ModelOptionDef OPT_DoBottomUpContext [static] |
{ MODOPT_FLAG, "DoBottomUpContext", &MOC_TIGS, OPTEXP_CORE,
"Whether to scale the top-down prediction by a bottom-up map",
"bottom-up-context", '\0', "", "false" }
Definition at line 78 of file test-TopdownContext.C.
const ModelOptionDef OPT_GhostInput [static] |
{ MODOPT_ARG_STRING, "GhostInput", &MOC_TIGS, OPTEXP_CORE,
"Read ghost frame info from this file",
"ghost-input", '\0', "<filename>", "" }
Definition at line 177 of file test-TopdownContext.C.
const ModelOptionDef OPT_MovieHertzObsolete [static] |
{ MODOPT_OBSOLETE, "MovieHertzObsolete", &MOC_TIGS, OPTEXP_CORE,
"Obsolete; use --movie-period instead with a SimTime value",
"movie-hertz", '\0', "<float>", "0.0" }
Definition at line 146 of file test-TopdownContext.C.
const ModelOptionDef OPT_MoviePeriod [static] |
{ MODOPT_ARG(SimTime), "MoviePeriod", &MOC_TIGS, OPTEXP_CORE,
"Inter-frame period (or rate) of input movie",
"movie-period", '\0', "<float>{s|ms|us|ns|Hz}", "0.0s" }
Definition at line 140 of file test-TopdownContext.C.
const ModelOptionDef OPT_NumSkipFrames [static] |
{ MODOPT_ARG(int), "NumSkipFrames", &MOC_TIGS, OPTEXP_CORE,
"Number of frames to skip over at beginning of input movie",
"num-skip-frames", '\0', "<int>", "0" }
Definition at line 152 of file test-TopdownContext.C.
const ModelOptionDef OPT_NumTestingFrames [static] |
{ MODOPT_ARG(int), "NumTestingFrames", &MOC_TIGS, OPTEXP_CORE,
"Number of input movie frames to use as testing data",
"num-testing-frames", '\0', "<int>", "0" }
Definition at line 164 of file test-TopdownContext.C.
const ModelOptionDef OPT_NumTrainingFrames [static] |
{ MODOPT_ARG(int), "NumTrainingFrames", &MOC_TIGS, OPTEXP_CORE,
"Number of input movie frames to use as training data",
"num-training-frames", '\0', "<int>", "0" }
Definition at line 158 of file test-TopdownContext.C.
const ModelOptionDef OPT_SaveGhostFrames [static] |
{ MODOPT_ARG_STRING, "SaveGhostFrames", &MOC_TIGS, OPTEXP_CORE,
"Name of a file in which to save ghost frame info that can "
"be used to accelerate processing in a subsequent run",
"save-ghost-frames", '\0', "<filanem>", "" }
Definition at line 170 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcLocalMax [static] |
{ MODOPT_ARG(float), "TdcLocalMax", &MOC_TIGS, OPTEXP_CORE,
"Diameter of local max region to be applied to bias maps before scoring",
"tdc-local-max", '\0', "<float>", "1" }
Definition at line 108 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcRectifyTd [static] |
{ MODOPT_FLAG, "TdcRectifyTd", &MOC_TIGS, OPTEXP_CORE,
"Whether to rectify the top-down maps",
"tdc-rectify-td", '\0', "", "false" }
Definition at line 128 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcSaveMaps [static] |
{ MODOPT_FLAG, "TdcSaveMaps", &MOC_TIGS, OPTEXP_CORE,
"Whether to save the individual topdown context maps",
"tdc-save-maps", '\0', "", "false" }
Definition at line 96 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcSaveMapsNormalized [static] |
{ MODOPT_FLAG, "TdcSaveMapsNormalized", &MOC_TIGS, OPTEXP_CORE,
"Whether to rescale maps to [0,255] when saving with --tdc-save-maps",
"tdc-save-maps-normalized", '\0', "", "true" }
Definition at line 102 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcSaveRawData [static] |
{ MODOPT_FLAG, "TdcSaveRawData", &MOC_TIGS, OPTEXP_CORE,
"Whether to save a raw binary file containing the "
"bottom-up and top-down maps",
"tdc-save-raw-data", '\0', "", "false" }
Definition at line 121 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcSaveSumo [static] |
{ MODOPT_FLAG, "TdcSaveSumo", &MOC_TIGS, OPTEXP_CORE,
"Whether to save the sumo display",
"tdc-save-sumo", '\0', "", "false" }
Definition at line 84 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcSaveSumo2 [static] |
{ MODOPT_FLAG, "TdcSaveSumo2", &MOC_TIGS, OPTEXP_CORE,
"Whether to save the sumo2 display",
"tdc-save-sumo2", '\0', "", "false" }
Definition at line 90 of file test-TopdownContext.C.
const ModelOptionDef OPT_TdcTemporalMax [static] |
{ MODOPT_ARG(unsigned int), "TdcTemporalMax", &MOC_TIGS, OPTEXP_CORE,
"Number of frames across which to apply a temporal max to "
"bias maps before scoring",
"tdc-temporal-max", '\0', "<integer>", "1" }
Definition at line 114 of file test-TopdownContext.C.
const ModelOptionDef OPT_TopdownContextSpec [static] |
{ MODOPT_ARG_STRING, "TopdownContextSpec", &MOC_TIGS, OPTEXP_CORE,
"Specification string for a topdown context",
"context", '\0', "<string>", "" }
Definition at line 134 of file test-TopdownContext.C.
1.6.3