Image thinning and characteristic classification method used for product defect detection and quality control
A product defect and feature classification technology, applied in image analysis, image data processing, character and pattern recognition, etc., can solve problems such as circle thinning into points, algorithm time-consuming cannot exceed, thinning unevenness, etc., to ensure correctness performance, eliminating the effect of endpoint interference
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2015-08-05
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of image detection, in particular to defect detection and product quality control methods for products such as electronics, printing, and glass panels. Background technique
[0002] With the development of large-scale industrial production, people have higher and higher requirements for product quality control. The traditional way of using human eyes to detect products is far from meeting the needs of modern industrial production. It is the trend of the times to carry out defect detection and quality control of products. Image thinning technology, that is, skeletonization, is to reduce the binary image to a series of lines with a single pixel, eliminate a large amount of redundant information in the image, and accurately retain the original image information. In the defect detection of array graphics such as plasma panel printing graphics, For defects such as disconnection and burrs, it can be detected efficiently an...
Examples
Embodiment Construction
[0050] The present invention will be further described below in conjunction with accompanying drawing:
[0051] The directional terms mentioned in the following embodiments, such as "up, down, left, right" are only referring to the directions of the drawings, therefore, the directional terms are used for illustration and not for limiting the present invention.
[0052] This method is an improved method by improving the four-step method of Dayies. The general four-step method of Dayies is first introduced below. This method continuously iterates and thins the image in four steps from top, bottom, left and right: 1. It introduces the concept of crossover number χ (combined with Figure 4 ):
[0053] χ=(b 2 ! =b 4 )+(b 4 ! =b 8 )+(b 8 ! =b 6 )+(b 6 ! =b 2 )+2*((~b 2 &b 1 &~b 4 )+(~b 2 &b 3 &~b 6 )+(~b 4 &b 7 &~b 8 )+(~b 8 &b 9 &~b6 ))
[0054] 2. Neighborhood sum: σ=b1+b2+b3+b4+b6+b7+b8+b9
[0055] 3. Define north, south, east, west points, take the nort...