Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

[Bug] Multiframe MR images do not render unless anonymized

Open mr-sonalia opened this issue 1 year ago • 3 comments

Describe the Bug

Hi everyone,

I am facing the issue that MR multi-frame images from studies are not rendering on the viewport and throw cornerstone-related errors on stack-scroll and a loading text on the viewport. But when I anonymize the same studies, from Orthanc, the images render correctly.

In both of these cases, there is a bug in the thumbnail side panel as well. It duplicates the previous series but without the image preview.

Please use this Google Drive link to access the original and anonymized studies from the same patient.

Regards, Yash

Steps to Reproduce

  1. Use the Ohif v3.8-beta (current master branch)
  2. Osimis/orthanc as the data source
  3. Load the scans in Basic mode

The current behavior

Error logs from the browser console for the image render error:

image

Thumbnail side panel and the viewport:

image

The expected behavior

  1. The expected behaviour is to render the original study and all the instances.
  2. The thumbnail side panel should display the series correctly.

OS

Windows 11, Debian(containerized)

Node version

v20.5.0

Browser

Chrome 121.0.6167.140

mr-sonalia avatar Feb 08 '24 16:02 mr-sonalia

I am having similar issue. Please let me know if you need the dataset to recreate the issue.

Commenting the below lines in platform\core\src\utils\combineFrameInstance.ts does load the images. However, reference lines do not work.

    [...shared, ...perFrame].forEach(item => {
      Object.entries(item).forEach(([key, value]) => {
        newInstance[key] = value;
      });
    });

Any recommendation on how to fix this would be greatly appreciated.

rghgit1 avatar Jun 23 '24 19:06 rghgit1

@rghgit1 , for me issue was with the Orthanc plugin + dicom-json as the data-source. Could you share more details on your bug?

mr-sonalia avatar Jun 24 '24 04:06 mr-sonalia

I am using Orthanc (Dicom Web) as the data-source. And if I anonymize using Orthanc Anonymize option and load that study, its rendering fine and reference lines are also displayed.

rghgit1 avatar Jun 24 '24 05:06 rghgit1