Skip to content

add intensity to the regionprops features - #274

Merged
cmalinmayor merged 9 commits into
mainfrom
intensity_feature
Sep 4, 2026
Merged

add intensity to the regionprops features#274
cmalinmayor merged 9 commits into
mainfrom
intensity_feature

Conversation

@AnniekStok

Copy link
Copy Markdown
Collaborator

Add intensity to Tracks and allow the regionprops annotator to measure mean intensity. Tracks can receive a list of intensity images, and when asked to compute, they are cropped to the mask's bounding box and stacked into a single array, where the channel is the last axis, in the format that skimage regionprops expects.

@AnniekStok AnniekStok added the ✨ feature New feature or request label Aug 20, 2026
@AnniekStok

Copy link
Copy Markdown
Collaborator Author

Checked that measuring intensities from dask arrays also works.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.72727% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.12%. Comparing base (4a80e49) to head (dfd3b61).

Files with missing lines Patch % Lines
src/funtracks/annotators/_regionprops_annotator.py 97.16% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #274      +/-   ##
==========================================
+ Coverage   93.96%   94.12%   +0.15%     
==========================================
  Files          60       60              
  Lines        3414     3521     +107     
==========================================
+ Hits         3208     3314     +106     
- Misses        206      207       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cmalinmayor cmalinmayor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🍅 👍 🦖 just fixed some typing to make it clear that dask arrays are allowed. Otherwise looks great!

@cmalinmayor
cmalinmayor merged commit 1939f5f into main Sep 4, 2026
30 checks passed
@cmalinmayor
cmalinmayor deleted the intensity_feature branch September 4, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants