ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

calculation technical

asked 2012-08-06 17:58:37 -0500

rosmaker gravatar image

updated 2012-08-06 22:20:18 -0500

am looking the kinect calibration and depth calculation.


z = b*f / d

There is "4.1 Focal lengths".

IR focal length is 580 pixels.

Could you please tell me why camera focal length is used in terms of pixels

instead of in mm or in meteres ?

edit retag flag offensive close merge delete


Sorry. I know that former question doesn't uploading. It is closed

rosmaker gravatar image rosmaker  ( 2012-08-06 22:19:05 -0500 )edit

I'd recommend editing the title to something a bit more relevant (focal length in pixels etc..)

piyushk gravatar image piyushk  ( 2012-08-07 08:50:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-08-07 08:49:22 -0500

updated 2012-08-07 08:51:47 -0500

It does not matter whether the focal length is given in pixels or mm, as the relationship is determined by the sensor and image sizes. Go through the following link for more details:

In general, it is a good idea to have the focal length in pixels as the image size is generally known. Knowing the full intrinsic camera matrix allows for independence from the image size as well.

edit flag offensive delete link more

Question Tools


Asked: 2012-08-06 17:58:37 -0500

Seen: 481 times

Last updated: Aug 07 '12