How is RMS calculated in stereoCalibrate()
Hello all,
I have always wondered how is reprojection calculated in RMS. I understand calculating RMS is similar to calculate standard deviation, instead of subtracting mean, we subtract "true value".
By calling the stereoCalibrate(), it returns a final value of RMS, and I could also obtain a vector of RMS from the function. I wonder how is the final value related to the vector of RMS (PerViewError).
For example as the image shown below, I have a final RMS = 2.23339, and a vector of RMS corresponding to image pairs. How are they related? Can I used the vector to calculate the final RMS?
use the doc : The function returns the final value of the re-projection error.
perViewErrors Output vector of the RMS re-projection error estimated for each pattern view.
Thanks for the response. I am still a little confused. My understanding is both Final and PerViewError Vector are reprojection error calculated as RMS. While Final RMS is a overall of all stereo pairs, and PerViewError is calculated based on 1 pair. Am I correct in this sense?
please post your screen copy as text
I didn't save my last result, but here is another sample for you @LBerger, thank you for helping me. RMS = 2.72163 [2.555810035929563, 1.717795649851975; 2.251065055754842, 1.465012144087651; 4.841288782639332, 3.473414630779339; 3.696148783125525, 1.309333539715789; 4.100269818319679, 1.316544100559535; 4.442900278577694, 1.48581872369056; 3.884218304621516, 2.070538813247009; 3.86388801521297, 1.774934719447845; 3.183589077627722, 1.994188186840544; 2.56111460279647, 1.710244225499387; 2.218564462368255, 1.540395162903343; 1.972164002589083, 1.536869174794308; 2.57595067353927, 1.928101356657496; 3.055601927361268, 2.04185734096128; 3.602300552229382, 1.648495131840332]
Matlab code :
Thank you very much!