nerd-camTCP2-master.C File Reference

#include "Beowulf/Beowulf.H"
#include "Component/ModelManager.H"
#include "Devices/CameraControl.H"
#include "Devices/DeviceOpts.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "GUI/XWindow.H"
#include "Image/ColorOps.H"
#include "Image/CutPaste.H"
#include "Image/DrawOps.H"
#include "Image/FilterOps.H"
#include "Image/Image.H"
#include "Image/ImageSet.H"
#include "Image/MathOps.H"
#include "Image/Pixels.H"
#include "Image/ShapeOps.H"
#include "Parallel/pvisionTCP-defs.H"
#include "Transport/FrameIstream.H"
#include "Util/Assert.H"
#include "Util/Timer.H"
#include "rutz/shared_ptr.h"
#include <signal.h>
#include <unistd.h>
Include dependency graph for nerd-camTCP2-master.C:

Go to the source code of this file.

Defines

#define NAVG   20
 Number of frames over which average framerate is computed.
#define NSTAT   4
 Number of stats collected.
#define PRESCALE   2
 prescale level by which we downsize images before sending them off
#define SLAVES   "n01 n02 n03 n04 n05 n06 n07 n08 n09 n10 n11 n12 n13 n14 \n15 n16"
 Names of the beowulf slaves.
#define SHIFTINT   5
 shift attention at most once every SHIFTINT frames
#define SMINJECT   0.6f
 injection ratio between new and older sm:
#define SMTHRESH   200
 threshold salience (between 0 and 255) to warrant a shift of attention

Functions

void terminate (int s)
 Signal handler (e.g., for control-C).
int main (const int argc, const char **argv)

Variables

static bool goforever = true
 Will turn false on interrupt signal.

Detailed Description

Grab & process over beowulf w/ pvisionTCP2

Definition in file nerd-camTCP2-master.C.


Define Documentation

#define NAVG   20

Number of frames over which average framerate is computed.

This parallel vision processing master is for use with pvisionTCP2. See the pvisionTCP2go script in bin/ for how to launch the slaves.

Definition at line 68 of file nerd-camTCP2-master.C.

#define NSTAT   4

Number of stats collected.

Definition at line 70 of file nerd-camTCP2-master.C.

#define PRESCALE   2

prescale level by which we downsize images before sending them off

Definition at line 73 of file nerd-camTCP2-master.C.

#define SHIFTINT   5

shift attention at most once every SHIFTINT frames

Definition at line 80 of file nerd-camTCP2-master.C.

#define SLAVES   "n01 n02 n03 n04 n05 n06 n07 n08 n09 n10 n11 n12 n13 n14 \n15 n16"

Names of the beowulf slaves.

Definition at line 76 of file nerd-camTCP2-master.C.

#define SMINJECT   0.6f

injection ratio between new and older sm:

Definition at line 83 of file nerd-camTCP2-master.C.

#define SMTHRESH   200

threshold salience (between 0 and 255) to warrant a shift of attention

Definition at line 86 of file nerd-camTCP2-master.C.


Function Documentation

void terminate ( int  s  ) 

Signal handler (e.g., for control-C).

Definition at line 91 of file nerd-camTCP2-master.C.

References goforever.


Variable Documentation

bool goforever = true [static]

Will turn false on interrupt signal.

Definition at line 88 of file nerd-camTCP2-master.C.

Referenced by terminate().

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