threshold = getNumber("Threshold:", 100); // Get profile and display values in "Results" window run("Clear Results"); profile = getProfile(); // Set values less than threshold to NaN for (i=0; i