Go to Post How we respect the rules of the game is a reflection of our character and integrity - win, lose, or draw - JaneYoung [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 06-02-2010, 21:02
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,753
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: imaqDetectCircles

You are correct that IMAQ has an ellipse, circle and even a rectangle detection routine, and of course they are there for you to use.

As for whether this is a good idea or not, it should work pretty well assuming you are lined up directly in front of the target. As the robot moves to the side, the circle gets squished and becomes an ellipse. As the angle, changes, the circle score will fall until it is no longer reported as a valid circle.

As for the false positives, you may want to check out the white paper on the NI site. The quick things to improve the situation is to change the threshold so that weaker edges are ignored. Also, the medium sized image tends to have a much sharper edge. Small images blend the pixels and are essentially blurred. Blurred shapes make corners disappear and many shapes become more circular, and at the same time, the circle's edge is less crisp and the score falls.

Greg McKaskle
 


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


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

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