erling6232 / imagedata

Read/write medical image data
MIT License
10 stars 0 forks source link

53 use numpy structured dtype to store rgb images #77

Closed erling6232 closed 10 months ago

erling6232 commented 10 months ago

Modified code to use numpy structured dtype to store color images.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 66 lines in your changes are missing coverage. Please review.

Comparison is base (53c2a6e) 50.99% compared to head (684088e) 51.23%.

Files Patch % Lines
src/imagedata/series.py 66.91% 24 Missing and 21 partials :warning:
src/imagedata/formats/dicomplugin.py 78.57% 10 Missing and 2 partials :warning:
src/imagedata/viewer.py 36.36% 4 Missing and 3 partials :warning:
src/imagedata/formats/matplugin.py 0.00% 1 Missing :warning:
src/imagedata/readdata.py 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #77 +/- ## ========================================== + Coverage 50.99% 51.23% +0.23% ========================================== Files 31 31 Lines 7593 7675 +82 Branches 1598 1623 +25 ========================================== + Hits 3872 3932 +60 - Misses 3328 3333 +5 - Partials 393 410 +17 ``` | [Flag](https://app.codecov.io/gh/erling6232/imagedata/pull/77/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erling+Andersen) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/erling6232/imagedata/pull/77/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erling+Andersen) | `51.21% <68.57%> (+0.23%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erling+Andersen#carryforward-flags-in-the-pull-request-comment) to find out more.

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