Login  Register

getAutoThreshold

Posted by Jjonthelin on Jul 28, 2009; 10:06pm
URL: http://imagej.273.s1.nabble.com/getAutoThreshold-tp3691634.html

Hi everyone, I'm new to using ImageJ, and I'm trying to write a macro that will apply the same threshold to all the pictures within one folder.  I want the macro to first go through each image and collect threshold values generated by AutoThreshold.  The macro should then take the average threshold value and apply it to all of the images.  The main snag that I'm running into is how to use getAutoThreshold() function.  

x = getAutoThreshold();

What else do I need to add to that statement?