beobot-followColor-master.C File Reference

#include "Beowulf/Beowulf.H"
#include "Component/ModelManager.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "Devices/DeviceOpts.H"
#include "Raster/Raster.H"
#include "Image/Image.H"
#include "Transport/FrameIstream.H"
#include "GUI/XWinManaged.H"
#include "GUI/XWindow.H"
#include "Beobot/BeobotControl.H"
#include "Util/Timer.H"
#include "Util/Types.H"
#include "Util/log.H"
#include "VFAT/segmentImageTrackMC.H"
#include <cstdio>
#include <cstdlib>
#include <signal.h>
#include "Beobot/BeobotConfig.H"
Include dependency graph for beobot-followColor-master.C:

Go to the source code of this file.

Defines

#define NAVG   20

Functions

void terminate (int s)
int main (const int argc, const char **argv)
 The main routine. Grab frames, process, send commands to slave node.

Variables

static bool goforever = true

Detailed Description

color segment following - master adapted from VFAT/test-segmentImageMC.C

Definition in file beobot-followColor-master.C.


Function Documentation

int main ( const int  argc,
const char **  argv 
)

The main routine. Grab frames, process, send commands to slave node.

extracted color signature

+/- tollerance value on mean for track

normalizer over color values (highest value possible)

how many standard deviations out to adapt, higher means less bias

highest value for color adaptation possible (hard boundary)

lowest value for color adaptation possible (hard boundary)

Definition at line 71 of file beobot-followColor-master.C.

References ModelComponent::addSubComponent(), color, XWindow::drawImage(), BeobotConfig::gearMaxVal, BeobotConfig::gearMinVal, BeobotConfig::gearNeutralVal, BeobotConfig::gearServoNum, Timer::get(), goforever, height, ModelManager::parseCommandLine(), Timer::reset(), Image< T >::resize(), segmenter, segmentImageTrackMC::SITgetBlobMass(), segmentImageTrackMC::SITgetBlobPosition(), segmentImageTrackMC::SITgetBlobPosX(), segmentImageTrackMC::SITgetBlobPosY(), segmentImageTrackMC::SITgetBlobWeight(), segmentImageTrackMC::SITgetMinMaxBoundry(), segmentImageTrackMC::SITnumberBlobs(), segmentImageTrackMC::SITreturnCandidateImage(), segmentImageTrackMC::SITreturnLOT(), segmentImageTrackMC::SITsetBoxColor(), segmentImageTrackMC::SITsetCircleColor(), segmentImageTrackMC::SITsetFrame(), segmentImageTrackMC::SITsetTrackColor(), segmentImageTrackMC::SITsetUseSmoothing(), segmentImageTrackMC::SITtrackImageAny(), BeobotConfig::speedMaxVal, BeobotConfig::speedMinVal, BeobotConfig::speedNeutralVal, BeobotConfig::speedServoNum, ModelComponent::start(), BeobotConfig::steerMaxVal, BeobotConfig::steerMinVal, BeobotConfig::steerNeutralVal, BeobotConfig::steerServoNum, and ModelComponent::stop().

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