摘要
介绍了梯度的概念和度量方法,分析了常用梯度算法,对其中的Sobel算子进行改进,从灰度算法改进到RGB三维空间,提出了一种针对彩色图像的边缘检测算法。本算法在Delphi平台上实现,与同类算法做了多次实验对比。实验证明,该算法能有效增强彩色图像的边缘,耗时较少,经过封装后可以直接用于二值图像、灰度图像和彩色图像,具有一定的通用性和实用价值。
This paper introduces the concept and measure method of gradient firstly. Then it analyzes normal gradient algorithm, especially the Sobel algorithm among which is modified from grey algorithm to RGB space. At last it gives out a new algorithm to detect color image' s edge. This algorithm is achieved on Delphi plat. Compared with other algorithms, it is more efficient and need less time. The algorithm is currency and practical, by encapsulation, it can process 2-value images, grey images and color images directly.
出处
《电子工程师》
2005年第5期41-43,共3页
Electronic Engineer
关键词
梯度算子
图像边缘检测
彩色图像
gradient algorithm, image edge detection, color image