Can't load rtstruct from Orthanc

Hi !

Describe Your Question

I’m trying to open an RTSTRUCT file from Orthanc using OHIF Viewer (version 3.10.1). The structure names are correctly listed in the UI (bottom right of the screen), but nothing is displayed on the CT images.

When I open the developer console, I see the following error:
6029.bundle.43e0423….js:2538 Error: <path> attribute d: Expected number, "M NaN, NaN L NaN, …". (anonymous) @ 6029.bundle.43e0423….js:2538
After investigating the code, I found that the contour points array consists of arrays of three undefined values (e.g., [[undefined, undefined, undefined], …]).

I’m using OHIF version 3.10.1

What steps can we follow to reproduce the bug?

  1. Open patient from Orthanc in OHIF.
  2. Double click on the rtstruct series
  3. The structure names appear, but no contours are rendered on the CT.

I tested with several DICOM RTSTRUCT files from different treatment planning systems (TPS), and the same RTSTRUCT files render correctly in other DICOM viewers. Tried with both the built-in OHIF plugin and the external Docker deployment — same result. Same with dicom-web and dicom-json. At this point, I’m not sure whether the problem comes from a misconfiguration of OHIF or from the way Orthanc serves the RTSTRUCT data.

Thx

Hello @Arthur. I have definitely loaded RTSRUCT dicom from Orthanc into OHIF in the past and have not running into anything similar. When you say you have tested with other DICOM viewers, were those viewers pulling the RTSTRUCTs from Orthanc? Have you tried manually loading the files in question using the local DICOM data source in OHIF? Lastly have you tried the latest OHIF version (3.11)?

Thanks.