Canny Edge Detection, non-maximum suppression

8 Ansichten (letzte 30 Tage)
Harel Harel Shattenstein
Harel Harel Shattenstein am 24 Dez. 2018
Kommentiert: Image Analyst am 24 Dez. 2018
I am trying to implant Canny Edge Detection algorithm.
I started first with decomposing it using matlab functions.
function [newImg, tgTeta] = edgeDetectMatlab(img)
newImg=zeros(size(img));
tgTeta=zeros(size(img));
smoothImg=imgaussfilt(img,1.4);
[fx,fy]=imgradientxy(img);
tgTeta=imgradient(img);
end
I know that 2 steps are missing: non-maximum suppression and double threshold, but how can I do an non-maximum suppression?
  1 Kommentar
Image Analyst
Image Analyst am 24 Dez. 2018
There is a Canny method in the edge() function. Why not use that?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by