You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! This may be a duplicate of #85. The tl;dr is that for JPEG LS, yes there's a special processing that's needed since Go std lib doesn't support it.
That said, if it's jpeg ls data that should be encapsulated pixel data, so not sure why it's dispatching to readNativeFrames. Are you sure this is a JPEG-LS image?
I have a DICOM file, that embed JPEG 2000 (Lossless only) image, could not be parsed by
suyashkumar/dicom
but can be view as normal by Horos.It can be reproducible with following codes:
The error:
Examining the file with
dcmdump
command:Debugging shows that the error happens when parser try to read the pixel data in
dicom/read.go
Line 164 in afbab01
The parser expects that there is 32768 bytes of pixel data, as according to the header.
The error happens when the parser ignores the VL of PixelData (10132) and tries to read 32768 bytes of pixel data.
Questions:
The text was updated successfully, but these errors were encountered: