Find maxima in Java
Posted by
Avital Steinberg on
Jan 21, 2015; 9:44pm
URL: http://imagej.273.s1.nabble.com/Find-maxima-in-Java-tp5011307.html
Hi,
I would like to use Find maxima in Java. I used the following commands:
ImageProcessor ip = Img.getProcessor();
MaximumFinder mf = new MaximumFinder();
mf.findMaxima(ip,20.0,4,false);
Just like the graphical user interface in ImageJ, it's possible to get the
maxima as a list. (the integer 4 represents a list) When I run these
commands, a window opens and the list of x,y values of the maxima is
displayed.
My question is:
How can I save this list or store the individual x,y values in order to use
them in my Java program?
Thanks,
Avital
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html