Load single segementation dicom file over a PET dicom using displaySet.url without passing frame ID

Describe Your Question

  • A clear and concise description of what problem you are having.
  • I want to load a Segmentation file over a PET modality dicom file. The single segmentation file contains multiple frames and in the dicom json each frame has ?frame=x at the end of the URL. I want to load this file without having to pass ?frame=x. I tried this approach and getting an error “Error: Invalid DICOM file, expected header is missing at DicomMessage.readFile”. After this error the execution gets stuck on “Loading SEG” screen. Does anyone have any idea how can I navigate the solution.
  • Which OHIF version you are using?
  • v3.10.2

Following line in the CornerstoneCacheService is throwing the error

await displaySet.load({ headers });

@jbocce I saw you merged a change regarding segmentation couple of days ago. I’m using “@ohif/extension-cornerstone-dicom-seg.sopClassHandlerModule.dicom-seg” as sopClassHandler, and “default” HangingProtocol. can you help here?

Hello @adityapol-q , my recent changes for segmentation went into the latest version (3.11). Perhaps you can try your scenario in 3.11?

hey @jbocce I’m using this for enterprise purposes so I won’t be able to change the version for just this one issue, isn’t there any workaround in v3.10.2? Because I checked the same data on the official release and there it’s working

Sorry I do not know what to apply in 3.10.2. However 3.11 might be released soon, so that is something else to consider.

okay, no issues, will check. @alireza any idea??