[3/3] cp_measure features + coordinate alignment for calculate_image_features#1216
Open
timtreis wants to merge 1 commit into
Open
[3/3] cp_measure features + coordinate alignment for calculate_image_features#1216timtreis wants to merge 1 commit into
timtreis wants to merge 1 commit into
Conversation
7bc0f28 to
ef48286
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1216 +/- ##
==========================================
+ Coverage 76.55% 76.72% +0.17%
==========================================
Files 63 63
Lines 9067 9148 +81
Branches 1521 1527 +6
==========================================
+ Hits 6941 7019 +78
- Misses 1541 1543 +2
- Partials 585 586 +1
🚀 New features to boost your workflow:
|
25df4eb to
0bc0c1f
Compare
Final piece of scverse#982 (split from scverse#1189, scverse#1190): wires cp_measure into calculate_image_features and adds image/labels coordinate-system alignment (align_mode strict/rasterize), with boundary-cell drop accounting. - deps: cp-measure>=0.1.19,<0.2, centrosome>=1.2.3 (hard) - features=None now runs all features across all backends - _tiling: bbox_y0/bbox_x0 on CellInfo; _Accum accumulator; shared yx_size - key_added (was adata_key_added); keyword-only params - skimage backend: single regionprops_table pass for morphology+intensity - dedupe skimage morphology vs cp_measure:sizeshape when both requested (cp wins, computed identically; skimage-only props kept) - purge non-ASCII em/en-dashes from text files repo-wide (ASCII-only policy)
0bc0c1f to
8bed3e7
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.
Final piece of #982 (split from #1189, #1190). Adds cp_measure features and image/labels coordinate alignment.
New deps (hard)
cp-measure>=0.1.19,<0.2,centrosome>=1.2.3.Usage
features=None-> all features, all backends (needs an image).align_mode="strict"(default) raises on non-pixel-aligned image/labels;"rasterize"resamples onto the image grid.Notes
rasterizeraises (pre-align instead).