Peaks from a Intensity Plot

조회 수: 11 (최근 30일)
Debmalya Pramanik
Debmalya Pramanik 2015년 7월 2일
댓글: Walter Roberson 2015년 7월 3일
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
Debmalya Pramanik
Debmalya Pramanik 2015년 7월 3일
I have given the details for the program, please suggest.
Walter Roberson
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개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by