Below is my attempt to port the simple C++ example in the WPILib guide. The arguments to EllipseDescriptor need to be changes and I didn't include any of the exception handling code. This code may not work at all because I haven't tested it with a robot but the ellipse matches have an X/Y position to the ellipses it detects.
Code:
MonoImage image = AxisCamera.getInstance().getImage().getLuminancePlane();
EllipseMatch[] matches = image.detectEllipses(new EllipseDescriptor(1.0, 2.0, 3.0, 4.0));
// do something with the matches