Set and apply threshold on a 32-bit image in a macro

Posted by John Oreopoulos on
URL: http://imagej.273.s1.nabble.com/Re-remove-noise-Iterative-deconvolution-tp3692100p3692103.html

Dear ImageJ list,

I've looked in the listserver archive about this topic but couldn't  
find anything conclusive. I have a 32-bit image on which I'd like to  
set a specific threshold range (0.00 to 0.65) in a macro and then  
have the macro perform automatically the same action as clicking  
"apply". A message checkbox usually appears with the title "NaN  
background" and I'd like to have this option set to true (box  
checked) and performed. I've tried using the standard threshold macro  
functions but they're not behaving the same as when I do this by hand  
in ImageJ. Any thoughts?

John Oreopoulos