Dear Sébastien
,
I think I found what causes the issue. We receive studies which are pre-compressed in jp2k before we store them in Orthanc. Those which are compressed via
fo-dicom produce gibberish images, only when accessed through DicomWeb protocol. Meanwhile those which are compressed via Gdcm/DCMTK do not produce gibberish images when accessed through DicomWeb protocol.
I have privately sent those studies to you because when I anonymize, ImplementationVersionName changes from fo-dicom 4.0.1 to OFFIS_DCMTK_366 and I wanted to keep things original.
What perplexes me here is that studies which are compressed via fo-dicom produce normal images in OHIF if pulled as a
JSON launch, which is my current way of accessing studies. In fact, I use
RadiAnt and
Weasis on a regular basis on my desktop to view fo-dicom compressed images and they appear to be normal in both the tools.
One resource at OHIF suspect that the metadata I am getting from Orthanc may not be correctly matching the image that OHIF is trying to decide. I am using WADO-RS.
He also suspects that maybe the response from Orthanc is not in the correct compression or its only serving part of the bytestream.
I do not know the answer to these.
What I do know now is what causes the issue. Going forward I can store all the studies compressed only in Gdcm instead of fo-dicom. But how do I fix my history where studies are compressed in jp2k via fo-dicom?
Any thoughts?
Best regards,