3D Reconstructed Scene appearing in 'slices'

asked 2016-08-15 10:01:34 -0600

Nbb gravatar image

updated 2016-08-17 13:03:53 -0600

I am trying out 3D Reconstruction and while the frontal result looks exactly similar to its 2D scene, the view from the sides are appearing in slices. Does anyone have any suggestions on how I can make the result better ? I saw some text on Markov Random Fields so I am going to read up on it and try to understand what it does and how it helps... In the meantime, it would be nice if anyone can give a suggestion.

My friend told me that it is an issue with opencv viz and that I should use the Point Cloud Library ? I don't see the difference that it will make since I am only calling the function to draw it in a 3D space ?

EDIT: Running a gaussian filter seems to improve the 'look' of the result

image description image description

edit retag flag offensive close merge delete

Comments

2

I think the slices are only a "numerical effect". The disparity range depends on the image size and the z range depends on baseline.

One pixel difference for the disparity will result to a certain constant value.

Eduardo gravatar imageEduardo ( 2016-08-15 17:31:01 -0600 )edit
3

the slices are expected, the as the z-values come in discrete steps (quantization).

you're supposed to look at it from the left side, looking to the right. then, for a small variation in position, you should see some 3d effect.

berak gravatar imageberak ( 2016-08-16 07:49:27 -0600 )edit

Hi thanks ! One last question, would I get a 'better looking' result if I were to use the algorithm from OpenCV to generate the disparity map ? My supervisor wants me to use this paper http://www.cs.toronto.edu/~urtasun/pu... to generate the disparity map for reconstruction.

Nbb gravatar imageNbb ( 2016-08-17 13:01:18 -0600 )edit

I think I can try using RANSAC to establish several planes then re-project the points onto the plane but I was just wondering if you have any other suggestion or an algorithm for me to try that would result in a nicer looking 3d map

Nbb gravatar imageNbb ( 2016-08-17 13:02:53 -0600 )edit