Login  Register

Retrieving maxima value

Posted by claudiovc on Jan 20, 2011; 11:18am
URL: http://imagej.273.s1.nabble.com/Retrieving-maxima-value-tp3685946.html

Hello, I'm using imageJ in order to build an interactive flooding tool. Its a Java project and I use the imageJ .jar, so theres no user interface. At some point I need to run "Find Maxima" and get the result as a list - the same way I'd do via graphical interface. My question is, how can I retrieve the values after running, for example,
 IJ.run("Find Maxima...", "noise=10 output=[Maxima Within Tolerance] exclude"); ?

By the way, I use "Find Maxima" for selecting points inside the inner holes of a thresholded region, as the Wand Tool only gives you the outline and ignores these holes. Is there another way of doing that?
Thanks in advance.