1
我想勾勒出图像中的所有峰。最明亮的线条是峰顶。我正在使用Matlab。这是我到目前为止...... 任何帮助将不胜感激。这是图像。如何使用matlab在图像中找到峰值?
a = imread('duneLiDARs.png');
%b = imregionalmax(a);
%a = rgb2gray(a);
c = edge(a,'Sobel');
b = edge(a,'log',.0006);
d = edge(a,'log');
c= imfuse(a,d);
d= d-b;
subplot(2,2,1), imshow(a)
subplot(2,2,2), imshow(b)
subplot(2,2,3), imshow(c)
subplot(2,2,4), imshow(d)
%imshow(b);
%c = imadd(a,b);
%imshow(b);
你如何定义峰值?没有任何价值观是brigther? –