Opened 14 years ago

Last modified 14 years ago

#2731 assigned patch

Show residual in georeferencer in map units (if possible)

Reported by: mhugent Owned by: mmassing
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: C++ Plugins Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

The following patch shows the residuals in the gcp table in map units where possible and in pixels else. Because interpretation about the gcp errors is easier with map units, so the patch converts pixels->map units for linear transformation and helmert. For the other transformations, conversion to map units is not so straightforward, therefore they are kept in pixels.

Attachments (2)

100518_georef.diff (6.1 KB ) - added by mhugent 14 years ago.
100519_georefpatch.diff (15.6 KB ) - added by mhugent 14 years ago.

Download all attachments as: .zip

Change History (5)

by mhugent, 14 years ago

Attachment: 100518_georef.diff added

by mhugent, 14 years ago

Attachment: 100519_georefpatch.diff added

comment:1 by mhugent, 14 years ago

Added improved version of the patch. The transform parameters are now shown in the status bar, fixed update of georef transformation when enabling/disabling gcps in the table, fixed pdf report layout

comment:2 by mmassing, 14 years ago

Status: newassigned

Applied in r13552 - thanks, Marco.

I'll leave the ticket open for now, because I'd eventually like to add this functionality for the higher order transform types (linearization via jacobi matrix or numerical approximation of the derivatives), and also a config option to choose the desired units.

I think the latter is useful because reporting residuals in pixel units shows if residuals are in the ballpark of input discretization, whereas map units are useful to better get an estimate of absolute error.

comment:3 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0
Note: See TracTickets for help on using tickets.