Canny边缘检测器我要分享

Canny edge detector

关注次数: 202

下载次数: 0

文件大小: 1.51 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:Canny 边缘检测算法 matlab 代码 这部分给出了算法的 Canny 边缘检测器。输出是相同的图中所示的六个子图形︰ 子图形 1︰ 初始"莉娜" 子


English Description:

Canny edge detector algorithm matlab codes This part gives the algorithm of Canny edge detector. The outputs are six subfigures shown in the same figure: Subfigure 1: The initial "lena" Subfigure 2: Edge detection along X-axis direction Subfigure 3: Edge detection along Y-axis direction Subfigure 4: The Norm of the image gradient Subfigure 5: The Norm of the gradient after thresholding Subfigure 6: The edges detected by thinning The matlab codes: %%%%%%%%%%%%% The main.m file  %%%%%%%%%%%%%%% clear; % The algorithm parameters: % 1. Parameters of edge detecting filters: %    X-axis direction filter:      Nx1=10;Sigmax1=1;Nx2=10;Sigmax2=1;Theta1=pi/2; %    Y-axis direction filter:      Ny1=10;Sigmay1=1;Ny2=10;Sigmay2=1;Theta2=0; % 2. The thresholding parameter alfa:    


代码预览

相关推荐