I am using 3Dslicer with the Monailabel plugin to run some segmentation models. The result is then exported as DICOMSegmentation and saved to an Orthanc PACS. Up to this point we were using OHIF v2 to visualise the images along with the segmentations. However we have noticed that this is not working for OHIF v3.3. It throws some error about missing SpacingBetweenSlices tag. Anyway, my question is the following do we know whether OHIF v3.3 is capable to read DICOMSegmentations stored using 3DSlicer? Is there a way to tweak the way the segmentations are stored so they will be read by OHIF v3.3?
I saw your issue on OHIF github about this. It would be great if you could provide some example data (no PHI, just phantom or dummy data) to illustrate the issue and we can get to the bottom of this.
Right after posting this, I had a closer look into the console errors while reading the images with OHIF and tried this “Hail Mary” solution which worked. For my tests I am using this open access dataset, the latest version of 3DSlicer for windows and macOS, and the latest stable release of monai label. I hope that helps.
Interesting - thanks for the info. But are you saying the issue is with the segmentations on TCIA? I thought you were saying that SEGs from the current version of Slicer weren’t working. Can you post an example of the specific file that requires the change in OHIF?
I meant I am simply using open access dicom images and segment them using 3Dslicer with monai label.
The result of the segmentation causes OHIF v3.3 to crash. Please find an example image exported from my pacs here
My understanding is that monai label simply provides the segmentation mask and 3DSlicer exports that to a DICOMSeg object.
Hey @pieper, thx for looking into this. Yes I can confirm that the tag is there, so there might be some issue with their DICOM library because the property inside OHIF is null. I’ll try and find some time to test your suggestion.
Thanks for looking into it. I’m pretty sure the OHIF v3 code uses dcmjs before that fix was release so there’s a good chance updating the dependency will work. Let us know how it goes.