pvisionTCP3.C File Reference

#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.

Detailed Description

A parallel vision slave to use w/ pvisionTCP3master

Definition in file pvisionTCP3.C.


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 
)
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.

Definition at line 193 of file pvisionTCP3.C.

References TCPmessage::getElementByteIma(), and TCPmessage::getID().

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.

Definition at line 204 of file pvisionTCP3.C.

References TCPmessage::getElementByteIma(), and TCPmessage::getID().

void terminate ( int  s  ) 

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

Definition at line 61 of file pvisionTCP3.C.

References goforever.


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.

Referenced by terminate().

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