Merge image drift correction into main#2
Merged
Conversation
Andrea-gm
pushed a commit
that referenced
this pull request
Jun 23, 2026
Move drift estimation into autoemx/utils, wire it through the refactored em_runtime and analyser acquisition flow using img_shift_tracking, and add scikit-image plus drift correction tests for PR #2. Co-authored-by: Cursor <cursoragent@cursor.com>
b63d525 to
5245444
Compare
Andrea-gm
added a commit
that referenced
this pull request
Jun 23, 2026
Move drift estimation into autoemx/utils, wire it through the refactored em_runtime and analyser acquisition flow using img_shift_tracking, and add scikit-image plus drift correction tests for PR #2. Co-authored-by: Cursor <cursoragent@cursor.com>
5245444 to
cca8c69
Compare
Keep drift estimation and correction entirely within em_runtime. The analyser calls acquire and save_frame_image as before; EM_Controller applies img_shift_tracking internally and defaults annotated saves to the reference image. Co-authored-by: Cursor <cursoragent@cursor.com>
cca8c69 to
9f68934
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
image_shift_correctionintomaindrift_correctionutility and integrates it into EM controller logicNotes
mainbefore theautoemxsp->autoemxrefactor, so merge conflicts are expected and will need manual resolution in the newautoemx/layoutTest plan
mainautoemx/module paths if neededtests/Test_Drift_Correction.py