According to the disadvantage of presented automatic optic inspection (AOI) equipments with the weaker image preprocessing function, an image enhancement method of printed circuit board (PCB) based on morphological filtering is proposed. Firstly, the colorful images captured by AOI equipments using the average value rule are grayed. And then the image enhancement is performed using morphological filtering method based on the grayed images. The method is realized using C# programming language under VS2008 development plat⁃form finally. Experimental results show that noise points can be removed effectively by the method and the de⁃tailed features of the original image are reserved, so good effects are achieved.% 针对现有AOI设备在PCB图像预处理功能较弱的缺点,提出了基于形态滤波的PCB图像增强方法。文中首先应用平均值法将AOI设备采集到的彩色图像灰度化,然后在灰度图基础上利用形态滤波方法进行图像增强,最后在VS2008开发平台下采用C#编程语言实现了该方法。实验结果表明,该方法能够很好地去除噪点,并保留原始图像的细节特征,取得了良好的效果。
展开▼