Accessor Functions Not Requiring Any Service
int VisionInput::getSegmentationWidth()
Returns the width of the segmentation image.
int VisionInput::getSegmentationHeight()
Returns the height of the segmentation image.
IplImage* VisionInput::getSegmentationImage1()
Returns the segmentation image as a 1 channel IplImage
CvPoint VisionInput::getCentroid()
Returns the weighted center of the entire segmentation image, viewing white pixels as 1 and black pixels as 0. Read more about getCentroid() use cases.
CvPoint VisionInput::getCentroid(IplROI roi)
Returns the weighted center of the region defined by roi, viewing white pixels as 1 and black pixels as 0.
