pvisionTCP4-master.C File Reference

#include "Beowulf/Beowulf.H"
#include "Component/ModelManager.H"
#include "Devices/DeviceOpts.H"
#include "Devices/FrameGrabberConfigurator.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 "Image/Transforms.H"
#include "Neuro/NeuroOpts.H"
#include "Neuro/SaccadeControllerConfigurator.H"
#include "Neuro/SaccadeController.H"
#include "Parallel/pvisionTCP-defs.H"
#include "Simulation/SimEventQueue.H"
#include "Simulation/SimEventQueueConfigurator.H"
#include "Transport/FrameIstream.H"
#include "GUI/SDLdisplay.H"
#include "Util/Assert.H"
#include "Util/FpsTimer.H"
#include "Util/Timer.H"
#include "Util/sformat.H"
#include "Video/RgbConversion.H"
#include "Media/FrameSeries.H"
#include "Transport/FrameInfo.H"
#include <signal.h>
#include <unistd.h>
Include dependency graph for pvisionTCP4-master.C:

Go to the source code of this file.

Defines

#define PRESCALE   2
 prescale level by which we downsize images before sending them off
#define NAVG   20
 averaging window
#define TOTAL_FRAMES   100

Functions

void terminate (int s)
 Signal handler (e.g., for control-C).
void receiveCMAPS (nub::soft_ref< Beowulf > &beo, Image< float > *cmap, int32 *cmapframe)
 function to receive results from slaves
int submain (int argc, char **argv)
int main (int argc, char **argv)

Variables

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

Detailed Description

Grab & process over beowulf w/ pvisionTCP3. Like pvisionTCP3 but with input and output FrameSeries

Definition in file pvisionTCP4-master.C.


Define Documentation

#define NAVG   20

averaging window

Definition at line 87 of file pvisionTCP4-master.C.

#define PRESCALE   2

prescale level by which we downsize images before sending them off

This parallel vision processing master is for use with pvisionTCP3. See the pvisionTCP3go script in bin/ for how to launch the slaves. The main difference between the TCP2 and TCP3 versions is that TCP3 uses load-balancing to send images to the slaves, and the master node is not only in charge of grabbing the video and displaying the results, but also of collecting the various conspicuity maps and assembling them into the saliency map.

Definition at line 84 of file pvisionTCP4-master.C.


Function Documentation

void receiveCMAPS ( nub::soft_ref< Beowulf > &  beo,
Image< float > *  cmap,
int32 cmapframe 
)

function to receive results from slaves

Definition at line 415 of file pvisionTCP4-master.C.

References TCPmessage::getElementFloatIma(), and NBCMAP4.

void terminate ( int  s  ) 

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

Definition at line 93 of file pvisionTCP4-master.C.

References goforever.


Variable Documentation

bool goforever = true [static]

Will turn false on interrupt signal.

Definition at line 90 of file pvisionTCP4-master.C.

Referenced by terminate().

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