4-Participant
May 23, 2024
Question
finding centroids of peaks in a 2D array
- May 23, 2024
- 2 replies
- 1634 views
I have 2D arrays with multiple peaks in the array. I need to extract the centroids of each peak. I have MCAD14 with all the extensions but am not seeing any function that will help with that, but trying to avoid writing the whole matrix search algorithm myself.
I'd like the array positions of the centroids of the peaks shown in this plot as the red peaks.

Any ideas that make this simple?
Thanks.

