Peaks from a Intensity Plot
이전 댓글 표시

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
Thorsten
2015년 7월 2일
Please provide the data. Otherwise it is hard to help.
Debmalya Pramanik
2015년 7월 3일
Walter Roberson
2015년 7월 3일
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!