MELF (Metal Electrode Leadless Face) component positioning and detecting method based on match template

A technology of template matching and detection methods, applied in computer parts, character and pattern recognition, image data processing, etc., can solve the problems of slow execution speed, large amount of calculation, slow component positioning and detection speed, etc., to reduce the search position , the effect of improving computational efficiency

A technology of template matching and detection methods, applied in computer parts, character and pattern recognition, image data processing, etc., can solve the problems of slow execution speed, large amount of calculation, slow component positioning and detection speed, etc., to reduce the search position , the effect of improving computational efficiency

CN105046271AActive Publication Date: 2015-11-11宁波智能装备研究院有限公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • MELF (Metal Electrode Leadless Face) component positioning and detecting method based on match template
  • MELF (Metal Electrode Leadless Face) component positioning and detecting method based on match template
  • MELF (Metal Electrode Leadless Face) component positioning and detecting method based on match template

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0035] A kind of MELF element localization and detection method based on template matching of the present embodiment, such as figure 1 As shown, the MELF element positioning and detection method is realized through the following steps:

[0036] Step 1. Obtain the original MELF component image of the MELF component by using an optical shooting system;

[0037]Step 2, select a fixed threshold to carry out threshold segmentation on the original MELF component image obtained in step 1, obtain the image after binarization preprocessing, and calculate the number of non-zero pixels in the image after binarization preprocessing;

[0038] Step 3, judging whether the number of non-zero pixel points obtained in step 2 reaches the corresponding multiple of the total number of pixels in the original MELF component image, if not, then end the MELF component detection process, and return a corresponding error code; if so, continue to perform step 4;

[0039] Step 4: Establish a template ima...

specific Embodiment approach 2

[0047] Different from Embodiment 1, in the MELF component positioning and detection method based on template matching of the present embodiment, the template image with a rotation angle of 0° is established according to the length and width information of the input MELF component described in step 4, and the rotation angle is 0 °. The template image with an angle of 0° is rotated with a step size of 1 degree, and the process of obtaining all template images with a rotation angle between [-30°, 30°] is,

[0048] Step 41, according to the length and width information of the input MELF element, obtain the template information with a rotation angle of 0°, and establish a template image with a rotation angle of 0°; wherein, the length of the MELF element corresponds to the width of the template image with a rotation angle of 0°, The width of the MELF element corresponds to the height of the template image whose rotation angle is 0°;

[0049] Step 42: Rotate the template image with ...

specific Embodiment approach 3

[0050] Different from the specific embodiment 1 or 2, the specific calculation process of the image Gaussian pyramid calculation method described in step 5 of the MELF element positioning and detection method based on template matching in this embodiment is as follows:

[0051] Step 51. Suppose that the pyramid image to be obtained includes an i+1 layer image, and each layer image in the pyramid image is obtained from the same original MELF component image, and the levels of the pyramid image are numbered from bottom to top, and the higher the level The smaller the image, the highest i+1th layer represents the highest level of the pyramid image, G i Represents the pyramid image of level i; then G i with a Gaussian kernel 1 16 1 4 6 4 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

No PUM Login to View More

Abstract

The invention discloses a MELF (Metal Electrode Leadless Face) component positioning and detecting method based on match template which belongs to the technical field of component positioning and detecting. Under a traditional match template algorithm, it takes great amount of computing to detect a component with a rotation angle, and the process is also very slow to perform. For these reasons, the positioning and detecting speed for the component is also rather slow. In light of these shortcomings, the invention provides a MELF (Metal Electrode Leadless Face) component positioning and detecting method. The method creates a template image with angle to obtain a distance transformation image of a narrowed image of the component and a distance transformation image of the original image of the component and to obtain a final best match template image and a best match position. Key edge points are extracted from an edge image with interference points to form a minimum external rectangle. According to the number of the non-zero pixels in the minimum external rectangle with added offset value, the method determines that the positioning of the component is correct and that the length and the width of the component are in the bearable range. After that, the positioning and detecting process is complete and positioning information of the component is then transmitted out. The method provided by the invention is capable of reducing the number of positions searched during the computing of a match template value. With the method, the computing efficiency of a match template can be increased and the accurate rate for positioning and detecting reaches 95% to 98%.

Description

technical field [0001] The invention relates to a method for locating and detecting MELF elements based on template matching. Background technique [0002] The application of machine vision in surface mount technology (SMT) has become more and more mature. During the placement process, the precise positioning and detection of components has an important impact on the efficiency of the entire SMT production line. [0003] MELF is a cylindrical packaging form with metal cap electrodes at both ends, usually wafer resistors, bonded inductors, and bonded diodes. The existing detection methods are mainly for chip components, spherical lead components and rectangular lead components, and there are few researches for cylindrical components. Under specific lighting conditions, the image geometry features of MELF components are relatively regular rectangular areas. The goal of the detection algorithm is to extract a rectangle that can describe the component pose from the acquired ima...

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
11 Nov 2015
Publication
CN105046271A
IPC
G06K9/62; G06T7/00
CPC
G06T2207/30108; G06F18/22
Inventors
高会军; 李茹