Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Backboard Pixel Distance Question (http://www.chiefdelphi.com/forums/showthread.php?t=101324)

Glen 27-01-2012 21:35

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.

Chris Hibner 27-01-2012 22:11

Re: Backboard Pixel Distance Question
 
Quote:

Originally Posted by Glen (Post 1114981)
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):



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.

The pixel width will vary with how far you are away from the target. What you know is how wide the target is (i.e. 2 ft). Using the math in the paper, you can convert the pixel with into how far away you are from the target.

Think about it from your standpoint as a human: the farther you are from something, the smaller it looks, right? With the camera and the math in the paper, you can translate the "how small it looks" directly into "how far away" it is.

The "56" number in the paper is just an example. They said "let's say the camera shows the width of the rectangle is 56 pixles, then that means ..."

Glen 27-01-2012 22:54

Re: Backboard Pixel Distance Question
 
Quote:

Originally Posted by Chris Hibner (Post 1115004)
The "56" number in the paper is just an example. They said "let's say the camera shows the width of the rectangle is 56 pixles, then that means ..."

We understand that that was used as an example, but how do we find that number? You have to have a way to find the exact number (you can't use examples for the real thing). How does the camera "show" the width of the rectangle is 56 pixels? If I step 10 feet farther back, obviously the target rectangle will NOT measure 56 pixels anymore. How do find out what the NEW width is?

Greg McKaskle 28-01-2012 09:53

Re: Backboard Pixel Distance Question
 
The width was measured from the particle that is believed to be a particle. It was actually the width of the bounding box of the particle. Those numbers come from the particle analysis report function.

Greg McKaskle


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi