用canny算子提取边缘,核心:用高斯滤波器平滑图像;一阶偏导的有限差分计算梯度的幅值和方向;非极大值抑制;双阈值算法检测和连接边缘。- 下载
// Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow, double dRatHigh, LPBYTE pResult) { //经过高斯滤波后的图像 LPBYTE pGaussSmooth pGaussSmooth = new unsigned char[sz.cx*sz.cy] //x方向导数的指针 int *pGradX pGradX = new int[sz.cx*sz.cy] //y方向 int *pGradY pGradY = new int[sz.cx*sz.cy] //梯度的幅度 int *pGradMag pGradMag = new int[sz.cx*sz.cy] //对原图高斯滤波 GaussianSmooth(sz,pGray,pGaussSmooth,sigma) //计算方向导数和梯度的幅度 Grad(sz,pGaussSmooth,pGradX,pGradY,pGradMag) //应用非最大抑制 NonmaxSuppress(pGradMag,pGradX,pGradY,sz,pResult) //应用Hysteresis,找到所有边界 Hysteresis(pGradMag,sz,dRatLow,dRatHigh,pResult) delete[] pGradX pGradX = NULL delete[] pGradY pGradY = NULL ..........-/ / Canny operator void Canny (LPBYTE pGray. SIZE sz, double sigma, double dRatLow. double dRatHigh. LPBYTE pResult) (/ / after Gaussian filtering of images LPBYTE pGaussS mooth unsigned pGaussSmooth = new char [sz.cx * sz.cy] / / x direction derivative indicators pGradX pGradX int * = new int [ sz.cx * sz.cy] / / int * y direction pGradY pGradY = new int [sz.cx * sz.cy] / / gradient magnitude int * pGradMag pGradMag = new int [sz.cx * sz.cy] / / maximum Gaussian filter to GaussianSmo oth (sz, pGray, pGaussSmooth. sigma) / / calculate derivative and the gradient range Grad (sz. pGaussSmooth, pGradX, pGradY. pGradMag) / / non-application of the biggest inhibition NonmaxSuppress (pGradMa g, pGradX, pGradY, sz, pResult) / / Application Hysteresis, find all border Hysteresis (pGradMag, sz, dRa 下载
用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象-with Canny operator to detect the edges in the image P0404 : image thresholding segmentation P0405 : water line threshold method image segmentation P0406 : matrix Quadtree P0407 : images into text and non-text of the two categories P0408 : morphological gradient detection Binary Image Edge P0409 : morphology example -- Images from the PCB to delete all current lines, retaining only chip targets 下载
用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象-with Canny operator to detect the edges in the image P0404 : image thresholding segmentation P0405 : water line threshold method image segmentation P0406 : matrix Quadtree P0407 : images into text and non-text of the two categories P0408 : morphological gradient detection Binary Image Edge P0409 : morphology example -- Images from the PCB to delete all current lines, retaining only chip targets 下载
用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象-with Canny operator to detect the edges in the image P0404 : image thresholding segmentation P0405 : water line threshold method image segmentation P0406 : matrix Quadtree P0407 : images into text and non-text of the two categories P0408 : morphological gradient detection Binary Image Edge P0409 : morphology example -- Images from the PCB to delete all current lines, retaining only chip targets 下载
MATLAB源码,P0401:用Prewitt算子检测图像的边缘 P0402:用不同σ值的LoG算子检测图像的边缘 P0403:用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象- 下载
程序代码说明 P0401:用Prewitt算子检测图像的边缘 P0402:用不同σ值的LoG算子检测图像的边缘 P0403:用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象- Procedure code explanation P0401: Examines the picture with the Prewitt operator the edge P0402: Examines the picture with the different sigma value LoG operator the edge P0403: Examines the picture with the Canny operator the edge P0404: Picture threshold value division P0405: Divides the picture with the water line threshold value law P0406: Carries on to the matrix four forks the tree decomposition P0407: Divides into the writing and the non- writing two categories the picture P0408: The morphology gradient examines two values pictures the edge P0409: The morphology example 鈻♀枴deletes all electricity streamline from the PCB picture, only retains the chip object 下载
程序代码说明 P0401:用Prewitt算子检测图像的边缘 P0402:用不同σ值的LoG算子检测图像的边缘 P0403:用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象 -code P0401 Note : Prewitt operator to detect the edges in the image P0402 : different values of Getting operator to detect the edges in the image P0403 : Canny operator to detect the edges in the image P0404 : image thresholding segmentation P0405 : water line threshold method image segmentation P0406 : matrix Quadtree P0407 : images into text and non-text of the two categories P0408 : morphological gradient detection Binary Image Edge P0409 : morphology example -- Images from the PCB to remove all current lines, retaining only chip targets 下载
程序代码说明 P0401:用Prewitt算子检测图像的边缘 P0402:用不同σ值的LoG算子检测图像的边缘 P0403:用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象 -code P0401 Note : Prewitt operator to detect the edges in the image P0402 : different values of Getting operator to detect the edges in the image P0403 : Canny operator to detect the edges in the image P0404 : image thresholding segmentation P0405 : water line threshold method image segmentation P0406 : matrix Quadtree P0407 : images into text and non-text of the two categories P0408 : morphological gradient detection Binary Image Edge P0409 : morphology example -- Images from the PCB to remove all current lines, retaining only chip targets 下载
程序代码说明 P0401:用Prewitt算子检测图像的边缘 P0402:用不同σ值的LoG算子检测图像的边缘 P0403:用Canny算子检测图像的边缘 P0404:图像的阈值分割 P0405:用水线阈值法分割图像 P0406:对矩阵进行四叉树分解 P0407:将图像分为文字和非文字的两个类别 P0408:形态学梯度检测二值图像的边缘 P0409:形态学实例——从PCB图像中删除所有电流线,仅保留芯片对象 - Procedure code explanation P0401: Examines the picture with the Prewitt operator the edge P0402: Examines the picture with the different sigma value LoG operator the edge P0403: Examines the picture with the Canny operator the edge P0404: Picture threshold value division P0405: Divides the picture with the water line threshold value law P0406: Carries on to the matrix four forks the tree decomposition P0407: Divides into the writing and the non- writing two categories the picture P0408: The morphology gradient examines two values pictures the edge P0409: The morphology example 鈻♀枴deletes all electricity streamline from the PCB picture, only retai 下载
全球(及中国)3g 产业链研究报告 天体运动图 linux 标准函数 matlab 开关电源 仿真 opengl 水面模拟 vc 数据库编程三部教学代码 嵌入式snmp源码 电子万年历源代码 arm 点灯 vc 压缩 合并 文件 flash数字时钟源代码 c 保存gif文件 终端程序 代码 c51 十六进制 转换 excel开发库 rc522 代码 delphi oracle例子 cs5463中文资料 vc socket 源码 水晶连连看源代码 nachos can总线通信vb6源程序 vc 数据加密 matlab遗传算法源程序 rtp简单实现 windml 字库 logicalloy 源码 下载 vc 温度显示 石器服务端源码 top 8.0 serve code 组态王 图库 局域网内文件传输软件 键盘扫描原理图 tse搜索引擎代码 霍夫曼编码例 数字水印系统的源码 micrium_phy_bcm5221.zip adobe audition教程 软件模拟usb smbus 源程序 操作系统概念 答案 rs232串口测试程序 aes算法c代码 opencv 数据结构 二次拟合 c源程序 mp3 播放器 循环播放 jpeg压缩算法源码 clique算法 nokia开发包 j2ee servlet学习 源码 下载 pic spi