Sources of error to calculate X, Y Z distances using stereo when disparity map seems alright.
1 view (last 30 days)
Show older comments
Meghana Dinesh
on 23 Jun 2015
Commented: Meghana Dinesh
on 1 Jul 2015
This issue is wrt Image scene reconstruction using Stereo Calibration. I have a good (compared to my earlier pointClouds) reconstructed image of my object (wheel). I am able to filter out noise and preserve only the points corresponding to the object under consideration.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151506/image.png)
I am calculating the X, Y and Z distances to this object by taking a mean of all points under consideration (i.e., mean of the point cloud in each of the 3 dimensions X, Y and Z to get X_mean Y_mean and Z_mean respectively. Euclidean distance is also calculated using these mean values )
For this particular case, the euclidean distance when measured with an inch tape was around 68cm. My result shows 62cm. There is a difference of 60 mm which is not tolerable.
What could the error sources be? The reconstructed image seems very good. During stereo calibration, mean re-projection error is lesser than 0.3 pixels (using a 10MP camera)
0 Comments
Accepted Answer
Dima Lisin
on 23 Jun 2015
Edited: Dima Lisin
on 23 Jun 2015
Hi Meghana,
I am glad that you have been able to get a good reconstruction. Regarding the distance, keep in mind that the origin of your coordinate system is at the optical center of the imaging sensor, which is inside your camera. That makes it hard to measure the distance to the object with a tape.
A better way to test the accuracy of your reconstruction is to measure the diameter of the wheel, or the distance between any pair of points on the wheel.
More Answers (0)
See Also
Categories
Find more on Camera Calibration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!