// This example macro demonstrates how to replace // NaNs in a 32-bit image with another value. requires("1.52d") random("seed", 0); newImage("Untitled", "32-bit noise", 3, 3, 1); run("Set... ", "zoom=3200"); setPixel(1,1, NaN); changeValues(NaN, NaN, 0.777); v= getPixel(1, 1); print("v (expected: 0.777): ", v);