#include "Component/ModelManager.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "GUI/XWindow.H"
#include "Raster/Raster.H"
#include "Transport/FrameIstream.H"
#include "VFAT/segmentImageTrackMC.H"
#include "rutz/shared_ptr.h"
#include <cstdio>
#include <cstdlib>
Go to the source code of this file.
Defines | |
#define | NAVG 20 |
Functions | |
int | main (const int argc, const char **argv) |
A basic test program for segmentImageMC tracker. |
track color in grabbed frame
Definition in file test-segmentImageMC.C.
int main | ( | const int | argc, | |
const char ** | argv | |||
) |
A basic test program for segmentImageMC tracker.
Mean color to track (ideal color for red feducial)
Mean color to track (ideal color for blue feducial)
extracted 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 53 of file test-segmentImageMC.C.
References ModelComponent::addSubComponent(), color, XWindow::drawImage(), Timer::get(), height, ModelManager::parseCommandLine(), Timer::reset(), Image< T >::resize(), segmenter, segmentImageTrackMC::SITreturnCandidateImage(), segmentImageTrackMC::SITsetBoxColor(), segmentImageTrackMC::SITsetCircleColor(), segmentImageTrackMC::SITsetFrame(), segmentImageTrackMC::SITsetTrackColor(), segmentImageTrackMC::SITsetUseSmoothing(), segmentImageTrackMC::SITtrackImageAny(), ModelComponent::start(), and ModelComponent::stop().