Go to Post Team newb: To expect any average group of high schoolers to build and develop a robot in less than six weeks is...madness! Me: Madness? THIS IS FIRST! - MishraArtificer [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
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
  #4   Spotlight this post!  
Unread 14-01-2012, 09:58
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,748
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: pixel granularity with axis camera

If you care more about precision than performance, you don't have to use the bounding box width. You can determine a location, say near the vertical center of the bounding rect, and use edge detection on the original image to find the distance between the vertical edges of the original monochrome image. That measurement can give subPixel accuracy. Though keep in mind that you can't make something from nothing. The accuracy improvement achievable and the technique is described in the Vision Concepts manual -- C:\Program Files\National Instruments\Vision\Documentation\NIVisionConcepts. chm. Chapter one covers edge definition.

As usual, it is easiest to experiment with this using Vision Assistant. Take your color image, extract the luminance plane, and use the Edge Detector(Simple Edge Tool, First and Last, with a large edge strength of like 200). The edge strength depends on the brightness of your ring light. Draw a line across the rectangle, and the graph will help you determine the actual strength that differentiates the edges. The X values are now subPixel and more accurate than the bounding box.

Greg McKaskle
Reply With Quote
 


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 19:51.

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