introduce a threshold value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

introduce a threshold value

Ramon Guirado
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
Reply | Threaded
Open this post in threaded view
|

Re: introduce a threshold value

Gluender-4
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