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?
- Open patient from Orthanc in OHIF.
- Double click on the rtstruct series
- 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