Open tonyfast opened 10 years ago
Thanks Tony...Do you have any codes that perform 2D peak fitting?
These codes work for any dimension matrix. This function FindPeaksSSFFT
is finding peaks in a 2-D image using a similar function.
Just load in a 2-D or 3-D or N-D image into the function and it will work. Use this snippet to find the locations of indices of the peaks.
There are some tweaking parameters we can work with later on.
ordfilt
instead of imdilate
/imerode
.
Recently, I made provided another project with recipe to find peaks in 1-D nanoindentation signals. Please see their Peak Finding post.
At the bottom of the page is a Gist with Matlab Drivers and Functions for N-D Peak Finding and it requires the Image Processing Toolbox. If you don't have access to that then we can easily get you on a machine that would.