Method and apparatus for determining target image location information

A position information and target image technology, applied in the field of image processing, can solve the problem of low accuracy of target image position information

Active Publication Date: 2017-12-08
ゼジャンハーレイテクノロジーカンパニーリミテッド
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for determining the position information of the target image to solve the proble...

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 and apparatus for determining target image location information
  • Method and apparatus for determining target image location information
  • Method and apparatus for determining target image location information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0076] figure 1 It is a schematic diagram of a process for determining the location information of a target image provided by an embodiment of the present invention, and the process includes the following steps:

[0077] S101: For each pixel in the image to be matched, determine the horizontal gradient value and the vertical gradient value of the pixel, and determine the gradient magnitude of the pixel according to the horizontal gradient value and the vertical gradient value of the pixel.

[0078] The method for determining the location information of a target image provided by the embodiments of the present invention is applied to electronic devices, and the electronic devices include PCs, mobile phones, tablet computers and other devices.

[0079]Specifically, when determining the horizontal gradient value of a pixel point, the horizontal gradient value of the pixel point can be determined according to the pixel values ​​of two pixel points adjacent to the pixel point in th...

Embodiment 2

[0102] On the basis of the above-mentioned embodiments, in the embodiment of the present invention, the process of pre-saving the horizontal gradient value, vertical gradient value and gradient magnitude of each template pixel on each edge line in the template image includes:

[0103] For each template pixel in the template image, determine the horizontal gradient value and the vertical gradient value of the template pixel, and determine the gradient magnitude of the template pixel according to the horizontal gradient value and the vertical gradient value of the template pixel;

[0104]According to the gradient amplitude of each template pixel and the preset first amplitude threshold, the template pixel is filtered to determine the edge template pixel in the template image;

[0105] For each edge template pixel, according to the first difference of the gradient magnitude of the edge template pixel and its two adjacent template pixels in the horizontal direction, and the edge te...

Embodiment 3

[0119] In order to further improve the accuracy of the edge template pixels in the determined template image, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the gradient magnitude of each template pixel and the preset first Amplitude threshold, after the template pixel is filtered, before determining the edge template pixel in the template image, the method also includes:

[0120] For each template pixel after filtering, determine the second neighborhood including the template pixel; determine the gradient direction of the template pixel according to the horizontal gradient value and the vertical gradient value of the template pixel, and determine Two position points corresponding to the gradient direction of the template pixel in the second neighborhood; according to the gradient magnitude of each template pixel in the second neighborhood, using a bilinear interpolation algorithm to determine The gradient magnitudes of the two pos...

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 method and apparatus for determining target image location information. The method includes the following steps that: for each matching area, the score value of the matching area is determined according to each pixel in the matching area as well as the horizontal gradient value, vertical gradient value and gradient amplitude of each template pixel in a pre-stored template image; a target area is determined, pixels in the target area which are located in a first neighborhood are determined according to the gradient directions of the template pixels; a preset algorithm is adopted to determine the perspective matrix of the target area; and each edge line of the template image is corrected according to the perspective matrix, and target image location information in the target area is determined. According to the method and apparatus for determining the target image location information provided by the embodiments of the present invention, after the target area is determined, the perspective matrix of the target area is determined; the edge lines are corrected according to the perspective matrix; the target image location information in the target area is determined; and therefore, the accuracy of the determination of the target image location information under perspective deformation can be improved.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and device for determining position information of a target image. Background technique [0002] Template matching is a technique to find the most matching or similar part of an image to a template image. Through template matching, the position information of the target image in the image to be matched can be determined. For example, in machine vision, locate a certain part pattern, guide the movement of the robotic arm; in defect detection, realize the registration of two images, etc. [0003] In the prior art, a matching algorithm based on feature points is generally used to achieve perspective template matching. The specific implementation process includes: extracting feature points in the template image and the image to be matched according to the gray value of the pixel points, and establishing a template based on the extracted feature points. The feature descriptor...

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): G06T7/33
CPCG06T7/33G06T7/344G06T2207/20016
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