Go to Post *be there or be triangle, circle, square - PVCpirate [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #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?
  #2   Spotlight this post!  
Unread 17-01-2010, 10:50
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Ellipse/Shape Detection with Java

The javadocs on the website do not show the detectEllipses method on MonoImage however when I open the source file (lib/WPILibJ/src/edu/wpi/first/wpilibj/image/MonoImage.java) installed by the NetBeans plugin I do see that method.

One thing you might want to check is the update URL for the NetBeans plugin changed between the initial release and now. The new update URL is: http://first.wpi.edu/FRC/java/netbea...te/updates.xml according to http://first.wpi.edu/FRC/frcjava.html. This caused me to not get any of the updates until recently.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
**FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** Pjohn1959 Programming 37 31-08-2009 15:55
Programming with Java? the_innovator Programming 11 27-02-2007 16:47
CMU Cam2 Java app (Help with Labview GUI) Team 1649 Programming 3 26-12-2006 14:25
Learn C, C++, and Java with new board game. Elgin Clock Programming 8 04-11-2005 13:28
Robocode: Learning JAVA the fun way. While fighting with robots. Denalin Fusion Chit-Chat 2 26-09-2005 23:22


All times are GMT -5. The time now is 09:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi