You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: CorrectedImage must contain "ATTN" and "DECY": NORM,DTIM,RADL,DECY
at calculateSUVScalingFactors
Error: PatientWeight value is missing. It is not possible to calculate the SUV factors
So in these cases the unit should not be SUV.
Ideally, even if all metadata is present to calculate SUV, the user should be able to select the unit (e.g. if an image is in units Bq/ml, that might be what the user actually wants so see).
PS: Thank you for this great library!
The text was updated successfully, but these errors were encountered:
I'm wondering if the cornerstone tools library is actually the right place to determine the units, since the actual metadata to convert the values is extracted in a different place, e.g. in a OHIF extension.
Currently the annotations (elliptical, rectangle, probe, maybe others) show
SUV
as the unit of all PT images (see .e.g. https://github.com/cornerstonejs/cornerstone3D-beta/blob/main/packages/tools/src/tools/annotation/RectangleROITool.ts#L851-L854).However, not all PT images have the required metadata to convert values to SUV.
https://v3-demo.ohif.org/viewer?StudyInstanceUIDs=1.3.6.1.4.1.25403.345050719074.3824.20170125113417.1
![Screenshot 2022-08-04 at 09 54 51](https://user-images.githubusercontent.com/24232962/182794481-ee6a27ee-5b42-43b2-bbfd-f3eec478fe1f.png)
If you inspect the log, you can find:
So in these cases the unit should not be SUV.
Ideally, even if all metadata is present to calculate SUV, the user should be able to select the unit (e.g. if an image is in units Bq/ml, that might be what the user actually wants so see).
PS: Thank you for this great library!
The text was updated successfully, but these errors were encountered: