Go to Post I decided I would keep coming and it just kept getting more and more fun. By the time build season started going I couldn't have quit if I wanted to ^_^ - Mr. Pockets [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 27-01-2012, 22:11
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Backboard Pixel Distance Question

Quote:
Originally Posted by Glen View Post
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 ..."
__________________
-
An ounce of perception is worth a pound of obscure.
 


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 23:28.

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