中圖分類號(hào): TP391 文獻(xiàn)標(biāo)識(shí)碼: A DOI:10.16157/j.issn.0258-7998.211938 中文引用格式: 鞏玉奇,陶晉宜,,楊剛. 基于改進(jìn)中值濾波的手機(jī)玻璃瑕疵圖像增強(qiáng)方法[J].電子技術(shù)應(yīng)用,,2022,,48(7):91-95. 英文引用格式: Gong Yuqi,Tao Jinyi,,Yang Gang. Mobile phone glass defect image enhancement method based on improved median filter[J]. Application of Electronic Technique,,2022,48(7):91-95.
Mobile phone glass defect image enhancement method based on improved median filter
Gong Yuqi1,,2,,Tao Jinyi1,Yang Gang2
1.Institute of Electrical and Power Engineering,,Taiyuan University of Technology,,Taiyuan 030024,China,; 2.Key Lab of High-Speed Circuit Design and EMC.Ministry of Education,,Xidian University,Xi′an 710071,,China
Abstract: The defect detection of mobile phone cover glass is mainly divided into several steps: image acquisition, image preprocessing, image segmentation and defect classification. Due to the difficulty of obtaining high-quality images, the subsequent image preprocessing will be particularly important. Traditional filtering methods, when dealing with image noise, more or less blur the picture and lose part of the effective information. Usually the presence of noise will make the extreme value in the nearby neighborhood have a large gap between the upper and lower extremes, so filtering becomes an indispensable step. This paper improves the traditional median filter,,by judging whether the target pixel needs to be filtered, while enhancing the image, it reduces the loss of useful defect information. This article uses histogram equalization to further process the image after the filtering process, which has the effect of image enhancement. Compared with the traditional median filtering, this method not only preserves the edge information of the flaws, but also has better image enhancement effects.
Key words : glass defects;image enhancement,;median filtering,;histogram equalization;PSNR