Skip to content

Added image registration utility functions and refactored image processing module#245

Merged
tieneupin merged 17 commits intomainfrom
add-correlative-utils
Mar 16, 2026
Merged

Added image registration utility functions and refactored image processing module#245
tieneupin merged 17 commits intomainfrom
add-correlative-utils

Conversation

@tieneupin
Copy link
Contributor

@tieneupin tieneupin commented Mar 9, 2026

This PR introduces another image registration function, align_images_using_orb, that makes use of edge detection combined with ORB feature detection. It's intended to be used primarily with correlative workflows to align images of FIB-milled samples using the milled sites as features to estimate the transformation matrix with.

Additionally, the clem_array_functions module has been renamed to image_processing since these functions can be used for most image processing use cases.

Much of the bulk of this PR comes from the introduction of the tests and test utility functions needed to test the new image registration function.

@codecov
Copy link

codecov bot commented Mar 9, 2026

Codecov Report

❌ Patch coverage is 79.16667% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.12%. Comparing base (63ac46a) to head (8110e4e).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
+ Coverage   83.78%   84.12%   +0.33%     
==========================================
  Files          66       68       +2     
  Lines        8431     8925     +494     
  Branches     1138     1231      +93     
==========================================
+ Hits         7064     7508     +444     
- Misses        939      963      +24     
- Partials      428      454      +26     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tieneupin tieneupin force-pushed the add-correlative-utils branch from f26ff10 to 7b8f547 Compare March 10, 2026 05:59
@tieneupin tieneupin marked this pull request as ready for review March 12, 2026 04:50
@tieneupin tieneupin requested a review from stephen-riggs March 12, 2026 04:50
@tieneupin tieneupin self-assigned this Mar 12, 2026
@tieneupin tieneupin added the enhancement New feature or request label Mar 12, 2026
Copy link
Contributor

@stephen-riggs stephen-riggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good to me. I don't know enough about the alignment methods used to comment on them though

@tieneupin tieneupin merged commit fe5f276 into main Mar 16, 2026
12 checks passed
@tieneupin tieneupin deleted the add-correlative-utils branch March 16, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants