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

EOFError throw by line 489 of DICOM.jl #69

Closed ygidtu closed 3 years ago

ygidtu commented 3 years ago

image

notZaki commented 3 years ago

It might be because the DICOM images are compressed. This can be checked by looking at the TransferSyntaxUID (0x0002, 0x0010) of the DICOM header.

If the images are compressed, then unfortunately this package can not read them currently. One workaround is to decompress the images first, and then read them, as mentioned in https://github.com/JuliaHealth/DICOM.jl/issues/33#issuecomment-512952566.

ygidtu commented 3 years ago

I check the dcm file, as you said, it's compressed. Thanks for your answer.