Research on Scratch Detection Method for Small Aperture Spherical Optical Lenses Based on Image Processing
In order to achieve defect detection of small aperture spherical glass optical lenses,this article uses the Ostu threshold segmentation+Hough transform method to automatically detect lens scratches.Firstly,a fully automatic visual in-spection system was constructed.The lens surface image with maximum separation of lens scratches and background was obtained by means of dark-field illumination.The image was thresholded and segmented to obtain the grey-scale map of the image,and the scratch image was extracted based on the grey-scale map by means of the Hough transform for the calculation of the length of the scratches.The experimental results show that the method used in this paper can effectively detect scratches and accurately calculate the length of scratches.