cornerstoneDemo icon indicating copy to clipboard operation
cornerstoneDemo copied to clipboard

Measurement should be disabled for images with no definitive scale

Open simonmd opened this issue 10 years ago • 3 comments

Measuring on images with no definitive scale, such as CR or MG results in a "NaN" measurement like this:

screen shot 2014-05-11 at 8 48 48 am

Perhaps it would be better if images with no real scale disabled the measurement tool.

simonmd avatar May 11 '14 14:05 simonmd

How about it display pixels? We need a measurement calibration tool to do this safely with projection radiographs

Sent from my iPhone

On May 11, 2014, at 9:18 AM, Simon Rascovsky [email protected] wrote:

Measuring on images with no definitive scale, such as CR or MG results in a "NaN" measurement like this:

Perhaps it would be better if images with no real scale disabled the measurement tool.

— Reply to this email directly or view it on GitHub.

chafey avatar May 11 '14 15:05 chafey

Display pixels should be OK. Actually IHE BIR states that:

The Image Display shall provide a tool to measure distance in a straight line between two points within the plane of the image (using Pixel Spacing (0028,0030), Imager Pixel Spacing (0018,1164), Nominal Scanned Pixel Spacing (0018,2010) or the Ultrasound Region Calibration Module as appropriate for the SOP Class of the image). Distance shall be reported in pixels rather than physical units if there is no spacing or calibration information in the image, otherwise the distance shall be reported in the units of the DICOM attribute used (mm in the case of pixel spacing attributes, and whatever units are specified for the Ultrasound Region).

simonmd avatar May 11 '14 15:05 simonmd

The demo only maps the pixel spacing attribute right now. The other attributes are likely present but there are patient safety issues with them so I didn't map them. I'll think about how to do this properly

Sent from my iPhone

On May 11, 2014, at 10:32 AM, Simon Rascovsky [email protected] wrote:

Display pixels should be OK. Actually IHE BIR states that:

The Image Display shall provide a tool to measure distance in a straight line between two points within the plane of the image (using Pixel Spacing (0028,0030), Imager Pixel Spacing 1030 (0018,1164), Nominal Scanned Pixel Spacing (0018,2010) or the Ultrasound Region Calibration Module as appropriate for the SOP Class of the image). Distance shall be reported in pixels rather than physical units if there is no spacing or calibration information in the image, otherwise the distance shall be reported in the units of the DICOM attribute used (mm in the case of pixel spacing attributes, and whatever units are 1035 specified for the Ultrasound Region).

— Reply to this email directly or view it on GitHub.

chafey avatar May 11 '14 17:05 chafey