View Single Post
  #1   Spotlight this post!  
Unread 16-01-2010, 16:13
cheeser180 cheeser180 is offline
Registered User
AKA: Taylor McCormack
FRC #0151 (Tough Techs)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Nashua, NH
Posts: 6
cheeser180 is an unknown quantity at this point
Send a message via AIM to cheeser180
Ellipse/Shape Detection with Java

The WPI Library Users Guide has a small section on detecting shapes for this years game. Last year, there were methods to threshold the colors from the image to make it processing easier and more accurate. Obviously, this year, the camera is intended to find the target above the goals. The logic flow for this task is to take a black and white image through the getLuminancePlane method and find the elliptical shapes from this.

The C++ method to do this, DetectEllipses, is found in the MonoImage class. However, there is no equivalent method found in the MonoImage class in the Java API. Are there any ways to work around this? Or is there an eventual update that includes this method?