[go: up one dir, main page]

CN109509229B - Template reconstruction device and method based on two-dimensional linear transformation - Google Patents

Template reconstruction device and method based on two-dimensional linear transformation Download PDF

Info

Publication number
CN109509229B
CN109509229B CN201811340149.9A CN201811340149A CN109509229B CN 109509229 B CN109509229 B CN 109509229B CN 201811340149 A CN201811340149 A CN 201811340149A CN 109509229 B CN109509229 B CN 109509229B
Authority
CN
China
Prior art keywords
template
dimensional linear
linear transformation
reconstruction
matrix corresponding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811340149.9A
Other languages
Chinese (zh)
Other versions
CN109509229A (en
Inventor
王亚飞
姚毅
安登奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lingyunguang Technology Group Co ltd
Luster LightTech Co Ltd
Original Assignee
Luster LightTech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Luster LightTech Co Ltd filed Critical Luster LightTech Co Ltd
Priority to CN201811340149.9A priority Critical patent/CN109509229B/en
Publication of CN109509229A publication Critical patent/CN109509229A/en
Application granted granted Critical
Publication of CN109509229B publication Critical patent/CN109509229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • G06T7/75Determining position or orientation of objects or cameras using feature-based methods involving models
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)

Abstract

The application discloses a template reconstruction device and a method based on two-dimensional linear transformation, wherein firstly, a modification unit modifies a first template of a positioning algorithm to obtain a second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template; secondly, when the first template of the positioning algorithm is modified, the notification unit sends a reconstruction instruction to the reconstruction unit; and the reconstruction unit reconstructs the template of the visual algorithm based on the two-dimensional linear transformation according to the new two-dimensional linear transformation matrix. By adopting the device and the method, the templates of other visual algorithms based on two-dimensional linear transformation are passively modified according to the modified templates of the positioning algorithm, so that the programming quantity and the data processing quantity of software in the system are reduced, and the maintenance cost of the system is reduced. Meanwhile, for the distributed and independently debuggable visual software, the condition that the abnormal condition occurs in the next use because only the positioning algorithm is modified and the corresponding other visual algorithms are not modified is avoided.

Description

Template reconstruction device and method based on two-dimensional linear transformation
Technical Field
The application relates to the technical field of visual image detection, in particular to a template reconstruction device and method based on two-dimensional linear transformation.
Background
In recent years, visual image detection techniques have been rapidly developed. Most visual image inspection systems involve positioning algorithms and other visual algorithms such as line finding, circle finding, and code reading. The main idea of the positioning algorithm is to match one or more real-time images with a training template in the real-time images and output a positioning result containing a plurality of information such as matching scores, positions, angles and the like. The two-dimensional linear transformation matrix in the positioning result refers to a matrix representing the rotation angle and the translation size between the real-time image and the training template.
The two-dimensional linear transformation matrix is an extremely important parameter in input information of other visual algorithm modules. For example: algorithms such as code reading, line finding, circle finding and the like all need to receive two-dimensional linear transformation output by a positioning algorithm, and then required templates are set on the basis of the positioning algorithm, so that matched areas can be searched in real-time images, and specific functions can be realized.
In order to ensure the validity of the two-dimensional linear transformation matrix output by the positioning algorithm, namely to ensure the output two-dimensional linear transformation matrix, other algorithms can find a matched area in a real-time image, and when a template of the positioning algorithm is modified, templates of other visual algorithms, such as line finding, circle finding, code reading and the like, need to be modified so as to ensure that the templates are matched. This increases the throughput of the system, and the problem becomes more pronounced, especially as the number of algorithms using two-dimensional linear transformation matrices increases.
Disclosure of Invention
The application provides a template reconstruction device and method based on two-dimensional linear transformation, and aims to solve the problem that the system data processing capacity is too large when a positioning algorithm template is modified.
In a first aspect, the present application provides a template reconstruction apparatus based on two-dimensional linear transformation, the apparatus comprising:
the modification unit is used for modifying the first template of the positioning algorithm to obtain a second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template;
the notification unit is used for sending a reconstruction instruction to the reconstruction unit when the first template of the positioning algorithm is modified;
and the reconstruction unit is used for reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the two-dimensional linear transformation matrix corresponding to the second template when a reconstruction instruction is received.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the reconstruction unit includes:
the acquisition subunit is used for acquiring an original search area of a current template of a visual algorithm based on two-dimensional linear transformation;
and the reconstruction subunit is used for reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the reconstruction subunit is specifically configured to obtain a two-dimensional linear transformation matrix corresponding to the second template output by the modification unit, and calculate an inverse matrix of the two-dimensional linear transformation matrix corresponding to the second template;
and reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the inverse matrix and the original search area.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the obtaining unit includes:
the execution subunit is used for executing the first template on the training data and outputting a two-dimensional linear transformation matrix corresponding to the first template;
and the determining subunit is used for acquiring a two-dimensional linear transformation matrix which is output by the executing subunit and corresponds to the first template, and determining the original search area according to the two-dimensional linear transformation matrix corresponding to the first template and the current template of the visual algorithm based on the two-dimensional linear transformation.
With reference to the first aspect or the second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the reconstruction subunit is specifically configured to reconstruct the template of the two-dimensional linear transformation-based visual algorithm according to the inverse matrix and the original search area by matrix multiplication.
In a second aspect, the present application provides a template reconstruction method based on two-dimensional linear transformation, including:
when a first template of a positioning algorithm is modified, acquiring a second template obtained through modification;
executing the second template on the training data to obtain a two-dimensional linear transformation matrix corresponding to the second template;
and reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the two-dimensional linear transformation matrix corresponding to the second template.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the reconstructing the template of the two-dimensional linear transformation based visual algorithm includes:
acquiring an original search area of a current template of a visual algorithm based on two-dimensional linear transformation;
and reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the reconstructing the template of the two-dimensional linear transformation based visual algorithm according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template includes:
calculating an inverse matrix of the two-dimensional linear transformation matrix corresponding to the second template;
and reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the inverse matrix and the original search area.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the obtaining an original search area of a current template of a two-dimensional linear transformation-based visual algorithm includes:
executing the first template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the first template;
and determining an original search area according to the two-dimensional linear transformation matrix corresponding to the first template and the current template of the visual algorithm based on the two-dimensional linear transformation.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the template of the two-dimensional linear transformation-based visual algorithm is reconstructed according to matrix multiplication between the inverse matrix and the original search area.
According to the technical scheme, the template reconstruction device and the template reconstruction method based on the two-dimensional linear transformation, which are provided by the embodiment of the application, firstly, the modification unit modifies the first template of the positioning algorithm to obtain the second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template; secondly, when the first template of the positioning algorithm is modified, the notification unit sends a reconstruction instruction to the reconstruction unit; then, when the reconstruction unit receives a reconstruction instruction, the template of the visual algorithm based on the two-dimensional linear transformation is reconstructed according to the two-dimensional linear transformation matrix corresponding to the second template.
By adopting the device and the method, when the template of the positioning algorithm is modified, the templates of other visual algorithms based on two-dimensional linear transformation are passively modified according to the modified template of the positioning algorithm, so that the programming quantity and the data processing quantity of software in the system are reduced, and the maintenance cost of the system is reduced. Meanwhile, for the distributed and independently debuggable visual software, the condition that the abnormal condition occurs in the next use because only the positioning algorithm is modified and the corresponding other visual algorithms are not modified is avoided.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a block diagram of a two-dimensional linear transform-based template reconstruction apparatus according to an exemplary embodiment of the present application;
FIG. 2 is a block diagram of another two-dimensional linear transform-based template reconstruction apparatus according to an exemplary embodiment of the present application;
fig. 3 is a flowchart illustrating a template reconstruction method based on two-dimensional linear transformation according to an exemplary embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the present application provides a template reconstruction device based on two-dimensional linear transformation, which is internally or externally installed in a visual image detection system, with reference to fig. 1, and the device includes:
the modification unit U100 is used for modifying the first template of the positioning algorithm to obtain a second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template;
a notification unit U200, configured to send a reconstruction instruction to the reconstruction unit when the first template of the positioning algorithm is modified;
and the reconstruction unit U300 is configured to reconstruct the template of the two-dimensional linear transformation-based visual algorithm according to the two-dimensional linear transformation matrix corresponding to the second template when the reconstruction instruction is received.
In this embodiment, the modifying unit U100 modifies the first template of the positioning algorithm, i.e. the current template, as required, and the modified template is the second template. Meanwhile, the modification unit U100 executes the second template on the training data, and outputs a two-dimensional linear transformation matrix corresponding to the second template. For example, the modification unit U100 modifies the first template Ms of the positioning algorithm into a second template Ms 1; the positioning algorithm is executed again, and the two-dimensional linear transformation matrix C2 corresponding to the second template Ms1 is output.
The notification unit U200 generates a reconstruction instruction when the first template of the positioning algorithm is modified and sends it to the reconstruction unit U300, so that when the template of the positioning algorithm is modified, other visual algorithms based on the two-dimensional linear transformation are automatically modified by the reconstruction unit to match the modified second template of the positioning algorithm. When the reconstruction unit U300 receives the reconstruction instruction, the template of the two-dimensional linear transformation-based visual algorithm is reconstructed according to the two-dimensional linear transformation matrix corresponding to the second template.
For example, the reconstruction unit U300 receives the reconstruction instruction sent by the notification unit U200, and automatically reconstructs the templates of the two-dimensional linear transformation-based visual algorithms (such as the circle finding algorithm) to match the templates with the second template Ms1 without executing the algorithms.
Referring to fig. 2, in some preferred embodiments of the present application, the reconstruction unit U300 includes:
an obtaining subunit U310, configured to obtain an original search area of a current template of a visual algorithm based on two-dimensional linear transformation;
and a reconstruction subunit U320, configured to reconstruct the template of the two-dimensional linear transformation-based visual algorithm according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template.
In this embodiment, after the modification unit U100 modifies the template of the positioning algorithm and notifies the reconstruction unit U300 through the notification unit U200, the obtaining subunit U310 obtains the original search area of the current template of the visual algorithm based on the two-dimensional linear transformation. The reconstruction subunit U320 reconstructs the template of the two-dimensional linear transformation based visual algorithm according to the obtained original search area and the two-dimensional linear transformation matrix corresponding to the second template.
For example, a two-dimensional linear transformation matrix C2 corresponding to the second template Ms1 output by the modification unit is acquired; the reconstruction subunit U330 may determine a new template Mf1 of the circle finding algorithm according to the two-dimensional linear transformation matrix C2 and the original search area D.
The original search area D may be understood as an original search area corresponding to a current template of the visual algorithm when the templates of the positioning algorithm and other visual algorithms based on the two-dimensional linear transformation are not modified. For example, the first template of the positioning algorithm is Ms, the first template Ms is executed, a two-dimensional linear transformation matrix C is output, the two-dimensional linear transformation matrix C is obtained based on the circle finding algorithm of the two-dimensional linear transformation, and a search area D is determined according to the two-dimensional linear transformation matrix C and the current template Mf, where D is an original search area corresponding to the current template of the circle finding algorithm based on the two-dimensional linear transformation.
Based on this, in some preferred embodiments of the present application, the obtaining subunit U310 includes:
the execution subunit U311 is configured to execute the first template on the training data, and output a two-dimensional linear transformation matrix corresponding to the first template;
and the determining subunit U312 is configured to obtain a two-dimensional linear transformation matrix corresponding to the first template output by the execution subunit, and determine the original search area according to the two-dimensional linear transformation matrix corresponding to the first template and the current template of the two-dimensional linear transformation-based visual algorithm.
For example, the execution subunit U311 executes the first template Ms on the training data, and outputs a two-dimensional linear transformation matrix C corresponding to the first template Ms; the determining subunit U312 obtains a two-dimensional linear transformation matrix C, and determines an original search area D according to the two-dimensional linear transformation matrix C and a current template Mf of a visual algorithm based on two-dimensional linear transformation, where D is Mf × C.
In a further preferred embodiment of the present application, the reconstructing subunit U320 reconstructs the template of the two-dimensional linear transformation based visual algorithm specifically by the following steps:
firstly, acquiring a two-dimensional linear transformation matrix corresponding to a second template, and calculating an inverse matrix of the two-dimensional linear transformation matrix corresponding to the second template;
for example, a two-dimensional linear transformation matrix C2 corresponding to the second template Ms1 is acquired, and the inverse of the matrix C2 is calculated;
secondly, reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the inverse matrix and the original search area.
Preferably, the reconstruction subunit U320 reconstructs the template of the two-dimensional linear transformation based visual algorithm according to a matrix multiplication between the inverse matrix and the original search region. For example, the reconstructed template Mf1 of the circle finding algorithm based on the two-dimensional linear transformation is the inverse of the original search region D × the two-dimensional linear transformation matrix C2.
According to the foregoing embodiment, in the template reconstruction apparatus based on two-dimensional linear transformation provided by the present application, first, the modification unit modifies the first template of the positioning algorithm to obtain the second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template; secondly, when the first template of the positioning algorithm is modified, the notification unit sends a reconstruction instruction to the reconstruction unit; then, when the reconstruction unit receives a reconstruction instruction, the template of the visual algorithm based on the two-dimensional linear transformation is reconstructed according to the two-dimensional linear transformation matrix corresponding to the second template.
By adopting the device and the method, when the template of the positioning algorithm is modified, the templates of other visual algorithms based on two-dimensional linear transformation are passively modified according to the modified template of the positioning algorithm, so that the programming quantity and the data processing quantity of software in the system are reduced, and the maintenance cost of the system is reduced. Meanwhile, for the distributed and independently debuggable visual software, the condition that the abnormal condition occurs in the next use because only the positioning algorithm is modified and the corresponding other visual algorithms are not modified is avoided.
According to the foregoing template reconstruction apparatus based on two-dimensional linear transformation, this embodiment provides a template reconstruction method based on two-dimensional linear transformation, and referring to fig. 3, the method includes:
step S110, when the first template of the positioning algorithm is modified, obtaining a second template obtained by modification;
step S120, executing the second template on the training data to obtain a two-dimensional linear transformation matrix corresponding to the second template;
and step S130, reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the two-dimensional linear transformation matrix corresponding to the second template.
Preferably, the step S130 of reconstructing the template of the two-dimensional linear transformation based visual algorithm according to the two-dimensional linear transformation matrix corresponding to the second template includes:
firstly, acquiring an original search area of a current template of a visual algorithm based on two-dimensional linear transformation;
and secondly, reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the original searching area and the two-dimensional linear transformation matrix corresponding to the second template.
Preferably, the reconstructing the template of the two-dimensional linear transformation based visual algorithm according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template includes:
firstly, calculating an inverse matrix of the two-dimensional linear transformation matrix corresponding to the second template;
secondly, reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the inverse matrix and the original search area.
Preferably, the template of the two-dimensional linear transformation-based visual algorithm is reconstructed by matrix multiplication according to the inverse matrix and the original search area.
Preferably, the obtaining of the original search area of the current template of the two-dimensional linear transformation-based visual algorithm includes:
firstly, executing the first template on training data, and outputting a two-dimensional linear transformation matrix corresponding to the first template;
secondly, determining an original search area according to the two-dimensional linear transformation matrix corresponding to the first template and the current template of the visual algorithm based on the two-dimensional linear transformation.
As can be seen from the foregoing embodiments, in the template reconstruction apparatus and method based on two-dimensional linear transformation provided in the embodiments of the present application, first, the modification unit modifies the first template of the positioning algorithm to obtain the second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template; secondly, when the first template of the positioning algorithm is modified, the notification unit sends a reconstruction instruction to the reconstruction unit; then, when the reconstruction unit receives a reconstruction instruction, the template of the visual algorithm based on the two-dimensional linear transformation is reconstructed according to the two-dimensional linear transformation matrix corresponding to the second template.
By adopting the device and the method, when the template of the positioning algorithm is modified, the templates of other visual algorithms based on two-dimensional linear transformation are passively modified according to the modified template of the positioning algorithm, so that the programming quantity and the data processing quantity of software in the system are reduced, and the maintenance cost of the system is reduced. Meanwhile, for the distributed and independently debuggable visual software, the condition that the abnormal condition occurs in the next use because only the positioning algorithm is modified and the corresponding other visual algorithms are not modified is avoided.
In specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments of the reconstruction method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the description in the method embodiment.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (10)

1. A template reconstruction apparatus based on two-dimensional linear transformation, the apparatus comprising:
the modification unit is used for modifying the first template of the positioning algorithm to obtain a second template; executing the second template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the second template;
the notification unit is used for sending a reconstruction instruction to the reconstruction unit when the first template of the positioning algorithm is modified;
and the reconstruction unit is used for reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the two-dimensional linear transformation matrix corresponding to the second template when a reconstruction instruction is received.
2. The apparatus according to claim 1, wherein the reconstruction unit comprises:
the acquisition subunit is used for acquiring an original search area of a current template of a visual algorithm based on two-dimensional linear transformation;
and the reconstruction subunit is used for reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template.
3. The apparatus according to claim 2, wherein the reconstruction subunit is specifically configured to obtain a two-dimensional linear transformation matrix corresponding to the second template output by the modification unit, and calculate an inverse matrix of the two-dimensional linear transformation matrix corresponding to the second template;
and reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the inverse matrix and the original search area.
4. The apparatus of claim 2, wherein the obtaining subunit comprises:
the execution subunit is used for executing the first template on the training data and outputting a two-dimensional linear transformation matrix corresponding to the first template;
and the determining subunit is used for acquiring a two-dimensional linear transformation matrix which is output by the executing subunit and corresponds to the first template, and determining the original search area according to the two-dimensional linear transformation matrix corresponding to the first template and the current template of the visual algorithm based on the two-dimensional linear transformation.
5. The apparatus according to claim 3, wherein the reconstruction subunit is specifically configured to reconstruct the template of the two-dimensional linear transformation based visual algorithm by a matrix multiplication from the inverse matrix and the original search region.
6. A template reconstruction method based on two-dimensional linear transformation, which is characterized by comprising the following steps:
when a first template of a positioning algorithm is modified, acquiring a second template obtained through modification;
executing the second template on the training data to obtain a two-dimensional linear transformation matrix corresponding to the second template;
and reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the two-dimensional linear transformation matrix corresponding to the second template.
7. The method of claim 6, wherein reconstructing the template of the two-dimensional linear transform-based vision algorithm comprises:
acquiring an original search area of a current template of a visual algorithm based on two-dimensional linear transformation;
and reconstructing the template of the visual algorithm based on the two-dimensional linear transformation according to the original search area and the two-dimensional linear transformation matrix corresponding to the second template.
8. The method of claim 7, wherein reconstructing the template of the two-dimensional linear transformation based vision algorithm from the original search area and the two-dimensional linear transformation matrix corresponding to the second template comprises:
calculating an inverse matrix of the two-dimensional linear transformation matrix corresponding to the second template;
and reconstructing the template of the vision algorithm based on the two-dimensional linear transformation according to the inverse matrix and the original search area.
9. The method of claim 7, wherein obtaining an original search area of a current template of a two-dimensional linear transform based vision algorithm comprises:
executing the first template on the training data, and outputting a two-dimensional linear transformation matrix corresponding to the first template;
and determining an original search area according to the two-dimensional linear transformation matrix corresponding to the first template and the current template of the visual algorithm based on the two-dimensional linear transformation.
10. The method of claim 8, wherein the template of the two-dimensional linear transform based vision algorithm is reconstructed by matrix multiplication from the inverse matrix and the original search area.
CN201811340149.9A 2018-11-12 2018-11-12 Template reconstruction device and method based on two-dimensional linear transformation Active CN109509229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811340149.9A CN109509229B (en) 2018-11-12 2018-11-12 Template reconstruction device and method based on two-dimensional linear transformation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811340149.9A CN109509229B (en) 2018-11-12 2018-11-12 Template reconstruction device and method based on two-dimensional linear transformation

Publications (2)

Publication Number Publication Date
CN109509229A CN109509229A (en) 2019-03-22
CN109509229B true CN109509229B (en) 2020-12-15

Family

ID=65748206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811340149.9A Active CN109509229B (en) 2018-11-12 2018-11-12 Template reconstruction device and method based on two-dimensional linear transformation

Country Status (1)

Country Link
CN (1) CN109509229B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063729A (en) * 2010-12-30 2011-05-18 哈尔滨工业大学 Two-dimensional sparsity based compressed sensing image reconstruction method
CN104063884A (en) * 2014-07-11 2014-09-24 昆明联诚科技股份有限公司 Image target recognition method based on combination of motion prediction and multi-template matching
CN104732227A (en) * 2015-03-23 2015-06-24 中山大学 Rapid license-plate positioning method based on definition and luminance evaluation
CN107818301A (en) * 2017-10-16 2018-03-20 阿里巴巴集团控股有限公司 Update the method, apparatus and electronic equipment of biometric templates
CN108629312A (en) * 2018-05-04 2018-10-09 兰州理工大学 A kind of dynamic hand tracking method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6980685B2 (en) * 2001-01-22 2005-12-27 Siemens Corporate Research, Inc. Model-based localization and measurement of miniature surface mount components

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063729A (en) * 2010-12-30 2011-05-18 哈尔滨工业大学 Two-dimensional sparsity based compressed sensing image reconstruction method
CN104063884A (en) * 2014-07-11 2014-09-24 昆明联诚科技股份有限公司 Image target recognition method based on combination of motion prediction and multi-template matching
CN104732227A (en) * 2015-03-23 2015-06-24 中山大学 Rapid license-plate positioning method based on definition and luminance evaluation
CN107818301A (en) * 2017-10-16 2018-03-20 阿里巴巴集团控股有限公司 Update the method, apparatus and electronic equipment of biometric templates
CN108629312A (en) * 2018-05-04 2018-10-09 兰州理工大学 A kind of dynamic hand tracking method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于模板匹配的视觉定位技术研究与应用;周丽莎;《中国优秀硕士学位论文全文数据库信息科技辑》;20121015(第10期);全文 *
基于边缘几何特征的高性能模板匹配算法;吴晓军等;《仪器仪表学报》;20130731;第34卷(第7期);第1462-1469页 *

Also Published As

Publication number Publication date
CN109509229A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN110569721B (en) Recognition model training method, image recognition method, device, equipment and medium
US11450027B2 (en) Method and electronic device for processing videos
CN108986169B (en) Method and apparatus for processing image
CN111814910B (en) Abnormality detection method, abnormality detection device, electronic device, and storage medium
CN109255767B (en) Image processing method and device
CN109389072B (en) Data processing method and device
AU2017314341A1 (en) User identity verification method, apparatus and system
CN110362492B (en) Artificial intelligence algorithm testing method, device, server, terminal and storage medium
US11094059B2 (en) Vulnerable plaque identification method, application server thereof, and computer readable medium
CN109377508B (en) Image processing method and device
CN113496208B (en) Video scene classification method and device, storage medium and terminal
US11354923B2 (en) Human body recognition method and apparatus, and storage medium
US11360684B2 (en) Data storage method and apparatus, storage medium and computer device
GB2583623A (en) Fusing sparse kernels to approximate a full kernel of a convolutional neural network
CN108491890B (en) Image method and device
CN108491812B (en) Method and device for generating face recognition model
CN110245684B (en) Data processing method, electronic device, and medium
CN109509229B (en) Template reconstruction device and method based on two-dimensional linear transformation
CN112184884B (en) Three-dimensional model construction method, three-dimensional model construction device, computer equipment and storage medium
Zhang et al. TFIDF-FL: localizing faults using term frequency-inverse document frequency and deep learning
CN113064831A (en) Mobile terminal testing method, device and equipment based on image matching and storage medium
US20230237778A1 (en) Real time face swapping system and methods thereof
CN118485309A (en) Dairy product quality data processing method and system based on traceability information
EP3591608A1 (en) Method and system for image reconstruction using deep dictionary learning (ddl)
CN108446737B (en) Method and device for identifying objects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100094 701, 7 floor, 7 building, 13 Cui Hunan Ring Road, Haidian District, Beijing.

Patentee after: Lingyunguang Technology Co.,Ltd.

Address before: 100094 701, 7 floor, 7 building, 13 Cui Hunan Ring Road, Haidian District, Beijing.

Patentee before: Beijing lingyunguang Technology Group Co.,Ltd.

Address after: 100094 701, 7 floor, 7 building, 13 Cui Hunan Ring Road, Haidian District, Beijing.

Patentee after: Beijing lingyunguang Technology Group Co.,Ltd.

Address before: 100094 701, 7 floor, 7 building, 13 Cui Hunan Ring Road, Haidian District, Beijing.

Patentee before: LUSTER LIGHTTECH GROUP Co.,Ltd.

CP01 Change in the name or title of a patent holder