[go: up one dir, main page]

CN111815685B - A checkerboard corner point positioning method, device and electronic device - Google Patents

A checkerboard corner point positioning method, device and electronic device Download PDF

Info

Publication number
CN111815685B
CN111815685B CN202010940476.9A CN202010940476A CN111815685B CN 111815685 B CN111815685 B CN 111815685B CN 202010940476 A CN202010940476 A CN 202010940476A CN 111815685 B CN111815685 B CN 111815685B
Authority
CN
China
Prior art keywords
pixel
image
preset template
current image
current
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
CN202010940476.9A
Other languages
Chinese (zh)
Other versions
CN111815685A (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.)
Ji Hua Laboratory
Original Assignee
Ji Hua Laboratory
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 Ji Hua Laboratory filed Critical Ji Hua Laboratory
Priority to CN202010940476.9A priority Critical patent/CN111815685B/en
Publication of CN111815685A publication Critical patent/CN111815685A/en
Application granted granted Critical
Publication of CN111815685B publication Critical patent/CN111815685B/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/30Determination of transform parameters for the alignment of images, i.e. image registration
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a checkerboard angular point positioning method, a checkerboard angular point positioning device and electronic equipment, which relate to the technical field of image measurement and comprise the following steps: acquiring a target image with checkerboard characteristics; the method comprises the steps that a target image is translated by a preset number of pixels from an initial position along a target direction relative to a preset template; and taking the target images after each movement as current images one by one, and performing the following matching operation on the current images: determining a current pixel parameter based on a preset template and a current image; the current pixel parameter is used for representing the pixel information at the starting boundary and the intersection of the checkerboard in the current image; determining the matching degree between the current image and a preset template according to a correlation coefficient algorithm and the current pixel parameter; and determining the corner points of the checkerboard based on the matching degree corresponding to each current image. The method and the device can effectively reduce the data calculation amount and improve the matching efficiency and the positioning efficiency of the checkerboard angular points.

Description

一种棋盘格角点定位方法、装置及电子设备A checkerboard corner point positioning method, device and electronic device

技术领域technical field

本公开涉及图像测量技术领域,尤其涉及一种棋盘格角点定位方法、装置及电子设备。The present disclosure relates to the technical field of image measurement, and in particular, to a method, device and electronic device for locating corner points of a checkerboard.

背景技术Background technique

数字图像相关算法随着图像采集硬件和软件的快速发展而逐渐取代了传统的测量方法。特别是远距离面内小位移测量在大型建筑结构、复杂空间、大跨度桥梁等领域中有着重要的应用,其以非接触式、远距离、高精度等优势被广泛应用于工程检测和监测中。在数字图像测量中,测量速度和测量精度是非常重要的。With the rapid development of image acquisition hardware and software, digital image correlation algorithms have gradually replaced traditional measurement methods. In particular, long-distance in-plane small displacement measurement has important applications in large-scale building structures, complex spaces, long-span bridges and other fields. . In digital image measurement, measurement speed and measurement accuracy are very important.

在数字图像测量过程中,主要利用具明显纹理特征的棋盘格进行角点定位,以实现相机标定。目前,模板与真实图像的一次匹配过程需要计算诸如图像子区域中像素平均值Im等大量数据,以最终定位棋盘格角点;当对整幅图像进行计算时,庞大的数据量和复杂的计算将导致效率下降,严重影响数字图像测量速度。In the process of digital image measurement, the checkerboard with obvious texture features is mainly used to locate the corner points to realize the camera calibration. At present, the one-time matching process of the template and the real image needs to calculate a large amount of data, such as the pixel average value Im in the sub-region of the image, in order to finally locate the corner points of the checkerboard; when the whole image is calculated, the huge amount of data and the complex complexity The calculation will lead to a drop in efficiency, which will seriously affect the speed of digital image measurement.

发明内容SUMMARY OF THE INVENTION

为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种棋盘格角点定位方法、装置及电子设备。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a checkerboard corner point positioning method, device and electronic device.

本公开实施例提供了一种棋盘格角点定位方法,包括:获取具有棋盘格特征的目标图像;相对于预设模板,将所述目标图像从初始位置开始沿着目标方向平移预设个数的像素;将每次移动后目标图像逐一作为当前图像,并对所述当前图像执行如下匹配操作:基于预设模板和所述当前图像,确定当前像素参数;其中,所述当前像素参数用于表示在所述当前图像中起始边界处和棋盘格交界处的像素信息;以及,根据相关系数算法和所述当前像素参数确定所述当前图像与所述预设模板之间的匹配度;基于各所述当前图像对应的匹配度,确定棋盘格角点。An embodiment of the present disclosure provides a method for locating corner points of a checkerboard, including: acquiring a target image with checkerboard features; relative to a preset template, translating the target image by a preset number from an initial position along a target direction take the target images after each movement as the current image one by one, and perform the following matching operation on the current image: determine the current pixel parameter based on the preset template and the current image; wherein, the current pixel parameter is used for Indicates the pixel information at the starting boundary and the junction of the checkerboard in the current image; and, determining the degree of matching between the current image and the preset template according to the correlation coefficient algorithm and the current pixel parameter; based on The matching degree corresponding to each of the current images determines the corner points of the checkerboard.

进一步,所述基于预设模板和所述当前图像,确定当前像素参数的步骤,包括:在所述当前图像中起始边界处,基于所述当前图像计算所述当前图像的像素平均值,基于所述当前图像计算所述当前图像的像素平方和,以及,基于预设模板和所述当前图像计算所述当前图像与所述预设模板之间的第一像素乘积之和;在所述当前图像中棋盘格交界处,基于预设模板和所述当前图像计算所述当前图像与所述预设模板之间的第二像素乘积之和;将计算得到的像素平均值、像素平方和、第一像素乘积之和、第二像素乘积之和确定为当前像素参数。Further, the step of determining the current pixel parameter based on the preset template and the current image includes: at a starting boundary in the current image, calculating the pixel average value of the current image based on the current image, based on The current image calculates the pixel square sum of the current image, and, based on the preset template and the current image, calculates the sum of the first pixel products between the current image and the preset template; At the junction of the checkerboard in the image, calculate the sum of the second pixel products between the current image and the preset template based on the preset template and the current image; The sum of the products of one pixel and the sum of the products of the second pixel is determined as the current pixel parameter.

进一步,所述相关系数算法的表达式为:Further, the expression of the correlation coefficient algorithm is:

Figure 24563DEST_PATH_IMAGE001
Figure 24563DEST_PATH_IMAGE001

其中,C为所述当前图像与所述预设模板之间的匹配度,H-M为第一像素乘积之和、H0为第二像素乘积之和,Hr为所述当前图像中除了起始边界和棋盘格交界之外,所述当前图像与所述预设模板之间的第三像素乘积之和;I-M为所述当前图像中起始边界处的像素平均值、Ir为所述当前图像中除了起始边界之外的像素平均值,K-M为所述当前图像中起始边界处的像素平方和、Kr为所述当前图像中除了起始边界之外的像素平方和、Tm为所述预设模板的像素平均值,

Figure 144966DEST_PATH_IMAGE002
为所述预设模板的像素方差,所述预设模板的大小尺寸为(2M+1)×(2M+1)。Wherein, C is the degree of matching between the current image and the preset template, H- M is the sum of the first pixel products, H 0 is the second pixel product sum, and Hr is the current image except for the In addition to the junction of the initial border and the checkerboard, the sum of the third pixel products between the current image and the preset template; I- M is the average value of pixels at the initial border in the current image, and Ir is the The average value of pixels except the starting boundary in the current image, K- M is the sum of squares of pixels at the starting boundary in the current image, and Kr is the sum of squares of pixels other than the starting boundary in the current image , T m is the pixel mean value of the preset template,
Figure 144966DEST_PATH_IMAGE002
is the pixel variance of the preset template, and the size of the preset template is (2M+1)×(2M+1).

进一步,在对所述当前图像执行匹配操作之前,所述方法还包括:构建所述预设模板的矩阵;基于所述预设模板的矩阵计算所述预设模板的像素平均值和像素方差。Further, before performing the matching operation on the current image, the method further includes: constructing a matrix of the preset template; and calculating a pixel average value and a pixel variance of the preset template based on the matrix of the preset template.

进一步,所述预设模板的像素平均值为:Further, the pixel average value of the preset template is:

Figure 265981DEST_PATH_IMAGE003
Figure 265981DEST_PATH_IMAGE003

其中,Tm所述预设模板的像素平均值,i表示所述预设模板的行数,j表示所述预设模板的列数,T(i,j)为所述预设模板中第i行第j列的像素值。Wherein, T m the pixel average value of the preset template, i represents the row number of the preset template, j represents the column number of the preset template, and T(i,j) is the number of the preset template in the The pixel value of row i and column j.

进一步,所述预设模板的像素方差:Further, the pixel variance of the preset template:

Figure 926769DEST_PATH_IMAGE004
Figure 926769DEST_PATH_IMAGE004

其中,

Figure 944404DEST_PATH_IMAGE002
为所述预设模板的像素方差,T(i,j)为所述预设模板中第i行第j列的像素值,Tm所述预设模板的像素平均值。in,
Figure 944404DEST_PATH_IMAGE002
is the pixel variance of the preset template, T(i,j) is the pixel value of the ith row and jth column in the preset template, and Tm is the pixel average value of the preset template.

进一步,所述获取具有棋盘格特征的目标图像的步骤,包括:获取具有棋盘格特征的第一图像;基于预设模板和所述第一图像,确定第一像素参数;根据所述相关系数算法和所述第一像素参数确定所述第一图像与所述预设模板之间的第一匹配度;将所述第一图像旋转预设角度,得到第二图像;确定所述第二图像与所述预设模板之间的第二匹配度;通过比较第一匹配度和第二匹配度,将所述第一图像和所述第二图像中匹配度较高的图像确定为具有棋盘格特征的目标图像。Further, the step of obtaining a target image with checkerboard features includes: obtaining a first image with checkerboard features; determining a first pixel parameter based on a preset template and the first image; according to the correlation coefficient algorithm and the first pixel parameter to determine the first matching degree between the first image and the preset template; rotate the first image by a preset angle to obtain a second image; determine the second image and the preset template The second matching degree between the preset templates; by comparing the first matching degree and the second matching degree, the image with a higher matching degree in the first image and the second image is determined as having the checkerboard feature target image.

进一步,所述方法还包括:设置初始模板中不同区域的初始像素值;其中,所述初始模板包括黑白相间的四个矩形区域,且对角区域的初始像素值相等;根据所述目标图像的像素值对所述初始模板的初始像素值进行调整,将像素值调整后的模板作为所述预设模板。Further, the method further includes: setting initial pixel values of different areas in the initial template; wherein the initial template includes four black and white rectangular areas, and the initial pixel values of the diagonal areas are equal; according to the target image The pixel value adjusts the initial pixel value of the initial template, and the template whose pixel value is adjusted is used as the preset template.

本公开实施例还提供了一种棋盘格角点定位装置,包括:图像获取模块,用于获取具有棋盘格特征的目标图像;图像平移模块,用于相对于预设模板,将所述目标图像从初始位置开始沿着目标方向平移预设个数的像素;操作执行模块,用于将每次移动后目标图像逐一作为当前图像,并对所述当前图像执行如下匹配操作:基于预设模板和所述当前图像,确定当前像素参数;其中,所述当前像素参数用于表示在所述当前图像中起始边界处和棋盘格交界处的像素信息;以及,根据相关系数算法和所述当前像素参数确定所述当前图像与所述预设模板之间的匹配度;棋盘格角点定位模块,用于基于各所述当前图像对应的匹配度,确定棋盘格角点。The embodiment of the present disclosure also provides a checkerboard corner point positioning device, including: an image acquisition module, used to obtain a target image with checkerboard characteristics; an image translation module, used to compare the target image with a preset template. Translate a preset number of pixels along the target direction from the initial position; the operation execution module is used to take the target images one by one as the current image after each movement, and perform the following matching operations on the current image: based on the preset template and For the current image, determine the current pixel parameter; wherein, the current pixel parameter is used to represent the pixel information at the starting boundary and the junction of the checkerboard in the current image; and, according to the correlation coefficient algorithm and the current pixel The parameter determines the matching degree between the current image and the preset template; the checkerboard corner point positioning module is configured to determine the checkerboard corner point based on the matching degree corresponding to each of the current images.

本公开实施例还提供了一种电子设备,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述棋盘格角点定位方法。An embodiment of the present disclosure further provides an electronic device, the electronic device includes: a processor; a memory for storing instructions executable by the processor; the processor for reading the memory from the memory The instructions can be executed, and the instructions can be executed to realize the above-mentioned method for locating the corner points of the checkerboard.

本实施例提供了一种棋盘格角点定位方法、装置及电子设备,首先获取具有棋盘格特征的目标图像;然后相对于预设模板移动目标图像,并将每次移动后目标图像逐一作为当前图像,并对当前图像执行如下匹配操作:基于预设模板和当前图像,确定当前图像中起始边界处和棋盘格交界处的当前像素参数,以及根据相关系数算法和当前像素参数确定当前图像与预设模板之间的匹配度;最后基于各所述当前图像对应的匹配度,确定棋盘格角点。在上述棋盘格角点定位方式中,随着图像的移动,模板与图像的每次匹配过程只需要计算边界和交界处的像素信息,有效降低了数据计算量,提升了匹配效率和棋盘格角点的定位效率。This embodiment provides a method, device, and electronic device for locating corner points of a checkerboard. First, a target image with checkerboard features is acquired; then, the target image is moved relative to a preset template, and the target images after each movement are used as the current target image one by one. image, and perform the following matching operations on the current image: based on the preset template and the current image, determine the current pixel parameters at the starting border and the junction of the checkerboard in the current image, and determine the current image and the current image according to the correlation coefficient algorithm and the current pixel parameters. The matching degree between the preset templates; finally, based on the matching degree corresponding to each of the current images, the corner points of the checkerboard are determined. In the above checkerboard corner positioning method, with the movement of the image, each matching process between the template and the image only needs to calculate the pixel information at the boundary and the junction, which effectively reduces the amount of data calculation and improves the matching efficiency and checkerboard angle. point positioning efficiency.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the accompanying drawings that are required to be used in the description of the embodiments or the prior art will be briefly introduced below. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.

图1为本公开实施例提供的棋盘格角点定位方法的流程示意图;1 is a schematic flowchart of a method for locating corner points of a checkerboard provided by an embodiment of the present disclosure;

图2为本公开实施例提供的棋盘格的示意图;2 is a schematic diagram of a checkerboard provided by an embodiment of the present disclosure;

图3为本公开实施例提供的图像移动示意图;FIG. 3 is a schematic diagram of image movement provided by an embodiment of the present disclosure;

图4为本公开实施例提供的模板示意图;4 is a schematic diagram of a template provided by an embodiment of the present disclosure;

图5为本公开实施例提供的棋盘格角点定位装置的结构框图。FIG. 5 is a structural block diagram of a checkerboard corner point positioning device according to an embodiment of the present disclosure.

具体实施方式Detailed ways

为了能够更清楚地理解本公开的上述目的、特征和优点,以下结合具体实施例对本发明创造作详细说明。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the present invention will be described in detail below with reference to specific embodiments. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be combined with each other under the condition of no conflict.

在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, and Not all examples.

本实施例提供了一种棋盘格角点定位方法,该方法可以由棋盘格角点定位装置执行,其中,该装置可以采用软件和/或硬件实现,一般可集成在电子设备中。参照图1所示的棋盘格角点定位方法的流程图,该方法包括:This embodiment provides a method for locating corner points of a checkerboard, and the method can be executed by a device for locating corner points of a checkerboard, wherein the device can be implemented by software and/or hardware, and can generally be integrated into an electronic device. Referring to the flowchart of the method for locating the corner points of the checkerboard shown in FIG. 1, the method includes:

步骤S102,获取具有棋盘格特征的目标图像。Step S102, acquiring a target image with checkerboard features.

在本实施例中,可以将具有棋盘格特征的对象(如标定板)作为测试对象,通过摄像机对该测试对象进行拍摄,得到目标图像。该具有棋盘格特征的目标图像可参照图2所示,棋盘格是由多个黑白相间的矩形区域组合而成。In this embodiment, an object with checkerboard characteristics (such as a calibration board) can be used as a test object, and the test object is photographed by a camera to obtain a target image. The target image with the checkerboard feature can be referred to as shown in FIG. 2 , and the checkerboard is composed of a plurality of black and white rectangular areas.

步骤S104,相对于预设模板,将目标图像从初始位置开始沿着目标方向平移预设个数的像素。其中,预设模板同样为具有棋盘格特征的模板,可参照图2所示的棋盘格。Step S104, with respect to the preset template, the target image is shifted by a preset number of pixels along the target direction from the initial position. The preset template is also a template with checkerboard characteristics, and reference may be made to the checkerboard shown in FIG. 2 .

在实际应用中,既可以保持预设模板的位置不动,移动目标图像,还可以保持目标图像的位置不动,移动预设模板,由此实现目标图像对预设模板而言的相对位置的移动。以图2为例,目标方向可以为棋盘格的横向或者纵向,预设个数为至少一个,比如将目标图像沿着横向平移一个像素。In practical applications, it is possible to keep the position of the preset template unchanged and move the target image, and also to keep the position of the target image unchanged and move the preset template, thereby realizing the relative position of the target image to the preset template. move. Taking FIG. 2 as an example, the target direction may be the horizontal or vertical direction of the checkerboard, and the preset number is at least one, for example, the target image is translated by one pixel along the horizontal direction.

步骤S106,将每次移动后目标图像逐一作为当前图像,并对当前图像执行如下步骤S1062和步骤S1064所示的匹配操作:In step S106, the target images after each movement are taken as the current image one by one, and the matching operations shown in the following steps S1062 and S1064 are performed on the current image:

步骤S1062,基于预设模板和当前图像,确定当前像素参数;其中,当前像素参数用于表示在当前图像中起始边界处和棋盘格交界处的像素信息;以及,步骤S1064,根据相关系数算法和当前像素参数确定当前图像与预设模板之间的匹配度。Step S1062, based on the preset template and the current image, determine the current pixel parameter; wherein, the current pixel parameter is used to represent the pixel information at the starting boundary and the junction of the checkerboard in the current image; and, step S1064, according to the correlation coefficient algorithm and the current pixel parameter to determine the matching degree between the current image and the preset template.

由图2可以看出,棋盘格具有重复的单元,每个重复单元可称为棋盘格单元,棋盘格单元可以分成Ⅰ、Ⅱ、Ⅲ和Ⅳ四个区域。考虑到棋盘格单元具有明显的特征:对角区域像素值相等;基于此,在移动目标图像的过程中,针对目标图像移动前位于某一区域(比如Ⅰ区域)中的像素点,如果在目标图像移动后,该像素点仍然在同一区域中,则其与预设模板之间的匹配度保持不变,只有变换区域的像素点才需要重新计算相应的匹配度。因此,根据上述特性,本实施例只需要针对变换区域处的像素点计算匹配度,可以理解,变换区域为边界和棋盘格交界处,从而,本实施例只需要针对当前图像中起始边界处和棋盘格交界处的像素信息确定当前图像与预设模板之间的匹配度,而不需要再对其他区域计算匹配度,由此能够明显地降低匹配度计算量,有效提升计算效率。It can be seen from Figure 2 that the checkerboard has repeating units, each repeating unit can be called a checkerboard unit, and the checkerboard unit can be divided into four regions: I, II, III and IV. Considering that the checkerboard cell has obvious characteristics: the pixel values in the diagonal area are equal; based on this, in the process of moving the target image, for the pixels located in a certain area (such as the I area) before the target image is moved, if the target image is in the target image. After the image is moved, if the pixel is still in the same area, the matching degree between it and the preset template remains unchanged. Only the pixels in the transformed area need to recalculate the corresponding matching degree. Therefore, according to the above characteristics, this embodiment only needs to calculate the matching degree for the pixels in the transformation area. It can be understood that the transformation area is the boundary between the border and the checkerboard. Therefore, this embodiment only needs to calculate the matching degree for the starting boundary in the current image. The pixel information at the junction with the checkerboard determines the matching degree between the current image and the preset template, without the need to calculate the matching degree for other areas, which can significantly reduce the amount of matching degree calculation and effectively improve the calculation efficiency.

步骤S108,基于各当前图像对应的匹配度,确定棋盘格角点。Step S108: Determine the corner points of the checkerboard based on the matching degree corresponding to each current image.

在本实施例中,每当移动一次目标图像,也即针对每张当前图像,均可以将匹配度高于预设阈值(比如80%)的像素点确定为当前图像的棋盘格角点;当完成目标图像的从一侧的起始边界移动到相对一侧的结束边界时,得到各个当前图像对应的棋盘格角点,由此确定目标图像的全部棋盘格角点。In this embodiment, every time the target image is moved, that is, for each current image, the pixel points whose matching degree is higher than the preset threshold (for example, 80%) can be determined as the checkerboard corner points of the current image; when When the target image is moved from the start boundary of one side to the end boundary of the opposite side, the checkerboard corner points corresponding to each current image are obtained, thereby determining all checkerboard corner points of the target image.

本实施例提供的棋盘格角点定位方法,首先获取具有棋盘格特征的目标图像;然后相对于预设模板移动目标图像,并将每次移动后目标图像逐一作为当前图像,并对当前图像执行如下匹配操作:基于预设模板和当前图像,确定当前图像中起始边界处和棋盘格交界处的当前像素参数,以及根据相关系数算法和当前像素参数确定当前图像与预设模板之间的匹配度;最后基于各所述当前图像对应的匹配度,确定棋盘格角点。在上述棋盘格角点定位方式中,随着图像的移动,模板与图像的每次匹配过程只需要计算边界和交界处的像素信息,有效降低了数据计算量,提升了匹配效率和棋盘格角点的定位效率。The method for locating the corner points of a checkerboard provided by this embodiment firstly acquires a target image with checkerboard characteristics; then moves the target image relative to a preset template, takes the target images after each movement as the current image one by one, and executes the execution on the current image. The following matching operations: based on the preset template and the current image, determine the current pixel parameters at the starting boundary and the junction of the checkerboard in the current image, and determine the matching between the current image and the preset template according to the correlation coefficient algorithm and the current pixel parameters degree; finally, based on the matching degree corresponding to each of the current images, the corner points of the checkerboard are determined. In the above checkerboard corner positioning method, with the movement of the image, each matching process between the template and the image only needs to calculate the pixel information at the boundary and the junction, which effectively reduces the amount of data calculation and improves the matching efficiency and checkerboard angle. point positioning efficiency.

为了更好地理解本实施例提供的棋盘格角点定位方法,以下对本方法展开详细说明。In order to better understand the method for locating the corner points of a checkerboard provided in this embodiment, the method is described in detail below.

在本实施例中,假设预设模板的矩阵尺寸为(2M+1)×(2M+1),在匹配过程中,目标图像中选择匹配的区域与预设模板的尺寸是相同的,也为(2M+1)×(2M+1),则用于计算预设模板和目标图像之间匹配度的相关系数算法可以如以下公式(1)所示:In this embodiment, it is assumed that the matrix size of the preset template is (2M+1)×(2M+1). During the matching process, the selected matching area in the target image is the same as the size of the preset template, which is also (2M+1)×(2M+1), then the correlation coefficient algorithm used to calculate the matching degree between the preset template and the target image can be shown in the following formula (1):

Figure 32446DEST_PATH_IMAGE005
(1)
Figure 32446DEST_PATH_IMAGE005
(1)

其中,T(i,j)表示预设模板的像素值,I表示目标图像的像素值,i表示预设模板的行数,j表示预设模板的列数,Δi和Δj表示预设模板相对于目标图像中心点的相对位置,Tm表示预设模板的像素平均值,其计算公式如(2)所示,Im目标图像的像素平均值,其计算公式如(3)所示:Among them, T(i,j) represents the pixel value of the preset template, I represents the pixel value of the target image, i represents the number of rows of the preset template, j represents the number of columns of the preset template, Δi and Δj represent the relative value of the preset template. In the relative position of the center point of the target image, T m represents the pixel average value of the preset template, and its calculation formula is shown in (2), and I m the pixel average value of the target image, and its calculation formula is shown in (3):

Figure 299479DEST_PATH_IMAGE006
Figure 299479DEST_PATH_IMAGE006

发明人发现,在根据上述公式(1)所示的相关系数算法计算预设模板与目标图像之间的匹配度的过程中,每一次匹配过程均需要计算目标图像子区域中像素平均值Im、预设模板与目标图像的像素乘积T(i,j)I(i+Δi,j+Δj),以及预设模板区域中像素平均值Tm、目标图像子区域中的像素I(i+Δi,j+Δj)之和以及平方和。显然,在当对整幅目标图像进行计算时,匹配度复杂的计算过程将会导致效率下降。The inventor found that in the process of calculating the matching degree between the preset template and the target image according to the correlation coefficient algorithm shown in the above formula (1), each matching process needs to calculate the pixel average value Im in the sub-region of the target image. , the pixel product T(i,j)I(i+Δi,j+Δj) of the preset template and the target image, and the pixel average value Tm in the preset template area, the pixel I(i+ Δi,j+Δj) and sum of squares. Obviously, when calculating the entire target image, the complex calculation process of the matching degree will lead to a decrease in efficiency.

然而,考虑到前述实施例中提到的棋盘格单元具有的对角区域像素值相等的特征,只有当目标图像移动前后像素点变换区域时才需要重新计算匹配。基于此,本实施例可以根据上述特性,提供一种快速、高效率的棋盘格角点定位方法,参照如下所示。However, considering that the checkerboard cells mentioned in the foregoing embodiments have the feature that the pixel values of the diagonal regions are equal, the matching needs to be recalculated only when the target image is moved before and after the pixel points change the region. Based on this, this embodiment can provide a fast and efficient method for locating corner points of a checkerboard according to the above characteristics, as shown below.

对于矩阵尺寸为(2M+1)×(2M+1)的预设模板,其矩阵表示为T,参照如下公式(4):For the preset template whose matrix size is (2 M +1)×(2 M +1), the matrix is represented as T, and the following formula (4) is used:

Figure 826275DEST_PATH_IMAGE007
(4)
Figure 826275DEST_PATH_IMAGE007
(4)

其中,TⅠ-Ⅲ和TⅡ-Ⅳ和分别表示棋盘格的对角矩阵,该矩阵内部的数值相同。Among them, T I-III and T II-IV and respectively represent the diagonal matrix of the checkerboard, and the values in the matrix are the same.

基于此,计算预设模板的像素方差

Figure 760733DEST_PATH_IMAGE002
为:Based on this, calculate the pixel variance of the preset template
Figure 760733DEST_PATH_IMAGE002
for:

Figure 957359DEST_PATH_IMAGE008
(5)
Figure 957359DEST_PATH_IMAGE008
(5)

其中,T(i,j)为预设模板中第i行第j列的像素值,Tm预设模板的像素平均值。Wherein, T(i,j) is the pixel value of the i-th row and the j-th column in the preset template, and Tm is the pixel average value of the preset template.

计算预设模板与模板图像的像素乘积T(i,j)I(i+Δi,j+Δj)之和H为:Calculate the sum H of the pixel product T(i,j)I(i+Δi,j+Δj) of the preset template and the template image as:

Figure 977268DEST_PATH_IMAGE009
(6)
Figure 977268DEST_PATH_IMAGE009
(6)

其中,H -M 表示在目标图像中的指定边界处,目标图像与预设模板之间的第一像素乘积之和,且该指定边界为目标图像的起始边界,-M为表示该起始边界的列数编号;H 0表示在目标图像中的棋盘格交界处,目标图像与预设模板之间的第二像素乘积之和;Hr表示在目标图像中除了起始边界和棋盘格交界之外的区域,也即在目标图像中除了列数编号为-M和0之外的其它列数编号的区域,目标图像与预设模板之间的第三像素乘积之和。Among them, H - M represents the sum of the first pixel products between the target image and the preset template at the specified boundary in the target image, and the specified boundary is the starting boundary of the target image, and -M represents the starting boundary of the target image. The column number of the border; H 0 represents the sum of the second pixel products between the target image and the preset template at the junction of the checkerboard in the target image; Hr represents the sum of the second pixel products in the target image except the starting border and the junction of the checkerboard The area outside the target image, that is, the area in the target image with column numbers other than -M and 0, is the sum of the third pixel products between the target image and the preset template.

目标图像的像素平均值Im表示为如下公式(7)所示:The pixel average value Im of the target image is expressed as the following formula (7):

Figure 792908DEST_PATH_IMAGE010
Figure 792908DEST_PATH_IMAGE010

其中,I -M 表示目标图像中起始边界处这一区域的像素平均值;Ir表示目标图像中除了起始边界之外其他区域的像素平均值。Among them, I - M represents the pixel average value of this area at the starting boundary in the target image; Ir represents the pixel average value of other areas in the target image except the starting boundary.

目标图像的像素的I(i+∆i,j+∆j)平方和K表示为如下公式(8)所示:The square sum K of the pixels of the target image I(i+∆i,j+∆j) is expressed as the following formula (8):

Figure 581873DEST_PATH_IMAGE011
(8)
Figure 581873DEST_PATH_IMAGE011
(8)

其中,K -M 表示目标图像中起始边界处这一区域的像素平方和;Kr表示目标图像中除了起始边界之外其他区域的像素平方和。Among them, K - M represents the pixel square sum of this area at the starting boundary in the target image; Kr represents the pixel square sum of other areas in the target image except the starting boundary.

根据以上公式(2)至(8),可以将公式(1)所示的相关系数算法修正为如下公式(9)所示:According to the above formulas (2) to (8), the correlation coefficient algorithm shown in formula (1) can be modified as shown in the following formula (9):

Figure 11717DEST_PATH_IMAGE012
(9)
Figure 11717DEST_PATH_IMAGE012
(9)

其中,C表示目标图像与预设模板之间的匹配度,H -M 为第一像素乘积之和、H 0为第二像素乘积之和,Hr为当前图像中除了起始边界和棋盘格交界之外,目标图像与预设模板之间的第三像素乘积之和;I -M 为当前图像中起始边界处的像素平均值、Ir为当前图像中除了起始边界之外的像素平均值,K -M 为当前图像中起始边界处的像素平方和、Kr为当前图像中除了起始边界之外的像素平方和、Tm为预设模板的像素平均值,

Figure 456605DEST_PATH_IMAGE002
为预设模板的像素方差,预设模板的大小尺寸为(2M+1)×(2M+1)。Among them, C represents the matching degree between the target image and the preset template, H - M is the sum of the first pixel product, H 0 is the second pixel product sum, Hr is the current image except the starting boundary and the checkerboard boundary In addition, the sum of the third pixel product between the target image and the preset template; I - M is the pixel average value at the starting boundary in the current image, and Ir is the pixel average value other than the starting boundary in the current image. , K - M is the square sum of pixels at the starting border in the current image, Kr is the square sum of pixels in the current image except the starting border, T m is the pixel average value of the preset template,
Figure 456605DEST_PATH_IMAGE002
is the pixel variance of the preset template, and the size of the preset template is (2 M +1)×(2 M +1).

当采用公式(2)所示的算法时,每次需要计算三列数据,每列包含(2M+1)个数据,分别是H i 、I i K i ,一共是(6M+3)个数据,然而,利用公式(9)所示的相关系数算法,由于目标图像平移过程中像素点所在的区域不变,则计算结果不变这一特性,在目标图像平移后只需要用新的数据替换H-M、H0、K-M和I-M这4列处于边界区域和棋盘格交界区域的数据,就可以完成上述计算过程,无需每次都要更新所有数据。而且,不论预设模板大小,其更新的数据永远都是这4列数据,相比于传统计算方法随着模板的增大计算量会成倍增加,本实施例利用公式(9)所示的算法,能够明显降低计算量。When the algorithm shown in formula (2) is used, three columns of data need to be calculated each time, and each column contains (2M+1) data, namely H i , I i and K i , a total of (6M+3) data However, using the correlation coefficient algorithm shown in formula (9), since the area where the pixel is located during the translation of the target image remains unchanged, the calculation result remains unchanged, and only new data is needed after the translation of the target image. Replacing the four columns of H -M , H 0 , K -M and I -M in the boundary area and the checkerboard boundary area, the above calculation process can be completed without updating all the data each time. Moreover, regardless of the size of the preset template, the updated data will always be the data in these four columns. Compared with the traditional calculation method, the calculation amount will increase exponentially with the increase of the template. This embodiment uses the formula shown in formula (9). The algorithm can significantly reduce the amount of calculation.

在实际应用中,为了便于更新上述四列数据,本实施例可以按照数据格式将上述四列数据进行存储;以水平移动目标图像的场景为例,上述数据格式可以为按照行依次存储数据IKH,数组的列与预设模板的列一一对应,参照公式(10),将该数据标记为A;在此情况下,数据的边界分别对应-M、0和M三个位置。用P标识其起始位置。In practical applications, in order to facilitate the updating of the above-mentioned four columns of data, the present embodiment may store the above-mentioned four columns of data according to the data format; taking the scene of horizontally moving the target image as an example, the above-mentioned data format may be to store the data I , K and H , the columns of the array correspond one-to-one with the columns of the preset template. Referring to formula (10), the data is marked as A; in this case, the boundaries of the data correspond to three positions -M, 0 and M respectively. Use P to identify its starting position.

Figure 997308DEST_PATH_IMAGE013
(10)
Figure 997308DEST_PATH_IMAGE013
(10)

需要说明的是,由于本实施例是以水平方向移动目标图像为例进行说明的,在目标图像沿竖直方向移动的场景中,本实施例提供的棋盘格角点定位方法也依然是适用的,针对该公式(10),数据格式为按照列依次存储数据IKH,数组的行与预设模板的行一一对应。It should be noted that, since this embodiment is described by taking the target image moving in the horizontal direction as an example, in a scene where the target image moves in the vertical direction, the method for locating the corner points of the checkerboard provided in this embodiment is still applicable. , for this formula (10), the data format is to store the data I , K and H in sequence according to the columns, and the rows of the array correspond one-to-one with the rows of the preset template.

本实施例继续以水平移动目标图像的场景为例,且在本示例中,目标图像为每次水平向左移动一个像素。在具体移动时,可以控制预设模板向右移动一个像素,由此相当于将目标图像的向左移一个像素。This embodiment continues to take the scene of moving the target image horizontally as an example, and in this example, the target image is moved horizontally to the left by one pixel at a time. During specific movement, the preset template can be controlled to move one pixel to the right, which is equivalent to moving the target image to the left by one pixel.

参照图3所示,在移动目标图像之前,数据起始位置用标记p来标记,第一次记p=p1。当移动目标图像后,p1所在的列数据需要更新,更新的数据是右侧图像M+1列数据。同时从起始点p1开始的第M+1列数据H需要更新其状态,然后起始点p从p1更新为p2,其中p2=p1mod(2M+1)+1,mod为求余函数。Referring to FIG. 3 , before moving the target image, the starting position of the data is marked with a mark p, and p=p 1 is marked for the first time. After moving the target image, the column data where p 1 is located needs to be updated, and the updated data is the data of the M+1 column of the right image. At the same time, the data H of the M+1th column starting from the starting point p 1 needs to update its state, and then the starting point p is updated from p 1 to p 2 , where p 2 =p 1 mod(2M+1)+1, mod is to find remainder function.

在移动目标图像的过程中,将每次移动后目标图像逐一作为当前图像,并对所述当前图像执行匹配操作,具体包括:In the process of moving the target image, the target images after each movement are taken as the current image one by one, and a matching operation is performed on the current image, which specifically includes:

更新当前像素参数的步骤:在当前图像中指定边界处,该指定边界为本实施例的列数为-M的数据区域,参照上述公式(7),基于当前图像计算当前图像的像素平均值I -M ,参照上述公式(8),基于当前图像计算当前图像的像素平方和K -M ,以及,参照上述公式(6),基于预设模板和当前图像计算当前图像与预设模板之间的第一像素乘积之和

Figure 968675DEST_PATH_IMAGE014
;The step of updating the current pixel parameters: at the specified boundary in the current image, the specified boundary is a data area where the number of columns of this embodiment is -M, with reference to the above formula (7), the pixel average value I of the current image is calculated based on the current image. -M , with reference to the above formula (8), calculate the pixel square sum K -M of the current image based on the current image, and, with reference to the above formula (6), based on the preset template and the current image Calculate the difference between the current image and the preset template based on the preset template and the current image Sum of first pixel products
Figure 968675DEST_PATH_IMAGE014
;

在当前图像中棋盘格交界处,该棋盘格交界为本实施例的列数编号为0的数据区域,参照上述公式(6),基于预设模板和当前图像计算当前图像与预设模板之间的第二像素乘积之和

Figure 569420DEST_PATH_IMAGE015
;At the junction of the checkerboard in the current image, the checkerboard boundary is the data area with the column number of 0 in this embodiment. Referring to the above formula (6), calculate the distance between the current image and the preset template based on the preset template and the current image. The sum of the second pixel products of
Figure 569420DEST_PATH_IMAGE015
;

至此,将上述计算得到的像素平均值I -M 、像素平方和K -M 、第一像素乘积之和H -M 、第二像素乘积之和H 0确定为当前像素参数。So far, the pixel average value I -M , the pixel square sum K -M , the first pixel product sum H -M , and the second pixel product sum H 0 calculated above are determined as the current pixel parameters.

确定当前图像与预设模板之间的匹配度的步骤:根据公式(9)所示的相关系数算法和上述当前像素参数确定当前图像与所述预设模板之间的匹配度。The step of determining the matching degree between the current image and the preset template: determine the matching degree between the current image and the preset template according to the correlation coefficient algorithm shown in formula (9) and the above-mentioned current pixel parameters.

针对当前图像完成以上两个步骤所示的匹配操作后,还需要更新当前图像对应的如下参数:After completing the matching operations shown in the above two steps for the current image, it is necessary to update the following parameters corresponding to the current image:

Figure 501604DEST_PATH_IMAGE016
Figure 501604DEST_PATH_IMAGE016

其中,

Figure 845998DEST_PATH_IMAGE017
表示更新后放在p位置的当前图像的像素平均值;
Figure 343975DEST_PATH_IMAGE018
表示更新后放在p+1位置的当前图像的像素平均值;Ir表示更新前除了p位置和p+1位置之外,当前图像的像素平均值;I'r表示更新后除了p位置和p+1位置之外,当前图像的像素平均值;
Figure 194251DEST_PATH_IMAGE019
表示更新后放在p位置的当前图像的像素平方和;K'r表示更新后除了p位置和p+1位置之外,当前图像的像素平方和;
Figure 410469DEST_PATH_IMAGE020
表示更新后放在p位置的当前图像与预设模板之间的第一像素乘积之和。in,
Figure 845998DEST_PATH_IMAGE017
Indicates the pixel average value of the current image placed at the p position after the update;
Figure 343975DEST_PATH_IMAGE018
Represents the pixel average value of the current image placed at the p+1 position after the update; Ir represents the pixel average value of the current image before the update except for the p position and p+1 position; I'r represents the update except for the p position and p position. Outside the +1 position, the pixel average of the current image;
Figure 194251DEST_PATH_IMAGE019
Indicates the square sum of the pixels of the current image placed at the p position after the update; K'r indicates the square sum of the pixels of the current image except for the p position and p+1 position after the update;
Figure 410469DEST_PATH_IMAGE020
Indicates the sum of the first pixel products between the current image and the preset template after updating.

每移动一次目标图像,均执行一次上述实施例所描述的匹配操作,直至完成目标图像的全部计算,得到每次匹配过程中的匹配度,并由此确定目标图像的棋盘格角点位置。Each time the target image is moved, the matching operation described in the above embodiment is performed until all calculations of the target image are completed, the matching degree in each matching process is obtained, and the checkerboard corner position of the target image is determined accordingly.

此外可以理解的是,棋盘格特征具有抗缩放功能,也就是说图像大小发生改变不会影响角点定位,但是棋盘格特征不能够抗旋转,当图像旋转以后会出现匹配失败,从而影响计算匹配度的效率和准确性。基于此,针对上述步骤S102,本实施例提供一种获取合适角度的目标图像的具体方式,包括如下步骤1至6:In addition, it can be understood that the checkerboard feature has an anti-scaling function, that is to say, the change of the image size will not affect the positioning of the corner points, but the checkerboard feature cannot resist rotation. When the image is rotated, there will be a matching failure, which will affect the calculation of matching degree of efficiency and accuracy. Based on this, for the above step S102, this embodiment provides a specific method for acquiring a target image with a suitable angle, including the following steps 1 to 6:

步骤1,获取第一图像。该第一图像为实际拍摄的图像,相对于预设模板可能存在较大的角度偏差。Step 1, acquiring a first image. The first image is an actually captured image, and there may be a large angular deviation relative to the preset template.

步骤2,基于预设模板和第一图像,确定第一像素参数。第一像素参数包括:在第一图像中初始边界处,第一图像的像素平均值、第一图像的像素平方和、第一图像与预设模板之间的第一像素乘积之和,以及在第一图像中棋盘格交界处,第一图像与预设模板之间的第二像素乘积之和。且上述第一像素参数的确定方式可参照前述公式(6)-(8),在此不再展开描述。Step 2: Determine the first pixel parameter based on the preset template and the first image. The first pixel parameter includes: at the initial boundary in the first image, the pixel average value of the first image, the pixel square sum of the first image, the first pixel product sum between the first image and the preset template, and the At the junction of the checkerboards in the first image, the sum of the second pixel products between the first image and the preset template. And the determination method of the above-mentioned first pixel parameter may refer to the aforementioned formulas (6)-(8), which will not be described further here.

步骤3,根据如公式(9)所示的相关系数算法和第一像素参数确定第一图像与预设模板之间的第一匹配度。Step 3: Determine the first degree of matching between the first image and the preset template according to the correlation coefficient algorithm shown in formula (9) and the first pixel parameter.

步骤4,将第一图像旋转预设角度,得到第二图像。具体的,基于预设模板具有对角区域像素相等的特征,通常可以将第一图像旋转45°的预设角度。当然也可以旋转其它角度,以及多次旋转第一图像且每次旋转不同的角度,以得到多种旋转角度下的第二图像。Step 4: Rotate the first image by a preset angle to obtain a second image. Specifically, based on the feature that the preset template has equal pixels in the diagonal regions, the first image can usually be rotated by a preset angle of 45°. Of course, other angles can also be rotated, and the first image can be rotated multiple times with different angles each time, so as to obtain the second image under various rotation angles.

步骤5,确定第二图像与预设模板之间的第二匹配度。第二匹配的具体确定方式与第一匹配度的确定方式相同,主要为先计算第二图像对应的像素参数,然后结合相关系数算法计算第二匹配度,具体过程不再赘述。Step 5: Determine the second degree of matching between the second image and the preset template. The specific method for determining the second matching is the same as the method for determining the first matching degree, mainly calculating the pixel parameters corresponding to the second image first, and then calculating the second matching degree in combination with the correlation coefficient algorithm, and the specific process will not be repeated.

步骤6,通过比较第一匹配度和第二匹配度,将第一图像和第二图像中匹配度较高的图像确定为具有棋盘格特征的目标图像。Step 6, by comparing the first matching degree and the second matching degree, determine an image with a higher matching degree among the first image and the second image as a target image with a checkerboard feature.

参照图4所示的模板,当图像与预设模板完全一致(可称为正模板)时,对应的匹配度为1,当图像与模板完全相反(称为反模板)时,则其匹配度完全相反,对应的匹配度为0。因此,根据图像与预设模板的匹配度可以判断出两者之间的相对角度,当匹配度较高时,表示两者相对角度偏差较小,从而采用该匹配度较高的图像作为目标图像,比如当第二匹配度较高时,可以将旋转预设角度后的第二图像确定为目标图像。Referring to the template shown in Figure 4, when the image is completely consistent with the preset template (which can be called a positive template), the corresponding matching degree is 1, and when the image is completely opposite to the template (called an anti-template), its matching degree On the contrary, the corresponding matching degree is 0. Therefore, the relative angle between the two can be determined according to the matching degree between the image and the preset template. When the matching degree is high, it means that the relative angle deviation between the two is small, so the image with the high matching degree is used as the target image. , for example, when the second matching degree is relatively high, the second image rotated by the preset angle may be determined as the target image.

在本实施例提供的目标图像的获取方式中,通过旋转图像并选取合适角度的图像作为目标图像,可以增加目标图像抵抗旋转角点定位的能力,进一步在利用目标图像进行角点定位的过程中,不需要调整相关系数算法,增加了该算法对图像的适用范围。In the acquisition method of the target image provided by this embodiment, by rotating the image and selecting an image with a suitable angle as the target image, the ability of the target image to resist the rotation corner point positioning can be increased, and further in the process of using the target image for corner point positioning , the correlation coefficient algorithm does not need to be adjusted, and the scope of application of the algorithm to images is increased.

另外,针对上述实施例中的预设模板,本实施例还可以提供一种预设模板的获取方式,包括如下两个步骤:In addition, for the preset template in the above embodiment, this embodiment can also provide a method for obtaining the preset template, including the following two steps:

首先,设置初始模板中不同区域的初始像素值;其中,初始模板包括黑白相间的四个矩形区域I、II、III、IV,且对角区域的初始像素值相等,具体诸如可以设置区域I和区域III的初始像素值为165,区域II和区域IV的初始像素值为30。First, set the initial pixel values of different areas in the initial template; wherein, the initial template includes four black and white rectangular areas I, II, III, IV, and the initial pixel values of the diagonal areas are equal, for example, you can set the area I and The initial pixel value of area III is 165, and the initial pixel value of area II and area IV is 30.

然后,根据目标图像的像素值对初始模板的初始像素值进行调整,将像素值调整后的模板作为预设模板。为了降低目标图像与模板之间的计算难度,可以根据目标图像的像素值对初始像素值进行调整,调整方式可以有多种,诸如在指定模板大小为(2M+1)×(2M+1)的范围内,先确定目标图像在初始模板各个区域中的像素平均值,然后将该区域的初始像素值直接调整为该区域对应的目标图像的像素平均值。Then, the initial pixel value of the initial template is adjusted according to the pixel value of the target image, and the template whose pixel value is adjusted is used as the preset template. In order to reduce the calculation difficulty between the target image and the template, the initial pixel value can be adjusted according to the pixel value of the target image. Within the range of , first determine the pixel average value of the target image in each area of the initial template, and then directly adjust the initial pixel value of the area to the pixel average value of the target image corresponding to the area.

综上,上述实施例提供的棋盘格角点定位方法,随着图像的移动,模板与图像的每次匹配过程只需要计算边界和交界处的像素信息,有效降低了数据计算量,提升了匹配效率和棋盘格角点的定位效率。To sum up, with the method for locating the corner points of the checkerboard provided by the above embodiments, as the image moves, each matching process between the template and the image only needs to calculate the pixel information of the boundary and the junction, which effectively reduces the amount of data calculation and improves the matching process. Efficiency and localization efficiency of checkerboard corners.

本实施例还提供一种棋盘格角点定位装置,由于实现上述实施例提供的棋盘格角点定位方法。参照图5,该装置包括如下模块:This embodiment also provides a checkerboard corner point positioning device, since the checkerboard corner point positioning method provided by the above embodiment is implemented. 5, the device includes the following modules:

图像获取模块502,用于获取具有棋盘格特征的目标图像;an image acquisition module 502, configured to acquire a target image with checkerboard features;

图像平移模块504,用于相对于预设模板,将目标图像从初始位置开始沿着目标方向平移预设个数的像素;The image translation module 504 is used to translate the target image by a preset number of pixels along the target direction from the initial position relative to the preset template;

操作执行模块506,用于将每次移动后目标图像逐一作为当前图像,并对当前图像执行如下匹配操作:The operation execution module 506 is used to take the target images after each movement as the current image one by one, and perform the following matching operations on the current image:

基于预设模板和当前图像,确定当前像素参数;其中,当前像素参数用于表示在当前图像中起始边界处和棋盘格交界处的像素信息;以及,根据相关系数算法和当前像素参数确定当前图像与预设模板之间的匹配度;Based on the preset template and the current image, the current pixel parameter is determined; wherein, the current pixel parameter is used to represent the pixel information at the starting boundary and the junction of the checkerboard in the current image; and, the current pixel parameter is determined according to the correlation coefficient algorithm and the current pixel parameter. The match between the image and the preset template;

棋盘格角点定位模块508,用于基于各当前图像对应的匹配度,确定棋盘格角点。The checkerboard corner point location module 508 is configured to determine the checkerboard corner points based on the matching degree corresponding to each current image.

本实施例提供的棋盘格角点定位装置,随着图像的移动,模板与图像的每次匹配过程只需要计算边界和交界处的像素信息,有效降低了数据计算量,提升了匹配效率和棋盘格角点的定位效率。With the checkerboard corner point positioning device provided in this embodiment, with the movement of the image, each matching process between the template and the image only needs to calculate the pixel information of the boundary and the junction, which effectively reduces the amount of data calculation and improves the matching efficiency and the checkerboard. The positioning efficiency of grid corners.

在一种实施例中,操作执行模块506还用于:在当前图像中起始边界处,基于当前图像计算当前图像的像素平均值,基于当前图像计算当前图像的像素平方和,以及,基于预设模板和当前图像计算当前图像与预设模板之间的第一像素乘积之和;在当前图像中棋盘格交界处,基于预设模板和当前图像计算当前图像与预设模板之间的第二像素乘积之和;将计算得到的像素平均值、像素平方和、第一像素乘积之和、第二像素乘积之和确定为当前像素参数。In one embodiment, the operation execution module 506 is further configured to: at the starting boundary in the current image, calculate the pixel average value of the current image based on the current image, calculate the pixel square sum of the current image based on the current image, and, based on the pre- Set the template and the current image to calculate the sum of the first pixel products between the current image and the preset template; at the junction of the checkerboard in the current image, calculate the second pixel between the current image and the preset template based on the preset template and the current image. The sum of pixel products; the calculated average value of pixels, the sum of squares of pixels, the sum of the first pixel products, and the sum of the second pixel products are determined as the current pixel parameters.

在一种实施例中,上述棋盘格角点定位装置还包括模板矩阵计算模块(图中未示出),其用于:构建预设模板的矩阵;基于预设模板的矩阵计算预设模板的像素平均值和像素方差。In an embodiment, the above-mentioned checkerboard corner point positioning device further includes a template matrix calculation module (not shown in the figure), which is used for: constructing a matrix of preset templates; calculating the matrix of preset templates based on the matrix of preset templates Pixel mean and pixel variance.

在一种实施例中,上述图像获取模块502还用于:获取第一图像;基于预设模板和第一图像,确定第一像素参数;根据相关系数算法和第一像素参数确定第一图像与预设模板之间的第一匹配度;将第一图像旋转预设角度,得到第二图像;确定第二图像与预设模板之间的第二匹配度;通过比较第一匹配度和第二匹配度,将第一图像和第二图像中匹配度较高的图像确定为具有棋盘格特征的目标图像。In an embodiment, the above image acquisition module 502 is further configured to: acquire a first image; determine a first pixel parameter based on a preset template and the first image; determine the correlation coefficient between the first image and the first pixel parameter the first matching degree between the preset templates; rotating the first image by a preset angle to obtain a second image; determining the second matching degree between the second image and the preset template; by comparing the first matching degree and the second matching degree Matching degree, the image with higher matching degree among the first image and the second image is determined as the target image with the checkerboard feature.

在一种实施例中,上述棋盘格角点定位装置还包括模板预设模块(图中未示出),其用于:设置初始模板中不同区域的初始像素值;其中,初始模板包括黑白相间的四个矩形区域,且对角区域的初始像素值相等;根据目标图像的像素值对初始模板的初始像素值进行调整,将像素值调整后的模板作为预设模板。In an embodiment, the above-mentioned checkerboard corner point positioning device further includes a template preset module (not shown in the figure), which is used for: setting initial pixel values of different regions in the initial template; wherein, the initial template includes black and white The initial pixel value of the diagonal area is equal; the initial pixel value of the initial template is adjusted according to the pixel value of the target image, and the template after adjusting the pixel value is used as the preset template.

本实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,本实施例部分未提及之处,可参考前述实施例一中相应内容。The implementation principle and technical effects of the device provided in this embodiment are the same as those in the foregoing method embodiments. For brief description, for the parts not mentioned in this embodiment, reference may be made to the corresponding content in the foregoing Embodiment 1.

基于前述实施例,本实施例给出了一种电子设备,包括:处理器,用于存储所述处理器可执行指令的存储器;处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述棋盘格角点定位方法。Based on the foregoing embodiments, this embodiment provides an electronic device, including: a processor, a memory for storing executable instructions of the processor; a processor, for reading the executable instructions from the memory instruction, and execute the instruction to realize the above-mentioned method for locating the corner points of the checkerboard.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的电子设备的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the electronic device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

最后应当说明的是,以上实施例仅用以说明本发明创造的技术方案,而非对本发明创造保护范围的限制,尽管参照较佳实施例对本发明创造作了详细地说明,本领域的普通技术人员应当理解,可以对本发明创造的技术方案进行修改或者等同替换,而不脱离本发明创造技术方案的实质和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit the protection scope of the present invention. Persons should understand that the technical solutions of the present invention may be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.

Claims (9)

1.一种棋盘格角点定位方法,其特征在于,包括:1. a checkerboard corner point positioning method, is characterized in that, comprises: 获取具有棋盘格特征的目标图像;Obtain a target image with checkerboard features; 相对于预设模板,将所述目标图像从初始位置开始沿着目标方向平移预设个数的像素;With respect to the preset template, the target image is shifted from the initial position by a preset number of pixels along the target direction; 将每次移动后目标图像逐一作为当前图像,并对所述当前图像执行如下匹配操作:Take the target images after each movement as the current image one by one, and perform the following matching operations on the current image: 基于预设模板和所述当前图像,确定当前像素参数;其中,所述当前像素参数用于表示在所述当前图像中起始边界处和棋盘格交界处的像素信息;以及,根据相关系数算法和所述当前像素参数确定所述当前图像与所述预设模板之间的匹配度;Based on the preset template and the current image, the current pixel parameter is determined; wherein, the current pixel parameter is used to represent the pixel information at the starting boundary and the junction of the checkerboard in the current image; and, according to the correlation coefficient algorithm and the current pixel parameter to determine the degree of matching between the current image and the preset template; 基于各所述当前图像对应的匹配度,确定棋盘格角点;Determine the corner points of the checkerboard based on the matching degree corresponding to each of the current images; 所述相关系数算法的表达式为:The expression of the correlation coefficient algorithm is:
Figure DEST_PATH_IMAGE002
Figure DEST_PATH_IMAGE002
其中,C为所述当前图像与所述预设模板之间的匹配度,H-M为在所述当前图像中起始边界处,所述当前图像与所述预设模板之间的第一像素乘积之和、H0为在所述当前图像中棋盘格交界处,所述当前图像与所述预设模板之间的第二像素乘积之和,Hr为所述当前图像中除了起始边界和棋盘格交界之外的区域,所述当前图像与所述预设模板之间的第三像素乘积之和;I-M为所述当前图像中起始边界处的像素平均值、Ir为所述当前图像中除了起始边界之外的像素平均值,K-M为所述当前图像中起始边界处的像素平方和、Kr为所述当前图像中除了起始边界之外的像素平方和、Tm为所述预设模板的像素平均值,
Figure DEST_PATH_IMAGE004
为所述预设模板的像素方差,所述预设模板的大小尺寸为(2M+1) ×(2M+1),且M表示所述预设模板行和/或列的排列序数。
Wherein, C is the matching degree between the current image and the preset template, and H- M is the first boundary between the current image and the preset template at the starting boundary in the current image. The sum of pixel products, H 0 is the sum of the second pixel products between the current image and the preset template at the junction of the checkerboard in the current image, Hr is the current image except for the starting boundary and the area beyond the border of the checkerboard, the sum of the third pixel product between the current image and the preset template; I- M is the pixel average value at the starting boundary in the current image, and Ir is the The average value of pixels except the starting boundary in the current image, K- M is the sum of squares of pixels at the starting boundary in the current image, and Kr is the sum of squares of pixels other than the starting boundary in the current image , T m is the pixel mean value of the preset template,
Figure DEST_PATH_IMAGE004
is the pixel variance of the preset template, the size of the preset template is ( 2M +1)×(2M+1), and M represents the sequence number of rows and/or columns of the preset template.
2.根据权利要求1所述的方法,其特征在于,所述基于预设模板和所述当前图像,确定当前像素参数的步骤,包括:2. The method according to claim 1, wherein the step of determining the current pixel parameter based on the preset template and the current image comprises: 在所述当前图像中起始边界处,基于所述当前图像计算所述当前图像的像素平均值,基于所述当前图像计算所述当前图像的像素平方和,以及,基于预设模板和所述当前图像计算所述当前图像与所述预设模板之间的第一像素乘积之和;at a starting boundary in the current image, calculating a pixel average value of the current image based on the current image, calculating a pixel square sum of the current image based on the current image, and, based on a preset template and the The current image calculates the sum of the first pixel products between the current image and the preset template; 在所述当前图像中棋盘格交界处,基于预设模板和所述当前图像计算所述当前图像与所述预设模板之间的第二像素乘积之和;at the junction of checkerboards in the current image, calculating the sum of second pixel products between the current image and the preset template based on the preset template and the current image; 将计算得到的像素平均值、像素平方和、第一像素乘积之和、第二像素乘积之和确定为当前像素参数。The calculated average value of pixels, the sum of squares of pixels, the sum of first pixel products, and the sum of second pixel products are determined as the current pixel parameters. 3.根据权利要求2所述的方法,其特征在于,在对所述当前图像执行匹配操作之前,所述方法还包括:3. The method according to claim 2, wherein before performing the matching operation on the current image, the method further comprises: 构建所述预设模板的矩阵;constructing a matrix of said preset templates; 基于所述预设模板的矩阵计算所述预设模板的像素平均值和像素方差。Calculate the pixel mean and pixel variance of the preset template based on the matrix of the preset template. 4.根据权利要求3所述的方法,其特征在于,所述预设模板的像素平均值为:4. The method according to claim 3, wherein the pixel average value of the preset template is:
Figure DEST_PATH_IMAGE006
Figure DEST_PATH_IMAGE006
其中,Tm所述预设模板的像素平均值,i表示所述预设模板的行数,j表示所述预设模板的列数,T(i,j)为所述预设模板中第i行第j列的像素值。Wherein, T m the pixel average value of the preset template, i represents the row number of the preset template, j represents the column number of the preset template, and T(i,j) is the number of the preset template in the The pixel value of row i and column j.
5.根据权利要求2所述的方法,其特征在于,所述预设模板的像素方差:5. The method according to claim 2, wherein the pixel variance of the preset template:
Figure DEST_PATH_IMAGE008
Figure DEST_PATH_IMAGE008
其中,
Figure 993496DEST_PATH_IMAGE004
为所述预设模板的像素方差,T(i,j)为所述预设模板中第i行第j列的像素值,Tm所述预设模板的像素平均值。
in,
Figure 993496DEST_PATH_IMAGE004
is the pixel variance of the preset template, T(i,j) is the pixel value of the ith row and jth column in the preset template, and Tm is the pixel average value of the preset template.
6.根据权利要求1所述的方法,其特征在于,所述获取具有棋盘格特征的目标图像的步骤,包括:6. The method according to claim 1, wherein the step of acquiring a target image with checkerboard features comprises: 获取第一图像;get the first image; 基于预设模板和所述第一图像,确定第一像素参数;determining a first pixel parameter based on the preset template and the first image; 根据所述相关系数算法和所述第一像素参数确定所述第一图像与所述预设模板之间的第一匹配度;determining a first degree of matching between the first image and the preset template according to the correlation coefficient algorithm and the first pixel parameter; 将所述第一图像旋转预设角度,得到第二图像;Rotating the first image by a preset angle to obtain a second image; 确定所述第二图像与所述预设模板之间的第二匹配度;determining a second degree of matching between the second image and the preset template; 通过比较第一匹配度和第二匹配度,将所述第一图像和所述第二图像中匹配度较高的图像确定为具有棋盘格特征的目标图像。By comparing the first matching degree and the second matching degree, an image with a higher matching degree among the first image and the second image is determined as a target image with a checkerboard feature. 7.根据权利要求1所述的方法,其特征在于,所述方法还包括:7. The method according to claim 1, wherein the method further comprises: 设置初始模板中不同区域的初始像素值;其中,所述初始模板包括黑白相间的四个矩形区域,且对角区域的初始像素值相等;Setting the initial pixel values of different areas in the initial template; wherein, the initial template includes four black and white rectangular areas, and the initial pixel values of the diagonal areas are equal; 根据所述目标图像的像素值对所述初始模板的初始像素值进行调整,将像素值调整后的模板作为所述预设模板。The initial pixel value of the initial template is adjusted according to the pixel value of the target image, and the template whose pixel value is adjusted is used as the preset template. 8.一种棋盘格角点定位装置,其特征在于,包括:8. A checkerboard corner point positioning device, characterized in that, comprising: 图像获取模块,用于获取具有棋盘格特征的目标图像;an image acquisition module, used to acquire a target image with checkerboard features; 图像平移模块,用于相对于预设模板,将所述目标图像从初始位置开始沿着目标方向平移预设个数的像素;an image translation module, used to translate the target image by a preset number of pixels along the target direction from the initial position relative to the preset template; 操作执行模块,用于将每次移动后目标图像逐一作为当前图像,并对所述当前图像执行如下匹配操作:The operation execution module is used to take the target images after each movement as the current image one by one, and perform the following matching operations on the current image: 基于预设模板和所述当前图像,确定当前像素参数;其中,所述当前像素参数用于表示在所述当前图像中起始边界处和棋盘格交界处的像素信息;以及,根据相关系数算法和所述当前像素参数确定所述当前图像与所述预设模板之间的匹配度;Based on the preset template and the current image, the current pixel parameter is determined; wherein, the current pixel parameter is used to represent the pixel information at the starting boundary and the junction of the checkerboard in the current image; and, according to the correlation coefficient algorithm and the current pixel parameter to determine the degree of matching between the current image and the preset template; 棋盘格角点定位模块,用于基于各所述当前图像对应的匹配度,确定棋盘格角点;a checkerboard corner point positioning module, configured to determine the checkerboard corner points based on the degree of matching corresponding to each of the current images; 所述相关系数算法的表达式为:The expression of the correlation coefficient algorithm is:
Figure 910637DEST_PATH_IMAGE002
Figure 910637DEST_PATH_IMAGE002
其中,C为所述当前图像与所述预设模板之间的匹配度,H-M为在所述当前图像中起始边界处,所述当前图像与所述预设模板之间的第一像素乘积之和、H0为在所述当前图像中棋盘格交界处,所述当前图像与所述预设模板之间的第二像素乘积之和,Hr为所述当前图像中除了起始边界和棋盘格交界之外的区域,所述当前图像与所述预设模板之间的第三像素乘积之和;I-M为所述当前图像中起始边界处的像素平均值、Ir为所述当前图像中除了起始边界之外的像素平均值,K-M为所述当前图像中起始边界处的像素平方和、Kr为所述当前图像中除了起始边界之外的像素平方和、Tm为所述预设模板的像素平均值,
Figure 690374DEST_PATH_IMAGE004
为所述预设模板的像素方差,所述预设模板的大小尺寸为(2M+1) ×(2M+1),且M表示所述预设模板行和/或列的排列序数。
Wherein, C is the matching degree between the current image and the preset template, and H- M is the first boundary between the current image and the preset template at the starting boundary in the current image. The sum of pixel products, H 0 is the sum of the second pixel products between the current image and the preset template at the junction of the checkerboard in the current image, Hr is the current image except for the starting boundary and the area beyond the border of the checkerboard, the sum of the third pixel product between the current image and the preset template; I- M is the pixel average value at the starting boundary in the current image, and Ir is the The average value of pixels except the starting boundary in the current image, K- M is the sum of squares of pixels at the starting boundary in the current image, and Kr is the sum of squares of pixels other than the starting boundary in the current image , T m is the pixel mean value of the preset template,
Figure 690374DEST_PATH_IMAGE004
is the pixel variance of the preset template, the size of the preset template is ( 2M +1)×(2M+1), and M represents the sequence number of rows and/or columns of the preset template.
9.一种电子设备,其特征在于,所述电子设备包括:9. An electronic device, characterized in that the electronic device comprises: 处理器;processor; 用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor; 所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述权利要求1-7中任一所述的棋盘格角点定位方法。The processor is configured to read the executable instructions from the memory, and execute the instructions to implement the method for locating a checkerboard corner point according to any one of claims 1-7 above.
CN202010940476.9A 2020-09-09 2020-09-09 A checkerboard corner point positioning method, device and electronic device Active CN111815685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010940476.9A CN111815685B (en) 2020-09-09 2020-09-09 A checkerboard corner point positioning method, device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010940476.9A CN111815685B (en) 2020-09-09 2020-09-09 A checkerboard corner point positioning method, device and electronic device

Publications (2)

Publication Number Publication Date
CN111815685A CN111815685A (en) 2020-10-23
CN111815685B true CN111815685B (en) 2021-02-26

Family

ID=72860722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010940476.9A Active CN111815685B (en) 2020-09-09 2020-09-09 A checkerboard corner point positioning method, device and electronic device

Country Status (1)

Country Link
CN (1) CN111815685B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116150292B (en) * 2022-12-27 2026-01-16 深圳能源环保股份有限公司 Ton bag position data processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335307A (en) * 2019-06-26 2019-10-15 Oppo广东移动通信有限公司 Calibration method, calibration device, computer storage medium and terminal equipment
CN111243032A (en) * 2020-01-10 2020-06-05 大连理工大学 Full-automatic checkerboard angular point detection method
CN111640157A (en) * 2020-05-28 2020-09-08 华中科技大学 A Neural Network-Based Checkerboard Corner Detection Method and Its Application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105374037B (en) * 2015-11-04 2017-11-03 西安邮电大学 A kind of X-comers auto-screening method of corner detection
KR102462025B1 (en) * 2017-11-07 2022-11-02 현대모비스 주식회사 Apparatus and method for detecting checkerboard corner point for camera calibration
CN108257185A (en) * 2018-01-03 2018-07-06 上海兴芯微电子科技有限公司 More checkerboard angle point detection process and camera marking method
GB2572956B (en) * 2018-04-16 2021-09-08 Sony Interactive Entertainment Inc Calibration system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335307A (en) * 2019-06-26 2019-10-15 Oppo广东移动通信有限公司 Calibration method, calibration device, computer storage medium and terminal equipment
CN111243032A (en) * 2020-01-10 2020-06-05 大连理工大学 Full-automatic checkerboard angular point detection method
CN111640157A (en) * 2020-05-28 2020-09-08 华中科技大学 A Neural Network-Based Checkerboard Corner Detection Method and Its Application

Also Published As

Publication number Publication date
CN111815685A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
WO2022198901A1 (en) Digital speckle correlation rapid implementation method for extracting seed points on basis of grid
CN109584156B (en) Microscopic sequence image splicing method and device
CN112308925B (en) Dual-target positioning method, device and storage medium for wearable device
CN109685078B (en) Infrared image identification method based on automatic annotation
WO2021004416A1 (en) Method and apparatus for establishing beacon map on basis of visual beacons
CN112132908B (en) Camera external parameter calibration method and device based on intelligent detection technology
CN106803273A (en) A kind of panoramic camera scaling method
CN102169573A (en) Real-time distortion correction method and system of lens with high precision and wide field of view
CN114140623A (en) Image feature point extraction method and system
CN113313769B (en) Seamless geometric calibration method between optical satellite multi-area array sensor chips
CN110209997A (en) Depth camera automatic Calibration algorithm based on three-dimensional feature point
CN113324528A (en) Close-range photogrammetry target positioning method and system with known camera station position
CN110807815B (en) A Fast Underwater Calibration Method Based on Two Groups of Mutually Orthogonal Parallel Lines Corresponding to Vanishing Point
CN102693543B (en) Method for automatically calibrating Pan-Tilt-Zoom in outdoor environments
WO2023010565A1 (en) Method and apparatus for calibrating monocular speckle structured light system, and terminal
CN113706635B (en) Long-focus camera calibration method based on point feature and line feature fusion
CN115115550A (en) A method and device for image perspective correction based on camera perspective transformation
CN119006609A (en) Camera calibration method
CN111815685B (en) A checkerboard corner point positioning method, device and electronic device
CN112102169A (en) Infrared image splicing method and device and storage medium
CN117496370A (en) Registration method of high-resolution satellite remote sensing image
CN111915681B (en) External parameter calibration methods, devices, storage media and equipment for multiple 3D camera groups
CN115294210B (en) A camera pose calibration method based on a single vanishing point
CN104077764A (en) Panorama synthetic method based on image mosaic
Bingwei et al. Accurate geometric camera calibration technique using multi-views of a non-metric planar grid

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
OL01 Intention to license declared
OL01 Intention to license declared
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20201023

Contract record no.: X2025980045596

Denomination of invention: A method, device and electronic equipment for locating corner points of a checkerboard grid

Granted publication date: 20210226

License type: Open License

Record date: 20251218