Implicit VR DICOM image compressed to J2K with gdcmconv not rendering in Horos
Cross-platform DICOM implementation
Brought to you by:
malat
Hello!
I used gdcmconv to compress a DICOM image to JPEG 2000 Lossless only.
If the transfer syntax of the original DICOM file is "Explicit VR little endian" then the compressed DICOM opens fine in the Horos viewer. Nonetheless, if the original DICOM is "Implicit VR little endian", then the compressed image opens incorrectly in Horos: it shows a grayscale square instead of the image, although the DICOM tags shows correctly in Horos (patient data, study date and time and so on).
We tested with other viewers (Radiant, Weasis, cornerstone.js) and this only happens in Horos.
Has anyone had this issue as well? Any idea what is going on here?
Thanks
During conversion from implicit TS, GDCM sets VR of many (most) attributes VR::UN (unknown). I just tried converting from implicit TS and I can confirm this. Most likely, Horos was unable to cope with this at some point.
CP-246
Last edit: Mihail Isakov 2024-03-07
Hello @issakomi thanks for confirming this.
I tried again with the "-U" option (described as "Use dict for VR (only public by default)") and now it opens correctly in all viewers including Horos.
Cheers