-
Notifications
You must be signed in to change notification settings - Fork 102
✨ Add Feature to Write Model Probabilities as ome.tiff for Overlay
#929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- This will help to save probability maps from deep learning models as ome tiff which can be visualized using TIAViz.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #929 +/- ##
===========================================
- Coverage 99.70% 99.69% -0.02%
===========================================
Files 71 71
Lines 8847 8874 +27
Branches 1154 1159 +5
===========================================
+ Hits 8821 8847 +26
Misses 23 23
- Partials 3 4 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Convert the architecture to save per class heatmaps.
ome.tiff for Overlay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new feature to save NumPy or Zarr arrays as tiled, pyramidal OME-TIFF files containing heatmap visualizations for probability maps generated by segmentation models. The changes include adding a new function “write_probability_heatmap_as_ome_tiff” (and its helper function _tiles) to generate the tiled OME-TIFF and corresponding tests to validate its behavior.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tiatoolbox/utils/misc.py | Adds new functions to tile images and write probability maps as OME-TIFF, with updated and new docstrings. |
| tests/test_utils.py | Introduces tests for error conditions and functional verification for OME-TIFF creation. |
SemanticSegmentorwith the NewEngineABC#866