摘要
采用传统的图像放大算法处理二值图像会产生明显的锯齿效应,从而影响图像视觉质量。对此提出一种基于形态学的二值图像放大算法。首先采用近邻采样法将图像放大到指定倍数,然后运用像素补偿法使图像边缘区域变得光滑。最后采用基于目标物像素占比约束的形态学腐蚀方法,解决图像边界外扩问题。实验结果表明,该算法用于对二值图像放大,不仅能有效消除锯齿效应,还有效保持了图像边缘的合理位置,使二值图像放大后的视觉质量得到明显提升。
When the traditional image magnifying algorithm is used to deal with the binary images , it usually produces a sig-nificant aliasing effect, which can affect the image quality.A binary image magnifying algorithm based on morphology is proposed. The nearest neighbor sampling method is used to enlarge the image to the specified multiple , and then the image edge area is smoothed by the pixel compensation method.Finally, the morphological corrosion method based on constraint of target area propor-tion is adopted to solve the problem of image boundary extension .Experimental results show that the proposed binary image magnif-ying algorithm not only can effectively eliminate the sawtooth effect, but also keep the reasonable position of image edge effectively, and evidently improves the visual quality of binary image magnifying .
出处
《安庆师范学院学报(自然科学版)》
2016年第3期47-49,61,共4页
Journal of Anqing Teachers College(Natural Science Edition)
关键词
二值图像放大
形态学
锯齿
边界保持
binary image magnifying
morphology
sawtooth
edge preservation