Ask Your Question
0

3d reconstrcution from stereo cam

asked 2016-12-20 16:32:11 -0500

Lafi gravatar image

Hello, i have calibrated my stereo camera, now i have to build the 3d model but i can't find any example in opencv on howto do that . Please can you tell me first is opencv support to build3d and display the 3d model?? if yes can you give me an example , i use opencv 3. Thank you

edit retag flag offensive close merge delete

Comments

1

Could you search about stereo vision?

hoang anh tuan gravatar imagehoang anh tuan ( 2016-12-20 20:14:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-21 01:00:44 -0500

berak gravatar image

you can use block-matching, (StereoBM, StereoSGBM), to generate a disparity(depth) image. from there, you can project your image pixels to 3d (e.g. using the Q matrix from the stereoRectify())

there's a sample here

edit flag offensive delete link more

Comments

thank you for your suggestion , please can you help me how to run it , it need those arguments [--algorithm=bm|sgbm|hh|sgbm3way] [--blocksize=<block_size>]\n" "[--max-disparity=<max_disparity>] [--scale=scale_factor>] [-i=<intrinsic_filename>] [-e=<extrinsic_filename>]\n" "[--no-display] [-o=<disparity_image>] [-p=<point_cloud_file>]\n"); i have extrinsic, and intrinsic file but what about the other arguments?

Lafi gravatar imageLafi ( 2016-12-21 06:15:17 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-12-20 16:32:11 -0500

Seen: 115 times

Last updated: Dec 21 '16