Go to Post I love losing my voice in the name of F.I.R.S.T :) - Athleticgirl389 [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 29-04-2014, 22:11
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Camera Pose Estimation help

Figuring out the angles between the camera coordinate frame and a given pixel in the image is something that is very useful and definitely worth learning. It does require some knowledge of matrix algebra and is typically a university level topic, but if you have the will to learn, there are some good resources online. You will want to read up on the following terms:

pinhole camera model
camera calibration
homogenous coordinates
camera resectioning
intrinsic matrix
extrinsic matrix

Some good references are the OpenCV camera calibration page and the Wikipedia page for Camera Resectioning.

Basically, you need to find a function that converts an (x, y) pixel in the camera frame into a ray oriented in the direction of (X, Y, Z) in the world frame. A common way to figure out this transform is to perform calibration against a series of images of a pattern of known dimensions, like a checkerboard with precisely measured squares. You can then use these measurements to compute the "optimal" (least squares) intrinsic matrix (modeling things like the field of view of the camera) and extrinsic matrix (modeling things like the pose of the camera relative to the world).

Distance is trickier. Each pixel in a standard 2D camera frame actually represents a ray between the focal plane and objects in the world. There is no explicit way to measure distance, but there are tricks you can use (stereo cameras, assuming things about the size or position of the target, etc.) depending on what the actual problem is that you are trying to solve. One reason the Microsoft Kinect and other depth cameras are so cool is that you get a measured distance value for each pixel!
 


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 22:00.

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