Showing results for 
Search instead for 
Did you mean: 

How to find local extrema in matrices / 2D-arrays

OK, I thought if we would sweep an array subset across all locations and take a histogram of all subset maxima locations, only the real maxima will have a significant count. Seems to work just fine, try it!




(would need small adjustments for non-square inputs, but the idea stays the same)



Download All
Message 11 of 12

Thanks for your solution!

0 Kudos
Message 12 of 12