Density calibration is lost when duplicating images
Posted by
Stein Rørvik on
Jul 04, 2018; 10:26am
URL: http://imagej.273.s1.nabble.com/Density-calibration-is-lost-when-duplicating-images-tp5020903.html
Here is a bug that has appeared recently:
When duplicating a 8-bit or 16-bit density calibrated image, the density calibration is lost.
The spatial calibration is not lost.
This also happens when duplicating slices from stacks.
The bug has been present since 1.52d. It was not present in 1.52c.
Here is a test macro reproducing the problem:
run("Clear Results");
run("CT (420K, 16-bit DICOM)"); //this image is both spatially and density calibrated
run("Set Measurements...", "area mean standard modal min display redirect=None decimal=4");
run("Measure"); //results are ok
run("Duplicate...", " ");
run("Measure"); //results are no longer density calibrated; the spatial calibration is still ok
selectWindow("Results");
Look at the Mean value, the correct value should be negative for this image.
Stein
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html