lambjames18 / EBSD-Correction

2 stars 0 forks source link

I/O issue with control points and zoom #7

Closed lambjames18 closed 1 year ago

lambjames18 commented 1 year ago

Ran 2D analysis, selected control points, got a good result, and exported the corrected data. However, the control points that were saved did not correctly account for the zoom that was used. Upon re-reading in the points and the data, the points appeared to be more spread out (as if the image was zoomed in on) than they should have been.

Need to diagnose how points are handled when a zoom is applied and why the current implementation is not working. Note that the coordinates work when starting from scratch, but the saving or reading in of points is where the issue lies.

lambjames18 commented 1 year ago

Issue is present when saving control point images as well (aka the control points on the saved images are not in the correct locations).

lambjames18 commented 1 year ago

Fixing this with most recent commit (40dc4f8). Control points are read in properly and they are saved properly now (this is includes exporting control point images).