Login  Register

Re: Use macro to get maximum value and coordinate position

Posted by Michael Schmid on Feb 28, 2014; 5:44pm
URL: http://imagej.273.s1.nabble.com/Use-macro-to-get-maximum-value-and-coordinate-position-tp5006717p5006722.html

On Feb 28, 2014, at 18:15, xiaolei wang wrote:

> Actually, I want to create selection, and output single points image at same
> time. So would you please tell me how to change the macro code?
> Thanks again.

Hi Xiaolei,

either run 'Find Maxima' twice with diffeent output or generate one type of output from the other.
E.g. if you have the multi-point selection, Edit>Selection>Create Mask gives you the image with the single points.

Note that no image named 'Mask' may be open when you run Edit>Selection>Create Mask, otherwise you add the points to the previous Mask.

Michael

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