Ask Your Question
0

reprojectImageto3D - Disparity map with -1 values

asked 2016-08-01 12:47:37 -0600

Nbb gravatar image

I am trying to a 3D reconstruction of a scene using the reprojectImageto3D function. My disparity map was generated using a different algorithm in Matlab and pixels with no matches are given a value of -1. Will the function still work ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-08-03 05:38:02 -0600

AJW gravatar image

I think it should work fine. If you set the handleMissingValues flag to true, the function will look for the smallest value in the disparity map, and set all pixels with that value to have a Z-value of 10000. That should make it easy to filter out the junk points.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-01 12:47:37 -0600

Seen: 247 times

Last updated: Aug 03 '16