dyollb / segmantic

Semantic segmentation and image-to-image translation based on AI
https://dyollb.github.io/segmantic/
MIT License
1 stars 3 forks source link

♻️ Replace ITK code by SimpleITK #53

Closed dyollb closed 1 year ago

dyollb commented 1 year ago

What do these changes do?

Rewrite code using ITK -> use SimpleITK instead because it is more usable (typehints, size, etc.)

Related issue/s

Fixes #50

codecov[bot] commented 1 year ago

Codecov Report

Merging #53 (b049aec) into main (ad66d6f) will increase coverage by 3.95%. The diff coverage is 46.49%.

@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   49.20%   53.15%   +3.95%     
==========================================
  Files          20       18       -2     
  Lines        1262     1140     -122     
  Branches      203      180      -23     
==========================================
- Hits          621      606      -15     
+ Misses        604      500     -104     
+ Partials       37       34       -3     
Flag Coverage Δ
unittests 53.15% <46.49%> (+3.95%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/segmantic/__init__.py 100.00% <ø> (ø)
src/segmantic/image/labels.py 88.88% <ø> (ø)
src/segmantic/image/make_mixed_modal_dataset.py 0.00% <ø> (ø)
src/segmantic/image/modality.py 0.00% <0.00%> (ø)
src/segmantic/utils/cli.py 100.00% <ø> (ø)
src/segmantic/utils/config.py 59.09% <ø> (ø)
src/segmantic/utils/json.py 75.00% <ø> (ø)
src/segmantic/image/utils.py 20.51% <20.51%> (ø)
src/segmantic/commands/monai_unet_cli.py 51.16% <50.00%> (-2.69%) :arrow_down:
src/segmantic/seg/visualization.py 19.67% <50.00%> (ø)
... and 5 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more