#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 <signal.h>
#include <unistd.h>
Go to the source code of this file.
Defines | |
#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, 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. |
Grab & process over beowulf w/ pvisionTCP3
Definition in file pvisionTCP3-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 82 of file pvisionTCP3-master.C.
void receiveCMAPS | ( | nub::soft_ref< Beowulf > & | beo, | |
Image< float > * | cmap, | |||
int32 * | cmapframe | |||
) |
function to receive results from slaves
Definition at line 332 of file pvisionTCP3-master.C.
References TCPmessage::getElementFloatIma().
void terminate | ( | int | s | ) |
Signal handler (e.g., for control-C).
Definition at line 87 of file pvisionTCP3-master.C.
References goforever.
bool goforever = true [static] |
Will turn false on interrupt signal.
Definition at line 84 of file pvisionTCP3-master.C.
Referenced by terminate().