View Single Post
  #7   Spotlight this post!  
Unread 05-01-2009, 01:22
nitsua60 nitsua60 is offline
Registered User
FRC #2785 (Prometheus)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 1998
Location: Kent, CT
Posts: 15
nitsua60 will become famous soon enoughnitsua60 will become famous soon enough
Re: Measuring distance with cameria

Quote:
Originally Posted by Adam Y. View Post
No. It's surprisingly much more complicated than that. The main reason is that in order to do that you have to account for the distortions caused by the camera. I actually performed a calibration for my optics project using a 200.00 dollar camera. The distortion for some areas of the image was as high as 20 pixels.
There's the magic word. Given the uncertain inputs to the analytical solution (unless you want to take apart that camera and do some serious optics testing) why not just image the vision target at a range of distances and generate an image height vs. distance curve? If that goes by too quickly, do it repeatedly in different areas of the image to correct for the aberrations.
Reply With Quote