Closed Sethur closed 2 years ago
Testing Environment:
Issue When using
List.setMeasurements(); meanVal = List.get("Mean"); stdVal = List.get("StdDev");
on a ROI that only contains 0 in a 16-bit DICOM, meanVal and stdVal are of type string and contain "0.0" instead of the respective float number.
0
meanVal
stdVal
"0.0"
Use List.getValue() instead of List.get().
List.setMeasurements(); mean = List.getValue("Mean"); std = List.getValue("StdDev"); print("mean: "+mean); print("std: "+std);
Testing Environment:
Issue When using
on a ROI that only contains
0
in a 16-bit DICOM,meanVal
andstdVal
are of type string and contain"0.0"
instead of the respective float number.