Printed circuit board image skeletonization method based on FPGA
A technology of printed circuit boards and image skeletons, applied in the direction of measuring electricity, measuring electrical variables, measuring devices, etc., can solve the problems of time-consuming detection, loss of image features, and difficulty in real-time processing, so as to improve processing speed and release software resources. Effect
Inactive Publication Date: 2011-05-11
THE 45TH RES INST OF CETC
View PDF2 Cites 0 Cited by
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
[0003] The purpose of the present invention is to provide an FPGA-based printed circuit board image skeletonization method, to solve the technical problems that the existing algorithm for thinning and extracting image skeletons often loses image features, and the detection is time-consuming and difficult to realize real-time processing
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View moreImage
Smart Image Click on the blue labels to locate them in the text.
Smart ImageViewing Examples
Examples
Experimental program
Comparison scheme
Effect test
Embodiment Construction
[0028] see example Figure 4 :
[0029] Step 1, input image data.
[0030] Step 2, analyze the 3 × 3 neighborhood of each pixel, and count the number n of the surrounding 8 pixels to the pixel value of 1, and the number of conversions S between 0 and 1, the output is 1, and the pixels that are reserved as 1 are counted.
[0031] Step 3, determine whether the center pixel is 1, if the output is 0, delete the center pixel.
[0032] Step 4, when 1
[0033] Step 5, when 1
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more PUM
Login to view more
Abstract
The invention relates to an image skeletonization method of a printing circuit board based on an FPGA which firstly inputs an image to analyze the 3*3 neighborhood of each pixel and count the number n with a pixel value of 1 among the surrounding 8 pixels and the pixel with a switch time S between 0 and 1, with an output being 1 and a preservation being 1; then, whether a central pixel is 1 is judged; the central pixel is deleted if the central pixel is zero; when n is more than 1 but is less than or equal to 6, S is equal to 2, and circulating time is odd, the pixels along the right and lower directions of the central pixel and the pixels along the left and right directions of the central pixel are investigated, whether 0 and 1 are cross is judged, 0 is output and the pixel is deleted; when n is more than 1 but is less than or equal to 6, S is equal to 4, n is equal to 4, and the circulating time is odd, the pixels along the upper-left and upper-right directions of the central pixel and the pixels along the lower-left and lower-right directions of the central pixel are investigated; whether the lower side pixel of the central pixel is 1 and whether 0 and 1 are two communicating areas are judged; if the pixel is 0, the pixel is deleted. The image skeletonization method can fast and accurately withdraw the image skeleton.
Description
technical field [0001] The invention relates to a method for detecting defects of printed circuit boards. Background technique [0002] At present, the well-known detection methods for PCB defects are based on simple logical operations such as image addition and subtraction. The analysis of the operation results is relatively simple, and it is difficult to determine the difference between the images and determine the defect type. The detection speed is slow and difficult Real-time processing of the collected images is realized, which affects the detection efficiency. The existing method for extracting image skeleton is a thinning algorithm, which uses binary morphological operations to determine the situation of 8 neighborhoods of pixels. In the process of skeleton extraction, because the speed of deleting pixels in the upper, lower, left, right and diagonal directions is different, some basic features of the image will be lost as a result. Image processing; and the thinni...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more Application Information
Patent Timeline
Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G01N21/956G01R31/00
Inventor 姚立新邴守东张云连军莉付纯鹤魏祥英
Owner THE 45TH RES INST OF CETC
Who we serve
- R&D Engineer
- R&D Manager
- IP Professional
Why Eureka
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Social media
Try Eureka
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap