Login  Register

Re: introduce a threshold value

Posted by Gluender-4 on May 04, 2011; 1:23pm
URL: http://imagej.273.s1.nabble.com/introduce-a-threshold-value-tp3684724p3684725.html

Ramon,

most probably you need a dialog. What about:

        getNumber("prompt", defaultValue)

Perhaps you may study the macro functions manual at:

        <http://rsb.info.nih.gov/ij/developer/macro/functions.html>


>Hi, everything worked fine, Getting the Id of an image after image
>calculation works fine in order to invoke that window, finally I would like
>the plugin to ask the user the value to use as threshold for the different
>channels, any idea how?
>thanks,
>
>ramon

HTH

Herbie