Hi,
Could I ask if anyone has a code to calculate RMSE obtained from “Fiducial Registration Wizard” module?
I have read the repository’s code linked below:
but when I have tried to replicate it on Matlab I have got the wrong result.
Below my data and results:
Fixed points: [61.8616132503630; 48.4552443635927; 42.4899670291801]
[29.4899390311330; 48.4552443635927; 23.5335812251265]
[77.9016320076391; 48.4552443635927; 35.1990494122364]
You need compute the mean of the error^2 (vtkMath::Distance2BetweenPoints provides distance^2). In your matlab code you computed the mean of error instead.