Go to Post Tell the truth - that's really a small barbecue grill on that robot isn't it. - Tom Line [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 21-01-2010, 22:06
manderson5192 manderson5192 is offline
Registered User
AKA: Matt Anderson
FRC #0948 (Newport Robotics Group: NRG (pronounced eNeRGy))
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Bellevue, WA
Posts: 62
manderson5192 is on a distinguished road
Question Questions About Vision Programming [Java, but applies to other languages]

Hey guys,

I several random questions I'd like answered. This is all with regard to programming in Java.

1) Is there a java method for decimating the images we grab from the Axis cam (delete every other row and column of pixels in the image)? I haven't been able to track one down in the javadocs...if there isn't one yet, will it be implemented in the future?

2) Are there methods to draw on/edit the images we receive from the axis cam? Specifically, I'd like to be able to "paint" a brightly-colored dot/rectangle/plus-sign at the coordinates of the centers of the ellipses detected. If possible, I'd also like to draw a bounding box (maybe even an actual ellipse) around/on the detected ellipse. The purpose of this feature is to gauge the performance/accuracy of the ellipse detection while we change some of the settings in the default code. The image could be drawn-on by the cRIO's code, but I suppose it could also be drawn by the dashboard code on the classmate pc...

3) Could we get some half-decent documentation on how the Ellipse Detection works? Specifically, it'd be nice to know *exactly* what the parameters do...

4) It'd be really sweet if we could get a wider-angle lens for the Axis cam...anybody know where to get one of those? And if I installed one, would it negatively affect the ellipse detection (I assume not...)

5) How does the threading work in the sample ellipse detection code (besides the fact that it does...)? I'd like to be able to encapsulate some, if not all, of the vision code.

Thanks guys!
-Matt
  #2   Spotlight this post!  
Unread 21-01-2010, 23:01
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,587
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Questions About Vision Programming [Java, but applies to other languages]

Quote:
Originally Posted by manderson5192 View Post
2) Are there methods to draw on/edit the images we receive from the axis cam? Specifically, I'd like to be able to "paint" a brightly-colored dot/rectangle/plus-sign at the coordinates of the centers of the ellipses detected. If possible, I'd also like to draw a bounding box (maybe even an actual ellipse) around/on the detected ellipse. The purpose of this feature is to gauge the performance/accuracy of the ellipse detection while we change some of the settings in the default code. The image could be drawn-on by the cRIO's code, but I suppose it could also be drawn by the dashboard code on the classmate pc...
The default dashboard does draw the detected ellipse.
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
C programming questions and other jph399 Programming 5 08-01-2010 22:28
Project Questions about Programming and Electrical RyanN Electrical 27 21-10-2007 22:43
Problems and questions about programming hedgehogger Programming 4 15-01-2005 18:18
Other languages tchescow Website Design/Showcase 2 25-02-2003 11:28
Programming Languages Hailfire Programming 7 29-01-2003 21:10


All times are GMT -5. The time now is 21:29.

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