Login  Register

How to call "Contrast Enhancer" from Java plugin

Posted by Joachim Wesner on Sep 08, 2009; 3:36pm
URL: http://imagej.273.s1.nabble.com/How-to-call-Contrast-Enhancer-from-Java-plugin-tp3691264.html

HI,

I would  like to use the "ContrastEnhancer" class/plugin from my own
plugin.

After some fiddling around I thought the correct call might be

      IJ.runPlugIn(imp, "ij.plugin.ContrastEnhancer", "saturated=.1");

which runs the enhancer plugin up to the dialog window, but does not
process the argument string, but wants the user to enter values and press
OK.

What is the right way to do it? Or is there a more direct way to call the
enhancer class? THANX!

Sincerely

Joachim


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________