Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Disparity Map missing object?

Hi,

I'm working on creating a disparity map from a stereo image pair using OpenCV. I'm trying to look at a 3D model of an F-15. The disparity map I'm generating is very noisey and seems to be ignoring the plane altogether (almost creating a shadow of the plane among the noise). Does anyone know what may be causing this?

I can generate clear disparity maps from other images (inclusing the provided example images).

My block-mathing code is: StereoSGBM(min_disparity=80, num_disp=96, sad_window_size=3, uniqueness=15, speckle_window_size=10, speckle_range=2, p1=1, p2-64, max_disparity=124, full_dp=False, settings=None)

depth_map right_image

Any assistance would be greatly appreciated. Thank you!

click to hide/show revision 2
No.2 Revision

Disparity Map missing object?

Hi,

I'm working on creating a disparity map from a stereo image pair using OpenCV. I'm trying to look at a 3D model of an F-15. The disparity map I'm generating is very noisey and seems to be ignoring the plane altogether (almost creating a shadow of the plane among the noise). Does anyone know what may be causing this?

I can generate clear disparity maps from other images (inclusing the provided example images).

My block-mathing code is: StereoSGBM(min_disparity=80, num_disp=96, sad_window_size=3, uniqueness=15, speckle_window_size=10, speckle_range=2, p1=1, p2-64, max_disparity=124, full_dp=False, settings=None)

depth_mapdepth_map right_imageright_image

Any assistance would be greatly appreciated. Thank you!

Disparity Map missing object?

Hi,

I'm working on creating a disparity map from a stereo image pair using OpenCV. I'm trying to look at a 3D model of an F-15. The disparity map I'm generating is very noisey and seems to be ignoring the plane altogether (almost creating a shadow of the plane among the noise). Does anyone know what may be causing this?

I can generate clear disparity maps from other images (inclusing the provided example images).

My block-mathing code is: StereoSGBM(min_disparity=80, num_disp=96, sad_window_size=3, uniqueness=15, speckle_window_size=10, speckle_range=2, p1=1, p2-64, max_disparity=124, full_dp=False, settings=None)

depth_map right_image

Update: Thank you to those who responded! To overcome difficulties matching textureless regions, I added a camo pattern to the wings and adjusted the SGBM parameters as suggested in the comments. The resulting disparity map is still poor.

camo_depth_map camo_right_image

StereoSGBM(min_disparity=0, num_disp=96, sad_window_size=9, uniqueness=15, speckle_window_size=10, speckle_range=2, p1=1, p2=64, max_disparity=1, full_dp=False, settings=None)

Any assistance would be greatly appreciated. Thank you!