Public Member Functions | |
ColorSegmenterI (OptionManager &mgr, const std::string &descrName="ColorSegmenter", const std::string &tagName="ColorSegmenter") | |
void | updateFrame (Image< PixRGB< byte > > img, bool isFwdCamera) |
void | updateFrame (Image< PixRGB< byte > > img, string cameraId) |
virtual void | registerTopics () |
and registerPublisher calls that you would like to happen automatically after init. |
Definition at line 29 of file ColorSegmenterI.H.
void ColorSegmenterI::registerTopics | ( | ) | [virtual] |
and registerPublisher calls that you would like to happen automatically after init.
Register Topics: This function is called at the end of init, and is virtual so that is can be overloaded by chid classes. In your overloaded version you should put all of the registerSubsciption
Reimplemented from RobotBrainComponent.
Definition at line 25 of file ColorSegmenterI.C.
References RobotBrainComponent::registerPublisher().
*The code between this ///* and the following //*/ can be commented out when not looking at output to improve performance.
Reimplemented from VisionBrainComponentI.
Definition at line 45 of file ColorSegmenterI.C.
References concatLooseX(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), RobotBrainComponent::publish(), Image< T >::resize(), Image< T >::setVal(), segmentImage2::SIcalcMassCenter(), segmentImage2::SIgetCenterX(), segmentImage2::SIgetCenterY(), segmentImage2::SIgetMass(), segmentImage2::SInumberBlobs(), segmentImage2::SIreturnCandidates(), segmentImage2::SIsegment(), segmentImage2::SIsetFrame(), segmentImage2::SIsetHue(), segmentImage2::SIsetSat(), segmentImage2::SIsetVal(), and SRC_POS.