Peaks from a Intensity Plot

3 vues (au cours des 30 derniers jours)
Debmalya Pramanik
Debmalya Pramanik le 2 Juil 2015
Commenté : Walter Roberson le 3 Juil 2015
I would like to find peaks from a Noisy Intensity plot. I used a Gaussian Filter to minimise the noise, HSize=[5 5] and Sigma=2; now I would like to find the peaks from the image.
I would like to find only the prominent peaks, which would be three. How do I get it?
I used 'findpeaks' function with MaxPeakHeight, NPeaks, MaxPeakDistance etc. but I am not getting a satisfactory result. Pleas suggest me some other ways.
fileName=imread('Location of the File');
gFilter=imspecial('gaussian',[5 5],2);
gfileName=(fileName,gFilter);
for i=1:1:1024
[pks(:,i),locs(:,i)]=findpeaks(double(gfileName),'NPeaks',3,'MaxPeakHeight',20,'MinPeakDistance',80);
end
  3 commentaires
Debmalya Pramanik
Debmalya Pramanik le 3 Juil 2015
I have given the details for the program, please suggest.
Walter Roberson
Walter Roberson le 3 Juil 2015
Debmalya, we could generate random data and figure out how to analyze it, and tell you the program that worked for that data. Or you could share your data with us and we could possibly find a program that works for your data.
Or we could just move on to the next question, written by someone who helps us to help them.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by