Method for extracting contour of image of printed circuit board (PCB)

A printed circuit board, contour extraction technology, applied in the field of computer vision, can solve the problem of inaccurate PCB image contour extraction, and achieve the effect of reduced customer intervention, strong adaptability, and improved sub-pixel accuracy

Active Publication Date: 2012-06-13
浙江欧威科技有限公司
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical problem to be solved by the present invention is to provide a contour extraction method for detecting printed circuit board defects, avoid the inaccurate defects of the existing contour extraction method when extracting the PCB image contour, enhance the accuracy and stability of contour detection, and then Improved work efficiency

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 more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for extracting contour of image of printed circuit board (PCB)
  • Method for extracting contour of image of printed circuit board (PCB)
  • Method for extracting contour of image of printed circuit board (PCB)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

[0039] Step 1: Obtain the original image of the printed circuit board;

[0040] Step 2: Gaussian Laplacian processing: the purpose is to smooth the image and provide an image with zero crossing to determine the edge position. figure 2 is the original image to be processed, image 3 After Gaussian Laplacian processing, the calculation result is normalized to an image between 0-255.

[0041] Step 3: gradient operator mutation processing: the purpose is to obtain a gradient image by calculating the gradient. Figure 4 is true figure 2 After calculating the gradient, normalize the image to 0-255. Gradient operator mutation is used as an auxiliary condition judgment, which can eliminate false detection and missed detection in some cases of uneven gray scale.

[0042] Step 4: Obtain a binary image: first use high and low double thresholds to ...

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

No PUM Login to view more

Abstract

The invention aims to provide a method for extracting a contour of an image of a printed circuit board (PCB). By the method, the defect of inaccuracy in extraction of the contour of the image of the PCB in the conventional contour extraction method is overcome, the accuracy and stability of contour detection are improved, and working efficiency is improved. The method comprises the following steps of: 1) acquisition of an original image of the PCB; 2) Gaussian Laplacian operator processing: processing the original image by using a Gaussian Laplacian operator to obtain a processed Gaussian Laplacian image; 3) gradient operator mutant processing: processing the original image by using a gradient operator to obtain a gradient image which is subjected to mutant processing through the gradientoperator; 4) processing the original image by using high and low threshold values to obtain a binary image; 5) establishing coordinate graphs of sub-pixel contour points, determining the pixel position of the contour according to the boundary of the binary image, and thus obtaining the coordinates of the sub-pixel contour points according to a Gaussian Laplacian value, a pixel value and a gradient value in the corresponding direction of the contour; and 6) connecting the sub-pixel contour points to form the contour, and connecting the sub-pixel contour points into a set in a certain sequence according to the coordinates of the sub-pixel contour points, wherein the coordinates are obtained in the step 5).

Description

technical field [0001] The invention relates to a contour extraction method of a printed circuit board image, which belongs to the technical field of computer vision. Background technique [0002] In the prior art, contour detection is often used to calculate the shape and quality of some precision workpieces, such as the detection of car bodies and the detection of precision machined parts. At present, extracting the outline of the printed circuit board image is an important issue of PCB (Printed Circuit Board, printed circuit board)-AOI (automatic optical inspection), and its accuracy directly affects the performance index of AOI. The invention proposes a new intelligent contour extraction algorithm applied to the printed circuit board industry. [0003] The traditional edge detection method cannot effectively detect all defect contours in the PCB image, resulting in PCB-AOI missed detection. There are many contour extraction methods, each with its own advantages, but th...

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
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/00
Inventor 张方德贺兴志钟靖
Owner 浙江欧威科技有限公司
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
PatSnap group products