Login  Register

Re: Finding Multiple Peaks in a Plot Profile

Posted by Jerome Mutterer-3 on Mar 18, 2014; 1:29pm
URL: http://imagej.273.s1.nabble.com/Finding-Multiple-Peaks-in-a-Plot-Profile-tp5006959p5006971.html

You could also have a look at Norbert Vischer's peak finder macro.
http://simon.bio.uva.nl/objectj/examples/PeakFinder/peakfinder.html
It does what you expect.

Jerome.




On 18 March 2014 13:45, Tiago Ferreira <[hidden email]>wrote:

> On Mar 18, 2014, at 06:28, Burni <[hidden email]> wrote:
> > how the program is finding the peaks exactly?
>
> Peak detection is performed by MaximumFinder, the plugin that implements
> the
> Process>Find Maxima... command. The source code is here:
>
> http://imagej.nih.gov/ij/developer/source/ij/plugin/filter/MaximumFinder.java.html
> This is possible because last year Norbert Vischer made MaximumFInder
> aware of 1D
> arrays.
>
>
> > The best results would be achieved if the individual peaks were the
> result of a
> > Gaussian or a Lorentz fit (...) Do you know if there's an addon or
> script that
> > does this?
> Perhaps you could use the built-in CurveFitter (Analyze>Tools>Curve
> Fitting...)?
>
> In a macro:
>
> run("Blobs (25K)");
> makeLine(132, 12, 143, 33);
> run("Plot Profile");
> Plot.getValues(x, y);
> Fit.doFit("Gaussian", x, y);
> Fit.plot();
>
> Best,
> -tiago
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>



--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
 12, rue du Général Zimmer
67084 Strasbourg Cedex
T 0367155339
www.ibmp.cnrs.fr

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