myimagelib.myImageLib.FastPeakFind¶
- myimagelib.myImageLib.FastPeakFind(data)¶
Detect peak in 2D images.
I rewrote a Matlab function with the same name in Python. The function, in my opinion, is unnecessarily complex, with thresholding, filtering, edge excluding etc. in the same function, making it very long and not easy to read. Moreover, it sometimes fails obviously simple tasks. Therefore, I would use
skimage.feature.peak_local_max
for the same purpose, whenever possible.- Parameters
data (2d array) – 2d images to find peaks in
- Returns
coordinates of peaks in an Nx2 array
- Return type
2d array