Skip to content

Merge image drift correction into main#2

Merged
Andrea-gm merged 1 commit into
mainfrom
image_shift_correction
Jun 23, 2026
Merged

Merge image drift correction into main#2
Andrea-gm merged 1 commit into
mainfrom
image_shift_correction

Conversation

@Andrea-gm

Copy link
Copy Markdown
Member

Summary

  • Brings image drift correction from image_shift_correction into main
  • Adds drift_correction utility and integrates it into EM controller logic
  • Includes drift correction tests and reference images from PR adding image drift correction #1

Notes

  • This branch diverged from main before the autoemxsp -> autoemx refactor, so merge conflicts are expected and will need manual resolution in the new autoemx/ layout

Test plan

  • Resolve merge conflicts with current main
  • Port drift correction to autoemx/ module paths if needed
  • Run tests/Test_Drift_Correction.py
  • Run existing CI test suite

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>
@Andrea-gm Andrea-gm force-pushed the image_shift_correction branch from b63d525 to 5245444 Compare June 23, 2026 19:00
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>
@Andrea-gm Andrea-gm force-pushed the image_shift_correction branch from 5245444 to cca8c69 Compare June 23, 2026 19:11
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>
@Andrea-gm Andrea-gm force-pushed the image_shift_correction branch from cca8c69 to 9f68934 Compare June 23, 2026 19:18
@Andrea-gm Andrea-gm merged commit 9f68934 into main Jun 23, 2026
1 check failed
@Andrea-gm Andrea-gm deleted the image_shift_correction branch June 23, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant