
#include "Component/JobServerConfigurator.H"#include "Component/ModelManager.H"#include "Component/GlobalOpts.H"#include "Channels/ChannelOpts.H"#include "Media/FrameSeries.H"#include "Transport/FrameInfo.H"#include "Raster/GenericFrame.H"#include "Image/Image.H"#include "Image/ImageSet.H"#include "Image/DrawOps.H"#include "Image/ShapeOps.H"#include "Image/Layout.H"#include "GUI/ImageDisplayStream.H"#include "GUI/XWinManaged.H"#include "GUI/DebugWin.H"#include "GUI/SimpleMeter.H"#include "Neuro/EnvOpts.H"#include "Neuro/NeuroOpts.H"#include "Apps/BorderWatch/ImageInfo.H"#include "Simulation/SimulationOpts.H"#include "Simulation/SimEventQueue.H"#include "Simulation/SimEventQueueConfigurator.H"#include "Util/Timer.H"#include <queue>#include <cmath>#include <cstdio>#include <fstream>
Go to the source code of this file.
Functions | |
| void | displayOutput (const Image< PixRGB< byte > > &img, nub::ref< OutputFrameSeries > ofs, bool showThumbs) |
| int | main (const int argc, const char **argv) |
Variables | |
| const ModelOptionCateg | MOC_BORDERWATCH |
| static const ModelOptionDef | OPT_ShowDebugWin |
| static const ModelOptionDef | OPT_ShowThumbs |
| static const ModelOptionDef | OPT_Threshold |
| static const ModelOptionDef | OPT_ImgQLen |
| const ModelOptionDef | OPT_OutFname |
Border watch
Definition in file BorderWatch.C.
| const ModelOptionCateg MOC_BORDERWATCH |
{
MOC_SORTPRI_3, "BorderWatch-Related Options" }
Definition at line 63 of file BorderWatch.C.
const ModelOptionDef OPT_ImgQLen [static] |
{ MODOPT_ARG(uint), "ImgQLen", &MOC_BORDERWATCH, OPTEXP_CORE,
"Length of the queue of images for movie context, in frames",
"imgqlen", '\0', "<uint>", "50" }
Definition at line 82 of file BorderWatch.C.
| const ModelOptionDef OPT_OutFname |
{ MODOPT_ARG_STRING, "OutFname", &MOC_BORDERWATCH, OPTEXP_CORE,
"File name for text output data (or empty to not save output data)",
"out-fname", '\0', "<file>", "" }
Definition at line 87 of file BorderWatch.C.
const ModelOptionDef OPT_ShowDebugWin [static] |
{ MODOPT_FLAG, "ShowDebugWin", &MOC_BORDERWATCH, OPTEXP_CORE,
"Whether to show the input image, the saliency maps, and the beliefs. "
"This is used for debugging and setting the thresholds. ",
"show-debug-win", '\0', "", "false" }
Definition at line 66 of file BorderWatch.C.
const ModelOptionDef OPT_ShowThumbs [static] |
{ MODOPT_FLAG, "ShowThumbs", &MOC_BORDERWATCH, OPTEXP_CORE,
"Show thumbnails of the most recent frames that had surprise above threshold",
"show-thumbs", '\0', "", "false" }
Definition at line 72 of file BorderWatch.C.
const ModelOptionDef OPT_Threshold [static] |
{ MODOPT_ARG(float), "Threshold", &MOC_BORDERWATCH, OPTEXP_CORE,
"The threshold level at which to save images to disk. ",
"threshold", '\0', "<float>", "3.5e-10" }
Definition at line 77 of file BorderWatch.C.
1.6.3