Multiple peaks with peak_local_max
Josh Warner
silvertrumpet999 at gmail.com
Thu Apr 9 11:22:51 EDT 2015
@FARS - My recommendation was going to be applying some blur first, I'm
glad that worked for you.
How have you labeled the red points in the image above? If they are in a
separate - possibly boolean - array, you can extract the coordinate indices
directly via `np.where` or `np.nonzero`. If not, we'll need a little more
information about those red dots to advise.
Josh
On Thursday, April 9, 2015 at 10:12:29 AM UTC-5, Forest Applied Remote
Sensing RG (FARS) wrote:
>
> Stefan,
>
> Thanks for your help, but I end up solving the problem. I combined the
> gaussin filter plus the max filter. The result now is much better.
>
> Now I'm strugling to export the local maxima points. Is there a function
> to export the points from the local maxima?
>
> Cheers,
>
> JP
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20150409/93fe7f41/attachment.html>
More information about the scikit-image
mailing list