High-speed parallel implementation method and device for template matching based on normalized correlation coefficient

A correlation coefficient, template matching technology, applied in character and pattern recognition, instruments, computer components, etc., can solve problems such as reducing the maximum core speed, increasing the difficulty of wiring, and occupying DSP running time.

Active Publication Date: 2017-09-29
NANJING UNIV OF POSTS & TELECOMM
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The patent application number is 200910069272.6 The high-speed image matching method and device proposes a method to realize the normalized cross-correlation coefficient. This method has a simple structure, but the specific implementation process requires too many switches. Input, which will increase the consumption of logic resources, increase the difficulty of wiring, lead to longer wiring paths, reduce the maximum possible core speed of the system, and increase power consumption; the output is only the intermediate accumulation result, which will lead to the need for more external The storage space may require DSP to closely cooperate with the operation, thus occupying a large amount of DSP running time, resulting in the complexity of DSP control and communication, and reducing the real-time performance of DSP operation

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
  • High-speed parallel implementation method and device for template matching based on normalized correlation coefficient
  • High-speed parallel implementation method and device for template matching based on normalized correlation coefficient
  • High-speed parallel implementation method and device for template matching based on normalized correlation coefficient

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The technical solution of the present invention will be further described below in conjunction with the accompanying drawings of the description.

[0054] The normalized correlation coefficient formula used in the present invention is as follows:

[0055]

[0056]

[0057] A represents the real-time image, and B represents the template image, and their sizes are K×L and M×N pixels, respectively. (u, v) is any search position (u, v), 0≤u≤K-M, 0≤v≤L-N. ∑∑ means is the mean value of the template image, is the mean value of the overlap between the real-time image and the template image at the current search position.

[0058] For simplicity, the following variable definitions are made: Bcc=∑∑B(i,j), B2cc=∑∑(B(i,j)) 2 ,Acc(u,v)=∑∑A(i+u,j+v),A2cc(u,v)=∑∑A(i+u,j+v) 2 ,ABcc(u,v)=∑∑A(i+u,j+v)B(i,j), that is, Bcc represents the sum of the gray value of the template image, B2cc represents the sum of the squares of the gray value of the template image, Acc(u , v) repr...

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 high-speed parallel implementation method and device for template matching based on normalized correlation coefficients. The steps of the method are to read real-time graph and template graph data into the corresponding internal RAM buffer block and real-time graph data buffer RAM, and at the same time Carry out the calculation of the sum of the gray values ​​of the template image and the sum of the squares of the gray values ​​of the template image and the calculation of the sum of the squares of the gray values ​​of the real-time image at the search position (0,0); then simultaneously calculate the first row and subsequent columns of the search position The search position of the first row of each column template image real-time image gray value product sum and normalized correlation coefficient; further simultaneously read a new row of real-time image data into the corresponding internal RAM buffer block and the corresponding location of the real-time image data buffer RAM, At the same time, calculate the value of the first column of the current row; calculate the normalized correlation coefficient of each subsequent row in turn. The device is composed of a high-speed correlation arithmetic unit, an external data result memory and a microprocessor.

Description

technical field [0001] The invention relates to the technical field of image template matching, in particular to a high-speed parallel implementation method and device for template matching based on normalized correlation coefficients. Background technique [0002] Template matching is mainly used to locate a target in an image. It is widely used in image processing fields such as image alignment, edge detection, binocular stereo vision, etc., and these image processing methods have been used in missile target recognition, satellite image monitoring, medical image fusion, It is widely used in military and civilian fields such as measurement based on binocular stereo vision. [0003] Template matching mainly locates objects with similar sizes and images to the template map by calculating the similarity measure between the known template map at the search location and the real-time map search area. Because the normalized cross-correlation coefficient is invariant to brightnes...

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 Patents(China)
IPC IPC(8): G06K9/64
Inventor 王邢波王小涛
Owner NANJING UNIV OF POSTS & TELECOMM
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