Robotics StackExchange | Archived questions

stereo_image_proc disparity image crop

Hi, I am using stereoimageproc to generate a disparity image. However, I always see a fixed number of columns cropped of on the left side. Since this is fixed, the cropped region is almost half the disparity image in a 160x120 image i.e. almost 80 columns are blank. I dint notice this problem till I went below 640x480 resolution.

For a 80x60 image, this becomes even worse. Only a few column pixels are visible. Has anyone experienced the same problem? Is there anyway to rectify this? I tried the same with elas and there is no cropping.

Asked by aswin on 2014-03-05 20:59:53 UTC

Comments

Did you try playing with disparity_range parameter?

Asked by Artem on 2014-03-06 04:48:06 UTC

Hi, the smallest disparity_range is 32. So there is still some cropping. I guess this is a limitation of the BM algorithm. The best I can so is center the disparity image by changing min_dispariuty so that the cropping is same on left and right.

Asked by aswin on 2014-03-06 15:10:07 UTC

Answers