I've been trying out the camera in the vision assistant and it works great. Now I wanna put ellipse detection into our robot. The code below is the code straight from the documentation but it isn't working though because it doesn't know where any of the mentioned classes are (mono image, color image). I've been looking around in WPI LIB and stuff trying to find where the classes are so I can reference them properly, but to know avail. Anyone got any working code that they'd be happy to show me? Or at least tell me where the classes are?
Code:
ColorImage *image;
MonoImage *luminancePlane = image->getLuminancePlane();
vector<EllipseMatch> *results = luminancePlane->DetectEllipses(&ellipseDescriptor, &curveOptions, NULL, NULL);
printf("Found %d ellipses\n", results->size());
delete luminancePlane;