Peaks from a Intensity Plot
Mostrar comentarios más antiguos

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 comentarios
Thorsten
el 2 de Jul. de 2015
Please provide the data. Otherwise it is hard to help.
Debmalya Pramanik
el 3 de Jul. de 2015
Walter Roberson
el 3 de Jul. de 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.
Respuestas (0)
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!