Definition and access functions for ColorTracker class. More...
#include <BeoSub/ColorTracker.H>
Public Member Functions | |
Constructors and Destructors | |
ColorTracker (OptionManager &mgr, const std::string &descrName="ColorTracker", const std::string &tagName="ColorTracker") | |
Constructor. | |
~ColorTracker () | |
Destructor. | |
member functions | |
void | setupTracker (const char *colorArg, Image< PixRGB< byte > > image, bool debug) |
bool | runTracker (float threshold, float &xpos, float &ypos, float &mass) |
Definition and access functions for ColorTracker class.
ColorTracker is the color tracking module for the BeoSub. It simply checks for the existence of a color within an image and returns the position of the largest "blob" of that color if found
Definition at line 59 of file ColorTracker.H.
ColorTracker::ColorTracker | ( | OptionManager & | mgr, | |
const std::string & | descrName = "ColorTracker" , |
|||
const std::string & | tagName = "ColorTracker" | |||
) |
ColorTracker::~ColorTracker | ( | ) |
Destructor.
Definition at line 55 of file ColorTracker.C.
void ColorTracker::setupTracker | ( | const char * | colorArg, | |
Image< PixRGB< byte > > | image, | |||
bool | debug | |||
) |
+/- 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 boundry)
lowest value for color adaptation possible (hard boundry)
Definition at line 60 of file ColorTracker.C.
References Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getWidth(), image, rutz::shared_ptr< T >::reset(), segmentImageTrackMC::SITsetBoxColor(), segmentImageTrackMC::SITsetCircleColor(), segmentImageTrackMC::SITsetFrame(), segmentImageTrackMC::SITsetTrackColor(), segmentImageTrackMC::SITsetUseSmoothing(), segmentImageTrackMC::SITtoggleCandidateBandPass(), and segmentImageTrackMC::SITtoggleColorAdaptation().