Reconstructing 3D point cloud from two stereo images

35 views (last 30 days)
Hi everyone!
I've two stereo images taken from Aquifi camera, and I want to compute the disparity and reconstruct the 3D point cloud.
I'd like to help me how to start with this. These are the object, the image taken from the master and the slave cameras.
Thanks in advance.

Accepted Answer

Takuji Fukumoto
Takuji Fukumoto on 30 Jan 2017
This shows the workfrow to reconstruct point cloud from stereo vision
You can get disparityMap with the folloing function.
disparityMap = disparity(frameLeftGray, frameRightGray);
  8 Comments
Jason Hathaway
Jason Hathaway on 11 Feb 2017
Edited: Jason Hathaway on 11 Feb 2017
Hi again! And thank you again for your answers!
As for now, I might have a much more theoretical question. I've used SSD to get disparity. I've used rectangular windows and compared them with their compatible square windows.
Figure 1. 4 x 16
Figure 2. 8 x 8
It looks like the square is much better, but is that the case in theory?
Thanks in advance.
Takuji Fukumoto
Takuji Fukumoto on 13 Feb 2017
I think so. Generally, if you use small window size, you can get details but also get noise. This means if you use rectangular window the matching result which is depending on direction.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!