Current Issue Cover
用Sobel算子细化边缘

陆宗骐1, 梁 诚1(华东理工大学信息学院,上海 200237)

摘 要
提出了一种用Sobel算子细化边缘的新方法,通过引入衰减因子得到不失真的灰阶边缘图P1,然后将灰阶边缘图P1用Sobel算子进行处理,得到边缘的边缘图P2,再用前者减去后者得差值图P3,再将P3中为负的点改为0,用以除去P3图中边缘外侧的点,从而得到边缘较细的边缘图.对于边缘较陡的部分可直接得到光滑、连续且接近单点宽的边缘,对于边缘模糊的部分这种过程可以重复多次,最后也可得到较细的边缘(但不一定连续).此种方法对于处理其它边缘检测方法得到的边缘也有效.边缘细化可用于物体边缘的精确定位.由于结果仍是
关键词
Edge Thinning Based on Sobel Operator

()

Abstract
A new edge thinning method based on Sobel operator is proposed in this paper. A gray edge image (P1) is obtained by introduces a attenuation factor,the gray edge image can also be processed using Sobel operator, then another gray edge image (P2) is get from the previous gray edge image. Another gray edge image(P3) is obtained by subtracting P2 from P1 and the pixels of negative value in P3 are set to zero to eliminate the extra points on both side of the detected edges therefor a image with thinner edge can be obtained. And this procedure can repeat several times to obtain thinner edges(but not necessarily continuous). This method also has effect on the edges that detected by other edge detection methods. Edge thinning can be used to get the exact position of object' s edge. This method can not only get fairly thin edge but can also reserve the edges of low step change and this advantage can overcome the segmentation error that due to improperly selected threshold.
Keywords

订阅号|日报