kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
100 stars 31 forks source link

Automatic patch shape recommendation #302

Closed qin-yu closed 3 months ago

qin-yu commented 3 months ago

In this PR, I add a feature to compute a good patch shape based on:

Tests are included.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 80.88235% with 13 lines in your changes missing coverage. Please review.

Project coverage is 48.86%. Comparing base (6d9fd80) to head (ad1c1f7). Report is 9 commits behind head on plantsegv2.

Files with missing lines Patch % Lines
tests/core/test_zoo.py 69.23% 12 Missing :warning:
...g/functionals/predictions/utils/array_predictor.py 95.65% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## plantsegv2 #302 +/- ## ============================================== + Coverage 48.51% 48.86% +0.35% ============================================== Files 53 53 Lines 3770 3798 +28 ============================================== + Hits 1829 1856 +27 - Misses 1941 1942 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.