EDM without showing...

Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/EDM-without-showing-tp5020274.html

Hi, I wonder if it is possible (in Java) to do a 32 bit distance map, without
being shown and instead return it as an ImagePlus.
I know that one can do, for example the following on image "i" which is imp2
and get the result in imp3:

IJ.run(imp2, "Distance Map", "");
imp3 = WindowManager.getImage("EDM of i");

However there must be a better way of doing this.
Thanks for any suggestions.

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html