Design of Defect Inspection Algorithm for Mobile Screen Based on Mathematical Morphology
Aiming at the characteristics of mobile screens,such as single color and obvious defect shape feature,an automatic detection method for surface defects based on mathematical morphology is introduced in this paper.In this method,single frame images are taken with a CCD industrial camera to go through the filtering pretreatment,next the defect segmentation by means of gray scale morphological approach,and finally the defect classification according to the extracted morphological features.The results show that the algorithm is reliable,can not only identify detects effectively,but also judge the type of defects accurately.