View Single Post
  #6   Spotlight this post!  
Unread 13-02-2010, 07:17
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,749
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous 2010 FRC

I can't be certain, but I believe they are there in the Java interface as they are pretty common functions.

The first would be to get the lunimance plane, same as the ellipse finder it looks to be the getLuminancePlane() method. You can do this based on color, but I'm not sure that is much more effective than the faster luminance approach. Second you'll want to thresholdHSL() or threshold ??? to get a BinaryImage type. The other particle filtering functions will be unique methods on a BinaryImage.

I'll help more if you could point to a doxygen or similar function reference for the Java WPILib. I wasn't able to locate one.

Greg McKaskle
Reply With Quote