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

What is subpixel matching precision for stereo?

asked 2013-05-26 11:32:21 -0500

rdbrewer gravatar image

updated 2013-05-26 11:32:49 -0500


I'm trying to figure out what the subpixel stereo matching precision is in stereo_image_proc (that is, how many pixels/subpixels of disparity can the stereo matching algorithm resolve). I looked at the code a bit, and I think it's 1/4-pixel, but I've also heard it's 1/8-pixel. Do you which it is (or maybe a different value altogether)? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-14 05:16:03 -0500

timster gravatar image

I am pretty sure it's 1/16th pixel. In disparity.cpp of stereo_image_proc it says so explicitly:

// OpenCV uses 16 disparities per pixel



edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-05-26 11:32:21 -0500

Seen: 378 times

Last updated: Aug 14 '13