Canny Edge Detection, non-maximum suppression

8 ビュー (過去 30 日間)
Harel Harel Shattenstein
Harel Harel Shattenstein 2018 年 12 月 24 日
コメント済み: Image Analyst 2018 年 12 月 24 日
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 件のコメント
Image Analyst
Image Analyst 2018 年 12 月 24 日
There is a Canny method in the edge() function. Why not use that?

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by