c++ - Getting shifted depth map from StereoSGBM -



c++ - Getting shifted depth map from StereoSGBM -

what have done far calibrating these photographic camera , extract depth map it.

there problem in depth map. correspondence points shifted , not know why.

my code not special @ , tried many variations of stereo(gb)bm parameters.

stereosgbm sgbm; sgbm.numberofdisparities = 5*16; sgbm.sadwindowsize = 5; // sgbm.disp.... , on remap(left, rleft, rmap[0][0], rmap[0][1], cv_inter_linear); remap(right, rright, rmap[1][0], rmap[1][1], cv_inter_linear); sgbm(rleft, rright, disparity);

i thought after stereorectify minimum disparity 0 improve results (still worse) if utilize negative values.

here image (just 1 example):

my input images (left, right, remapped left, remapped right):

c++ opencv camera-calibration stereoscopy

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -