Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the OHIF Viewer.
When displaying two series with differing frame-of-reference and activate the referenceLinesTool, the two series still show the intersection line (reference line) when the two series are not the same frame-of-reference.
replace the scout in the first viewport with series 3 from the 25-March-2014 scan. So now the left viewport has a coronal taken on March 25, and the right viewport has an axial taken on May 22 2014.
use the DICOM Tag Browser to dump the frame-of-reference in each of the 2 viewports (search for 'frame' and you will get the (0020,0052) tag
The two viewport have different frame-of-reference uid's.
The reference line tool displays intersection line in either viewport which is not expected.
The current behavior
Reference lines are displayed between active viewport and another viewport when they have different frame-of-references.
The expected behavior
When a pair of viewports have different frame-of-reference, the reference line tool should not display a line.
More generally, all viewports except the active viewport display a reference line only if they share common frame-of-reference.
OS
linux (ubuntu)
Node version
20
Browser
Chrome Version 129.0.6668.100 (Official Build) (64-bit)
Describe the Bug
When displaying two series with differing frame-of-reference and activate the referenceLinesTool, the two series still show the intersection line (reference line) when the two series are not the same frame-of-reference.
Steps to Reproduce
The current behavior
Reference lines are displayed between active viewport and another viewport when they have different frame-of-references.
The expected behavior
When a pair of viewports have different frame-of-reference, the reference line tool should not display a line.
More generally, all viewports except the active viewport display a reference line only if they share common frame-of-reference.
OS
linux (ubuntu)
Node version
20
Browser
Chrome Version 129.0.6668.100 (Official Build) (64-bit)