Skip to content

Commit

Permalink
Added adjustable RMSE limit
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchharley committed Feb 1, 2021
1 parent 98f9541 commit 5625bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GUI/CSPGrectifyImage.m
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@
metadata.geom.knownFlags = globs.knownFlags;
metadata.geom.knowns = globs.knowns;

if RMSE > 10
msgbox(['RMSE might be too large (' num2str(RMSE,'%0.1f') 'pixels) and hence result was not saved. Consider rectifying your image again. tor educe the error'])
if RMSE > siteDB.rect.accuracylim
msgbox(['RMSE might be too large (' num2str(RMSE,'%0.1f') 'pixels) and hence result was not saved. Consider rectifying your image again to reduce the error'])
else
%Save data to file
imwrite(flipud(Iplan),fullfile(rect_path,rect_name))
Expand Down

0 comments on commit 5625bed

Please sign in to comment.