Can't open 3,5 Gb US cineloop with Weasis 3.7.1

135 views
Skip to first unread message

kkos...@gmail.com

unread,
Aug 2, 2021, 7:57:28 AM8/2/21
to dcm4che
Hi.
Can't open 3,5 Gb US cineloop with Weasis 3.7.1
Weasis just opens empty window and thats it, no errors.
How do i diagnose, fix it?

Thank you.

Nicolas Roduit

unread,
Aug 2, 2021, 11:56:02 AM8/2/21
to dcm4che
Did you check in the log file ? or provide a sample.

kkos...@gmail.com

unread,
Aug 2, 2021, 12:08:10 PM8/2/21
to dcm4che
Here it is

понедельник, 2 августа 2021 г. в 18:56:02 UTC+3, Nicolas Roduit:
default.log

Nicolas Roduit

unread,
Aug 2, 2021, 3:30:34 PM8/2/21
to dcm4che
02.08.2021 19:06:18.812 *ERROR* [Dicom Model-pool-1-thread-1] org.weasis.dicom.codec.DicomMediaIO: Cannot read DICOM: org.dcm4che3.io.DicomStreamException: 0x7FE00010 tag value too large, must be less than 2Gib at org.dcm4che3.io.DicomInputStream.tagValueTooLargeException(DicomInputStream.java:416) 
 at org.dcm4che3.io.DicomInputStream.readHeader(DicomInputStream.java:455) 
 at org.dcm4che3.io.DicomInputStream.readAttributes(DicomInputStream.java:557) 
 at org.dcm4che3.io.DicomInputStream.readDataset(DicomInputStream.java:503) at org.dcm4che3.io.DicomInputStream.readDataset(DicomInputStream.java:496)

According to the log file, the pixel data seems too large or the size is corrupted. Could you give more information about the file (like a dump of the tags), is it an uncompressed multi-frame (one file)? if uncompressed, is it any reason to not compress from the device side?

kkos...@gmail.com

unread,
Aug 3, 2021, 3:25:10 AM8/3/21
to dcm4che
It is uncompressed, because US scanner sends files in explicit little endian, i'm trying to make it use jpeg2000 loseless, but no luck at the moment.
Btw i was able to open this uncompressed big file with "Osirix MD" and "MicroDicom", why Weasis can't open it? Is there any setting i can tweak to fix it?

понедельник, 2 августа 2021 г. в 22:30:34 UTC+3, Nicolas Roduit:

Nicolas Roduit

unread,
Aug 4, 2021, 10:25:30 AM8/4/21
to dcm4che
The is related to the dicom parser (dcm4che) which do not support reading an item with more than 2 GB, see https://dcm4che.atlassian.net/browse/LIB-349

The best thing to do would be to enable compression because files of this size are expensive to store and are not suitable for most software. Also US files can be compressed to jpeg-lossy (with a compression factor of 10 to 20 times).
Reply all
Reply to author
Forward
Message has been deleted
0 new messages