Open andremano opened 2 years ago
@andremano I think you wrote the same formula twice
Thanks for spotting it @DelazJ
Currently, QGIS georeferencer only shows the Mean Error. In qgsgeorefmainwindow.cpp the error is calculated as:
error = std::sqrt( ( sumVxSquare + sumVySquare ) / ( nPointsEnabled - mGeorefTransform.minimumGcpCount() ) );
Another measure of error that is useful to show is the Root Mean Square Error defined as:
error = std::sqrt( ( sumVxSquare + sumVySquare ) / ( nPointsEnabled ) );
The comment in the code says that the first formula is used to calculate the root mean square error: https://github.com/qgis/QGIS/blob/35608f686ad0a97bbf19ad7fc079ea08343f40f8/src/app/georeferencer/qgsgeorefmainwindow.cpp#L1537-L1539
Feature description
Currently, QGIS georeferencer only shows the Mean Error. In qgsgeorefmainwindow.cpp the error is calculated as:
error = std::sqrt( ( sumVxSquare + sumVySquare ) / ( nPointsEnabled - mGeorefTransform.minimumGcpCount() ) );
Another measure of error that is useful to show is the Root Mean Square Error defined as:
error = std::sqrt( ( sumVxSquare + sumVySquare ) / ( nPointsEnabled ) );
This error would be shown in the bottom of the GCP table along with the mean error:
Additional context
No response