필터 지우기
필터 지우기

Calculating local minima locations adjacent to a local maxima

조회 수: 1 (최근 30일)
Naseer Khan
Naseer Khan 2016년 9월 16일
편집: Naseer Khan 2016년 9월 16일
I m trying to find following points corresponding to local maximum.
For this I am writing a following code
url='https://i.ytimg.com/vi/9wnO8jQniS0/hqdefault.jpg';
Image=imread(url);
grayImage=rgb2gray(Image);
edgedImage=edge(grayImage,'sobel','vertical');
signal=sum(edgedImage,2);
plot(signal);
window=10;
h=gausswin(2*window+1)./window;
smSignal=filter(h,1,signal);
figure;plot(smSignal)
How would I find those points locations on x-axis? Also if I set some threshold like peaks with height greater than 40 only then how only those minpoint corresponding to peaks greater than 40 will be selected?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by