Self-adaption method and system of parameters in template matching

An adaptive system, template matching technology, applied in character and pattern recognition, instruments, computer parts, etc., can solve problems such as increasing operator requirements, and achieve the effect of reducing dependence on experience

Active Publication Date: 2018-01-16
SHENZHEN HUAHAN WEIYE TECH
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These parameters have to be manually tested many times in the application, and the optimal parameters are selected to ensure the stability and a

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
  • Self-adaption method and system of parameters in template matching
  • Self-adaption method and system of parameters in template matching
  • Self-adaption method and system of parameters in template matching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0041] Definitions of terms used in the present invention:

[0042] An image pyramid is a structure for explaining images at multiple resolutions. An image pyramid is a collection of progressively lower resolution images arranged in a pyramid shape. The bottom image of the pyramid is a high-resolution representation, while the top is a low-resolution representation.

[0043] Region of interest (ROI, region of interest), in machine vision, image processing, outlines the area that needs processing from the processed image with the mode such as box, circle, ellipse, irregular polygon, adopts rectangular square in the present embodiment frame.

[0044] Blob Analysis (Blob Analysis) is to analyze the connected area of ​​the same pixel in the image, and the connected area is called Blob. The color spots in the image processed by Bin...

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 self-adaption method and system of parameters in template matching. The self-adaption method of parameters in template matching includes the steps: through a template image,calculating the contrast variance or contrast standard deviation of the template image; performing edge detection on the template image, and setting the value range of a gradient threshold; accordingto the gradient threshold, acquiring the edge region of the template image; performing Blob analysis on the edge region to obtain a communication region, and calculating the average length or mean intensity of the communication region; taking the average length or the mean intensity as the correlation function of the gradient threshold; in the value range, taking the gradient threshold corresponding to the maximum correlation function as the gradient threshold parameter; and acquiring the position of the edge pixel through the gradient threshold parameter so as to calculate and obtain the angle step and the zoom step. Therefore, the self-adaption method and system of parameters in template matching can automatically calculate and obtain the gradient threshold parameter only by setting thetemplate image, reduces the dependence on the experience of operators for parameter setting, so that the operators do not need know about the implementation principle of the algorithm and only need performing the basic operation.

Description

technical field [0001] The invention relates to the technical field of machine vision, in particular to an adaptive method and system for parameters in template matching. Background technique [0002] Template matching is a basic method in machine vision, and it has a wide range of applications in the fields of visual alignment guidance, glue dispensing, and lamination. In template matching, there are usually many parameter settings, such as gradient threshold, number of pyramid layers, rotation angle step size, contrast variance and other parameters. These parameters have to be manually tested many times in the application, and the optimal parameters are selected to ensure the stability and accuracy of the system, which greatly increases the requirements for the operator, and the operator has to understand the function of the function. [0003] Therefore, the prior art needs to be improved and improved. Contents of the invention [0004] The present application provides...

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
IPC IPC(8): G06K9/62
Inventor 杨洋
Owner SHENZHEN HUAHAN WEIYE TECH
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