Reference lines not showing in OHIF Viewer

512 views
Skip to first unread message

Rana Asim Wajid

unread,
Dec 22, 2017, 3:32:30 AM12/22/17
to cornerstone platform

As you can see in the screenshot below reference lines not showing in OHIF Viewer ....is there something I'm missing as I'm new to OHIF viewer







Erik Ziegler

unread,
Feb 2, 2018, 4:32:14 AM2/2/18
to cornerstone platform
Reference lines require image plane metadata. Specifically, your images need to have:

- rowCosines
- columnCosines
- frameOfReferenceUid
- imagePositionPatient

and these must be returned from the metadata provider when this (https://github.com/cornerstonejs/cornerstoneTools/blob/master/src/referenceLines/renderActiveReferenceLine.js#L18) is called.

There are many reasons why your setup / images may not appear to have this metadata.

How are you providing metadata / images to OHIF?

Rana Asim Wajid

unread,
Feb 2, 2018, 4:44:11 AM2/2/18
to cornerstone platform
Thank you for the reply.
I'm using the OHIF Viewer standalone installer from here with Orthanc as the image source.
Reply all
Reply to author
Forward
0 new messages