// This macro reproduces a bug fixed in ImageJ 1.52e9 // caused non-thresholded pixels in 16-bit images to // be highlighted in red. run("M51 Galaxy (177K, 16-bits)"); makeRectangle(140, 238, 32, 32); run("To Selection"); setThreshold(2820, 65535); run("Create Selection");