Bypassing plugin dialog within macro
Posted by
Sidney Rempel on
URL: http://imagej.273.s1.nabble.com/Bypassing-plugin-dialog-within-macro-tp3682190.html
I'm working on a macro that includes a plugin but I would like to bypass the user value input dialog and just have it use predetermined values.
The plugin is Local Transformation found here:
http://bigwww.epfl.ch/sage/soft/localnormalization/It dates back to 2002 but works fine on the latest ImageJ version.
Included with this plugin are:
LocalNormalization_$Convolver
LocalNormalization_
and then another subdirectory named imageaccess which contains the files:
ImageAccessTools
ImageAccess
Within the macro, running this plugin comes up in the Macro recorder as:
run("LocalNormalization ");
When the macro is run, a dialog comes up requesting two sigma values as indicated by slider bars.
Is there any way I can pass set values to this request and have the dialog close and continue on?
Sorry if this seems elementary but I am not a programmer. The macro runs fine otherwise
Thanks in advance for any advice.