Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pvisionTCP3.C File Reference


Detailed Description

A parallel vision slave to use w/ pvisionTCP3master

Definition in file pvisionTCP3.C.

#include "Beowulf/Beowulf.H"
#include "Component/ModelManager.H"
#include "Image/ColorOps.H"
#include "Image/Image.H"
#include "Image/ImageSet.H"
#include "Image/Pixels.H"
#include "Image/PyramidOps.H"
#include "Image/ShapeOps.H"
#include "Image/Transforms.H"
#include "Image/fancynorm.H"
#include "Parallel/pvisionTCP-defs.H"
#include "Util/Assert.H"
#include "Util/Timer.H"
#include "Util/Types.H"
#include <signal.h>

Include dependency graph for pvisionTCP3.C:

Go to the source code of this file.

Defines

#define sml   2
#define delta_min   3
#define delta_max   4
#define level_min   0
#define level_max   2
#define maxdepth   (level_max + delta_max + 1)
#define normtyp   (VCXNORM_MAXNORM)
#define IWEIGHT   1.0
#define CWEIGHT   1.0
#define OWEIGHT   1.0
#define FWEIGHT   1.5

Functions

void terminate (int s)
 Signal handler (e.g., for control-C).
void computeCMAP (TCPmessage &msg, const PyramidType ptyp, const float ori, const float coeff, const int slave, nub::soft_ref< Beowulf > &b)
 Compute a conspicuity map from an image received in a message.
void computeCMAP2 (TCPmessage &msg, const PyramidType ptyp, const float ori, const float coeff, const int slave, nub::soft_ref< Beowulf > &b)
 Compute a conspicuity map from two images received in a message.
void computeCMAP (const Image< float > &fima, const PyramidType ptyp, const float ori, const float coeff, const int slave, nub::soft_ref< Beowulf > &b, const int32 id)
 Compute a conspicuity map from an image.
int main (const int argc, const char **argv)

Variables

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


Function Documentation

void computeCMAP const Image< float > &  fima,
const PyramidType  ptyp,
const float  ori,
const float  coeff,
const int  slave,
nub::soft_ref< Beowulf > &  b,
const int32  id
 

Compute a conspicuity map from an image.

void computeCMAP TCPmessage msg,
const PyramidType  ptyp,
const float  ori,
const float  coeff,
const int  slave,
nub::soft_ref< Beowulf > &  b
 

Compute a conspicuity map from an image received in a message.

void computeCMAP2 TCPmessage msg,
const PyramidType  ptyp,
const float  ori,
const float  coeff,
const int  slave,
nub::soft_ref< Beowulf > &  b
 

Compute a conspicuity map from two images received in a message.

void terminate int  s  ) 
 

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

Definition at line 61 of file pvisionTCP3.C.

References goforever, and LERROR.


Variable Documentation

bool goforever = true [static]
 

Will turn false on interrupt signal.

See the pvisionTCP3go script in bin/ for how to launch the slaves, and see pvisionTCP3-master.C for the master program.

Definition at line 58 of file pvisionTCP3.C.


Generated on Mon Nov 23 15:48:55 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4