JuliaHealth / DICOM.jl

Julia package for reading and writing DICOM (Digital Imaging and Communications in Medicine) files
MIT License
56 stars 21 forks source link

Support 32-bit pixel representations #72

Closed mateuszbaran closed 3 years ago

mateuszbaran commented 3 years ago

I have an RT Dose file with 32-bit pixel data, which is currently incorrectly interpreted as having 16-bit data. This change fixes it and adds an error in case bit_type has an unsupported value.

codecov[bot] commented 3 years ago

Codecov Report

Merging #72 (81d3186) into master (a3a3c33) will decrease coverage by 0.73%. The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   92.89%   92.16%   -0.74%     
==========================================
  Files           2        2              
  Lines         366      370       +4     
==========================================
+ Hits          340      341       +1     
- Misses         26       29       +3     
Impacted Files Coverage Δ
src/DICOM.jl 91.66% <25.00%> (-0.78%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a3a3c33...23199b1. Read the comment docs.

notZaki commented 3 years ago

Looks good to me. Thanks!