#include "Beowulf/Beowulf.H"
#include "Component/ModelManager.H"
#include "Devices/DeviceOpts.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "GUI/XWindow.H"
#include "Image/CutPaste.H"
#include "Image/DrawOps.H"
#include "Image/FilterOps.H"
#include "Image/Image.H"
#include "Image/ImageSet.H"
#include "Image/ShapeOps.H"
#include "Media/FrameSeries.H"
#include "Neuro/NeuroOpts.H"
#include "Neuro/SaccadeController.H"
#include "Neuro/SaccadeControllerConfigurator.H"
#include "Simulation/SimEventQueue.H"
#include "Simulation/SimEventQueueConfigurator.H"
#include "Transport/FrameIstream.H"
#include "Psycho/PsychoDisplay.H"
#include "Util/Assert.H"
#include "Util/Timer.H"
#include "VFAT/featureClusterVision.H"
#include "Video/RgbConversion.H"
#include <signal.h>
#include <unistd.h>
Go to the source code of this file.
Defines | |
#define | BEO_RETINA 1 |
#define | BEO_WINNER 2 |
#define | BEO_LUMINANCE 3 |
#define | BEO_REDGREEN 4 |
#define | BEO_BLUEYELLOW 5 |
#define | BEO_ORI0 6 |
#define | BEO_ORI45 7 |
#define | BEO_ORI90 8 |
#define | BEO_ORI135 9 |
#define | BEO_CMAP 10 |
#define | BEO_FLICKER 11 |
#define | NBCMAP 7 |
Number of conspicuity maps for pvisionTCP. | |
#define | NBCMAP2 8 |
Number of conspicuity maps fo pvisionTCP2. | |
#define | POFFSET 8 |
Node offset for the two processing streams: | |
#define | NAVG 20 |
Number of frames over which average framerate is computed. | |
#define | PRESCALE 2 |
prescale level by which we downsize images before sending them off | |
Functions | |
void | terminate (int s) |
Signal handler (e.g., for control-C). | |
void | receiveCMAPS (nub::soft_ref< Beowulf > &beo, std::vector< Image< float > > *cmap, int32 *cmapframe) |
function to receive results from slaves | |
int | main (const int argc, char **argv) |
Variables | |
static bool | goforever = true |
Will turn false on interrupt signal. |
Grab & process over beowulf w/ pvisionTCP3
Definition in file fzvisionTCP3-master.C.
#define BEO_RETINA 1 |
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 77 of file fzvisionTCP3-master.C.
#define NAVG 20 |
Number of frames over which average framerate is computed.
Definition at line 99 of file fzvisionTCP3-master.C.
#define NBCMAP 7 |
Number of conspicuity maps for pvisionTCP.
Definition at line 90 of file fzvisionTCP3-master.C.
#define NBCMAP2 8 |
Number of conspicuity maps fo pvisionTCP2.
Definition at line 93 of file fzvisionTCP3-master.C.
#define POFFSET 8 |
Node offset for the two processing streams:
Definition at line 96 of file fzvisionTCP3-master.C.
#define PRESCALE 2 |
prescale level by which we downsize images before sending them off
Definition at line 102 of file fzvisionTCP3-master.C.
void receiveCMAPS | ( | nub::soft_ref< Beowulf > & | beo, | |
std::vector< Image< float > > * | cmap, | |||
int32 * | cmapframe | |||
) |
function to receive results from slaves
Definition at line 402 of file fzvisionTCP3-master.C.
References TCPmessage::getElementFloatIma().
void terminate | ( | int | s | ) |
Signal handler (e.g., for control-C).
Definition at line 107 of file fzvisionTCP3-master.C.
References goforever.
bool goforever = true [static] |
Will turn false on interrupt signal.
Definition at line 104 of file fzvisionTCP3-master.C.
Referenced by terminate().