Store coordinates as unscaled pixel coordinates + scaling factor when exporting to geff - #262
Store coordinates as unscaled pixel coordinates + scaling factor when exporting to geff#262AnniekStok wants to merge 1 commit into
Conversation
…and scale back at import
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
==========================================
- Coverage 93.78% 93.68% -0.10%
==========================================
Files 59 59
Lines 3284 3328 +44
==========================================
+ Hits 3080 3118 +38
- Misses 204 210 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Design decision: segmentation shape and voxel size should be stored in tracksdata for in-graph segmentations, and thus saved in the geff. External segmentations should have the same metadata in their appropriate file format standards. Aciton item for now: Always show the scale widget pre-filled with whatever metadata is present, and let the user change it during import if needed. Might need a slight hack for our internal save/load to ignore the scale for now. Ideally, later: we should save in world coordiantes (no axis scales), and save the segmentation metadata in tracksdata (blocked by this not existing in tracksdata for voxel size yet). |
Scale world coordinates to pixel coordinates when exporting to geff, and scale back at import to align with the geff spec, as a potential solution for #261