How to get relative errors after plane fitting
Posted: Wed Nov 26, 2014 8:29 pm
Hi,
First, I would like to really thank the developer(s) for this impressive program. My question is as follows:
I am evaluating the performance of a depth sensor. I want to capture a large flat target (e.g. a long wall) and check the captured depth map uniformity and the error relative to distance from the sensor, meaning the pixel Z error relative to 'ground truth' pixel, which is the Z value on the theoretically perfect plane.
My procedure is: import a PLY of the captured plane. Perform 'fit to plane'. Run 'calc cloud - mesh distances'. Export the results as CSV file. The results is, according to my understanding, I have for each pixel of the captured image its XYZ value, and the distance (normal) of this pixel to the fitted plane. What I wish to get is the expected Z value of this pixel if it was on the plane, since I want to calculate for each pixel Z_on_fitted_plane - Z_in_captured_image. In this way I will get the Z error relative to the distance from the sensor.
My problem is I don't know how to get the pixel's 'expected Z value of this pixel if it was on the plane', which is 'Z_on_fitted_plane' in the formula above.
Looking forward to hear you recommendations.
Roy Korin.
First, I would like to really thank the developer(s) for this impressive program. My question is as follows:
I am evaluating the performance of a depth sensor. I want to capture a large flat target (e.g. a long wall) and check the captured depth map uniformity and the error relative to distance from the sensor, meaning the pixel Z error relative to 'ground truth' pixel, which is the Z value on the theoretically perfect plane.
My procedure is: import a PLY of the captured plane. Perform 'fit to plane'. Run 'calc cloud - mesh distances'. Export the results as CSV file. The results is, according to my understanding, I have for each pixel of the captured image its XYZ value, and the distance (normal) of this pixel to the fitted plane. What I wish to get is the expected Z value of this pixel if it was on the plane, since I want to calculate for each pixel Z_on_fitted_plane - Z_in_captured_image. In this way I will get the Z error relative to the distance from the sensor.
My problem is I don't know how to get the pixel's 'expected Z value of this pixel if it was on the plane', which is 'Z_on_fitted_plane' in the formula above.
Looking forward to hear you recommendations.
Roy Korin.