View Single Post
  #1   Spotlight this post!  
Unread 27-01-2012, 21:35
Glen Glen is offline
Registered User
FRC #1444
 
Join Date: Jan 2012
Location: St. Louis
Posts: 5
Glen is an unknown quantity at this point
Backboard Pixel Distance Question

The 2012 Vision whitepaper explains on page 9 how to compute the distance from the target. We understand everything but the 56 pixel wide target rectangle (This is the actual quote):

Quote:
The target width measures 2 ft wide, and in the example images used earlier, the target rectangle measures 56 pixels when the camera resolution is 20x240. This means that the blue rectangle width is 2*320/56 or 11.4 ft. Half of the width is 6.7 ft, and the camera used is the M1011, so the view angle is ~47˚, making Θ equal to 23.5˚.
My question is this, where did they get the target rectangle width in pixels (56 in their case)? After all, that isn't a fixed number, it will change accordingly based on how far/close the robot is to the target.

Some clarification would be great.

Last edited by Glen : 27-01-2012 at 21:40. Reason: added source page number and more explanation