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