FIELD: detecting faults.
SUBSTANCE: invention relates to a method for promptly detecting surface defects of crown caps based on image processing. Method includes stage 1: obtaining an image of the inner surface of the crown cap using an image capturing system and processing the resulting image by the method for Gaussian filter; stage 2: isolating the central section in the desired image by thresholding and analysing the characteristics of the region with the associated components, and selecting the circular contour of the edge pixels of the central contour of the section by selecting the least squares to determine the central position of the inner surface of the crown cap; stage 3: presetting the information about the physical radius of different sections for different types of crown caps according to the coordinates of the central position of the crown cap obtained at stage 2, and performing segmentation of the section of the inner surface of the crown cap in combination with the parameters of pixel ratio of the image; stage 4: isolating an image in the desired section of the inner surface based on the result of image segmentation at stage 3, setting a fixed threshold brightness value to complete image segmentation, and removing the noise section by analysing the characteristics of the region with the connectivity components in order to detect dark spots on the inner surface of the crown cap; stage 5: isolating an image in the inner and outer annular sections based on the result of image segmentation at stage 3, completing the image segmentation by the local threshold method, and removing the noise section by analysing the characteristics of the region with the connectivity components in order to detect bulging in the inner and outer annular sections on the inner surface of the crown cap; stage 6: obtaining the edge contour of the outer annular section of the obtained image by fixed thresholding, performing circular selection of pixels of the outer annular contour by the least squares method, and comparing the differences between the outer annular contour section and the selection section in order to detect the absence of rubber; stage 7: isolating an image of the flash section based on on the result of image segmentation at stage 3 and detecting the flash line and the soldering by fixed thresholding and by analysing the characteristics of the region; stage 8: isolating the skirt teeth connectivity component based on the result of image segmentation at stage 3, calculating the number of connectivity components, calculating the inner angle between the connectivity component and the centre of the crown cap, and determining whether skirt teeth defects are present based on the difference between the inner corners of the adjacent skirt teeth; stage 9: obtaining an image on the outer surface of the standard crown cap, processing the resulting images by the method for Gaussian filter, and creating an autonomous characteristic template according to the image contour characteristics; stage 10: establishing the template match indicator, and detecting and positioning the image, which undergoes the detection procedure by comparing the characteristics with the template after the Gaussian filter processing; and stage 11: performing an affine transformation on the target image based on the result of the template match at stage 10, performing thresholding and comparing the sections in the template and target images, respectively, and detecting outer surface defects by analysing the characteristics of the region with the connectivity components.
EFFECT: higher accuracy of detecting defects of crown caps.
10 cl, 9 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD FOR SEGMENTATION OF BITMAP IMAGES BASED ON GROWING AND MERGING REGIONS | 2010 |
|
RU2440609C1 |
METHOD FOR DETERMINING DEFECTS IN THE IMAGE OF COMPOSITE PRODUCTS | 2022 |
|
RU2807288C1 |
IMAGE SEGMENTATION METHOD | 2014 |
|
RU2557484C1 |
IMAGE SEGMENTATION DEVICE | 2018 |
|
RU2695980C1 |
METHOD OF DETECTING FORGERY | 2023 |
|
RU2825085C1 |
APPARATUS FOR PROCESSING VIDEO INFORMATION OF SECURITY ALARM SYSTEM | 2009 |
|
RU2484531C2 |
METHOD FOR RECOGNITION OF TEXT IN IMAGES OF DOCUMENTS | 2021 |
|
RU2768544C1 |
METHOD OF SPATIAL POSITION CONTROL OF THE PARTICIPANTS OF THE SPORTS EVENT ON THE GAME FIELD | 2016 |
|
RU2616152C1 |
METHOD FOR DETECTING FLUORESCENT ADHESIVE SPOTS IN IMAGES OF IDENTITY DOCUMENTS IN UV SPECTRUM | 2023 |
|
RU2814914C1 |
SEGMENTATION IN MR-VISUALISATION OF HEART IN LONG AXIS PROJECTION WITH LATE CONTRAST ENHANCEMENT | 2009 |
|
RU2522038C2 |
Authors
Dates
2022-12-28—Published
2019-09-29—Filed