[go: up one dir, main page]

CN111598177A - An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching - Google Patents

An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching Download PDF

Info

Publication number
CN111598177A
CN111598177A CN202010427643.XA CN202010427643A CN111598177A CN 111598177 A CN111598177 A CN 111598177A CN 202010427643 A CN202010427643 A CN 202010427643A CN 111598177 A CN111598177 A CN 111598177A
Authority
CN
China
Prior art keywords
image
sliding
matching
similarity
matching method
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.)
Pending
Application number
CN202010427643.XA
Other languages
Chinese (zh)
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.)
Aerospace Information Research Institute of CAS
Original Assignee
Aerospace Information Research Institute of CAS
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 Aerospace Information Research Institute of CAS filed Critical Aerospace Information Research Institute of CAS
Priority to CN202010427643.XA priority Critical patent/CN111598177A/en
Publication of CN111598177A publication Critical patent/CN111598177A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/758Involving statistics of pixels or of feature values, e.g. histogram matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

一种自适应最大滑动窗口匹配方法,包括以下步骤:将待匹配图像分为基准图像和滑动图像,设置待匹配图像间估计匹配位置(x0,y0),设置横向搜索像素数为Rx和纵向搜索像素数为Ry;计算滑动图像的横向滑动范围Tx和纵向滑动范围Ty;在滑动范围内逐像素移动滑动图像,并计算重叠区域的相似性;记录最大重叠滑动窗口相似性最高的位置,即为图像的最佳匹配位置。本方法不受待匹配图像尺寸和重叠区域尺寸限制,尤其适用低重叠度图像间的自动匹配处理。并通过自适应调节滑动窗口,度量待匹配图像间的最大重叠区域的相似性,使用较多的图像信息,提升匹配结果的准确性。

Figure 202010427643

An adaptive maximum sliding window matching method, comprising the following steps: dividing an image to be matched into a reference image and a sliding image, setting an estimated matching position (x 0 , y 0 ) between the images to be matched, and setting the number of horizontal search pixels to R x and the number of vertical search pixels is R y ; calculate the horizontal sliding range T x and vertical sliding range T y of the sliding image; move the sliding image pixel by pixel within the sliding range, and calculate the similarity of the overlapping area; record the maximum overlapping sliding window similarity The highest position is the best matching position of the image. The method is not limited by the size of the images to be matched and the size of the overlapping area, and is especially suitable for automatic matching processing between low-overlap images. And by adaptively adjusting the sliding window, the similarity of the maximum overlapping area between the images to be matched is measured, and more image information is used to improve the accuracy of the matching result.

Figure 202010427643

Description

面向低重叠图像匹配的自适应最大滑动窗口匹配方法An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching

技术领域technical field

本发明涉及图像匹配技术领域,具体涉及一种面向低重叠图像匹配的自适应最大滑动窗口匹配方法。The invention relates to the technical field of image matching, in particular to an adaptive maximum sliding window matching method for low-overlap image matching.

背景技术Background technique

图像匹配是实现多幅图像信息综合应用的重要图像处理方法,在计算机视觉、遥感数据处理等领域有广泛的应用。现有的图像匹配方法主要包括基于特征的方法和基于区域的方法。SIFT特征匹配方法是经典的基于特征的图像匹配方法,其匹配过程主要包括构建尺度空间并检测显著特征点,生成特征描述符,进行特征相似性度量获得图像匹配关系。SIFT特征尺度空间构建过程和特征描述子生产过程分别如图1(a)和图1(b)所示。Image matching is an important image processing method to realize the comprehensive application of multiple image information, and has a wide range of applications in computer vision, remote sensing data processing and other fields. Existing image matching methods mainly include feature-based methods and region-based methods. The SIFT feature matching method is a classic feature-based image matching method. The matching process mainly includes building a scale space and detecting significant feature points, generating feature descriptors, and performing feature similarity measurement to obtain image matching relationships. The SIFT feature scale space construction process and feature descriptor production process are shown in Figure 1(a) and Figure 1(b), respectively.

模板匹配方法是常用的基于区域的图像匹配方法。模板匹配方法将待匹配图像分为基准图和模板图,模板图像在基准图像范围内平移,并计算模板图像与其覆盖下基准图像之间的相似性,获得最佳匹配位置,其处理示意图如图2所示,其中,f表示待匹配的基准图像,t表示待匹配的模板图像,假设基准图像的宽为w,高为h,模板图像的宽为w0,高为h0,则模板匹配有一定的搜索范围限制,即横向搜索范围0到w-w0,纵向搜索范围为0到h-h0Template matching method is a commonly used region-based image matching method. The template matching method divides the image to be matched into a reference image and a template image. The template image is translated within the range of the reference image, and the similarity between the template image and the reference image covered by it is calculated to obtain the best matching position. The schematic diagram of the processing is shown in the figure. 2, where f represents the reference image to be matched, t represents the template image to be matched, assuming that the width of the reference image is w, the height is h, the width of the template image is w 0 , and the height is h 0 , then the template matches There is a certain search range limitation, that is, the horizontal search range is 0 to w-w0, and the vertical search range is 0 to hh 0 .

图像匹配方法的共同点是要求待匹配图像间具有一定的重叠区域。基于SIFT特征匹配方法的特征检测和特征描述过程对待匹配图像共同区域的尺寸和纹理显著程度有明显要求。基于模板匹配的方法,需要将模板图像在基准图像范围内滑动,要求待图像间重叠区域较大,且搜索范围有限。对于待匹配图像间重叠区域较小的情况,例如光学遥感相机CCD成像片间,光学遥感相机摆扫成像模式获得的条带图像间等,现有匹配方法都无法最大程度使用图像间的重叠信息,因此,无法获得准确稳定的匹配结果。The common point of image matching methods is that there is a certain overlapping area between the images to be matched. The feature detection and feature description process based on the SIFT feature matching method has obvious requirements on the size and texture saliency of the common area of the image to be matched. In the method based on template matching, the template image needs to be slid within the range of the reference image, the overlapping area between the images to be imaged is required to be large, and the search range is limited. For the case where the overlapping area between the images to be matched is small, such as between the CCD imaging slices of the optical remote sensing camera, the strip images obtained by the optical remote sensing camera swing imaging mode, etc., the existing matching methods cannot use the overlapping information between the images to the maximum extent. , therefore, accurate and stable matching results cannot be obtained.

在实现本发明的过程中,申请人发现上述现有单幅遥感影像目标高度计算技术存在如下技术缺陷:In the process of realizing the present invention, the applicant found that the above-mentioned existing single remote sensing image target height calculation technology has the following technical defects:

(1)现有匹配方法需要选取一定尺度的点特征或者模板,这就限制了待匹配图像重叠区域的最小尺寸,因此,无法应用于重叠区域窄小图像间的匹配处理;(1) The existing matching methods need to select point features or templates of a certain scale, which limits the minimum size of the overlapping area of the images to be matched, and therefore cannot be applied to matching processing between images with narrow overlapping areas;

(2)现有匹配方法,没有充分使用重叠区域的信息,仅通过度量特征周边或模板区域信息进行图像匹配,匹配稳定性不足。(2) The existing matching methods do not fully use the information of the overlapping area, and only perform image matching by measuring the information around the feature or the template area, and the matching stability is insufficient.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的主要目的在于提供一种面向低重叠图像匹配的自适应最大滑动窗口匹配方法,以期部分地解决上述技术问题中的至少之一。In view of this, the main purpose of the present invention is to provide an adaptive maximum sliding window matching method for low-overlap image matching, so as to partially solve at least one of the above technical problems.

为了实现上述目的,作为本发明的一方面,提供了一种面向低重叠图像匹配的自适应最大滑动窗口匹配方法,包括以下步骤:In order to achieve the above object, as an aspect of the present invention, an adaptive maximum sliding window matching method for low-overlap image matching is provided, comprising the following steps:

将待匹配图像分为基准图像和滑动图像,设置待匹配图像间估计匹配位置(x0,y0),设置横向搜索像素数为Rx和纵向搜索像素数为RyDivide the image to be matched into a reference image and a sliding image, set the estimated matching position (x 0 , y 0 ) between the images to be matched, and set the number of horizontal search pixels to be R x and the number of vertical search pixels to be R y ;

计算滑动图像的横向滑动范围Tx和纵向滑动范围TyCalculate the horizontal sliding range T x and the vertical sliding range Ty of the sliding image;

在滑动范围内逐像素移动滑动图像,并计算重叠区域的相似性;Move the sliding image pixel by pixel within the sliding range, and calculate the similarity of the overlapping area;

记录最大重叠滑动窗口相似性最高的位置,即为图像的最佳匹配位置。Record the position with the highest similarity of the maximum overlapping sliding window, which is the best matching position of the image.

其中,所述滑动图像的横向滑动范围Tx和纵向滑动范围Ty为:Wherein, the horizontal sliding range T x and the vertical sliding range T y of the sliding image are:

Figure BDA0002497887190000021
Figure BDA0002497887190000021

其中,所述计算重叠区域的相似性的具体计算过程如下:Wherein, the specific calculation process for calculating the similarity of overlapping regions is as follows:

设置滑动图像在搜索范围内移动位置为(x,y),计算此时的最大重叠区域范围,得到最大基准图像重叠区域gf和滑动图像重叠区域gtSet the moving position of the sliding image in the search range as (x, y), calculate the maximum overlapping area range at this time, and obtain the maximum overlapping area g f of the reference image and the overlapping area g t of the sliding image;

计算对应重叠区域gf和gt的相似性。Calculate the similarity of the corresponding overlapping regions g f and gt .

其中,所述基准图像重叠区域左上角坐标(xf,yf)计算公式如下:Wherein, the calculation formula of the upper left corner coordinates (x f , y f ) of the overlapping area of the reference image is as follows:

Figure BDA0002497887190000031
Figure BDA0002497887190000031

其中,所述基准图像重叠区域右下角坐标(x′f,y′f)计算公式如下:The formula for calculating the coordinates (x′ f , y′ f ) of the lower right corner of the overlapping area of the reference image is as follows:

Figure BDA0002497887190000032
Figure BDA0002497887190000032

Figure BDA0002497887190000033
Figure BDA0002497887190000033

其中,所述滑动图像重叠区域左上角坐标(xt,yt)计算公式如下:Wherein, the calculation formula of the upper left corner coordinates (x t , y t ) of the overlapping area of the sliding image is as follows:

Figure BDA0002497887190000034
Figure BDA0002497887190000034

Figure BDA0002497887190000035
Figure BDA0002497887190000035

其中,所述滑动图像重叠区域右下角坐标(x′t,y′t)计算公式如下:The formula for calculating the coordinates (x' t , y' t ) of the lower right corner of the overlapping area of the sliding image is as follows:

Figure BDA0002497887190000036
Figure BDA0002497887190000036

Figure BDA0002497887190000037
Figure BDA0002497887190000037

其中,所述计算对应重叠区域gf和gt的相似性采用归一化互相关相似性度量方法、标准平方差或标准相关匹配。Wherein, the calculation of the similarity of the corresponding overlapping regions g f and g t adopts a normalized cross-correlation similarity measurement method, standard square deviation or standard correlation matching.

其中,所述采用归一化互相关系数进行相似性度量,具体计算公式如下:Wherein, the normalized cross-correlation coefficient is used to measure the similarity, and the specific calculation formula is as follows:

Figure BDA0002497887190000041
Figure BDA0002497887190000041

其中,(u,v)为gf和gt图像的坐标网格位置,采用逐像素计算方式,E(gf)和E(gt)分别为图像gf和gt的灰度均值。Among them, (u, v) is the coordinate grid position of the g f and g t images, which is calculated pixel by pixel, and E(g f ) and E(g t ) are the gray mean values of the images g f and g t , respectively.

基于上述技术方案可知,本发明的面向低重叠图像匹配的自适应最大滑动窗口匹配方法相对于现有技术至少具有如下有益效果之一:Based on the above technical solutions, the adaptive maximum sliding window matching method for low-overlap image matching of the present invention has at least one of the following beneficial effects relative to the prior art:

(1)本发明提出一种自适应最大滑动窗口匹配方法,通过计算待匹配图像间最大重叠区域的相似性进行图像匹配,因此,不受待匹配图像尺寸和重叠区域尺寸限制,尤其适用低重叠度图像间的自动匹配处理。(1) The present invention proposes an adaptive maximum sliding window matching method, which performs image matching by calculating the similarity of the maximum overlapping area between the images to be matched. Therefore, it is not limited by the size of the image to be matched and the size of the overlapping area, and is especially suitable for low overlap. Automatic matching processing between degree images.

(2)通过自适应调节滑动窗口,度量待匹配图像间的最大重叠区域的相似性,使用较多的图像信息,提升匹配结果的准确性。(2) By adaptively adjusting the sliding window, the similarity of the maximum overlapping area between the images to be matched is measured, and more image information is used to improve the accuracy of the matching result.

附图说明Description of drawings

图1(a)为现有技术的SIFT特征匹配方法构建高斯尺度空间的过程,图1(b)为现有技术的SIFT特征描述子生成过程示意图;Fig. 1(a) is the process of constructing a Gaussian scale space by the SIFT feature matching method in the prior art, and Fig. 1(b) is a schematic diagram of the generation process of the SIFT feature descriptor in the prior art;

图2为现有技术的模板匹配方法示意图;2 is a schematic diagram of a template matching method in the prior art;

图3为本发明的模板匹配方法示意图;3 is a schematic diagram of a template matching method of the present invention;

图4为本发明的面向低重叠图像匹配的自适应最大滑动窗口匹配方法流程图;4 is a flowchart of an adaptive maximum sliding window matching method for low-overlapping image matching of the present invention;

图5为本发明实施例的低重叠度匹配数据示意图;5 is a schematic diagram of low-overlap matching data according to an embodiment of the present invention;

图6为本发明实施例的自适应最大滑动窗口匹配得到最佳匹配位置示意图;6 is a schematic diagram of the best matching position obtained by adaptive maximum sliding window matching according to an embodiment of the present invention;

图7为本发明实施例的基于匹配结果将两图拼接展示后示意图。FIG. 7 is a schematic diagram after splicing and displaying two images based on a matching result according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

针对现有技术方案的确定,本发明公开了一种面向低重叠图像匹配的自适应最大滑动窗口匹配方法,该方法的优点是:1)使用根据重叠区域自适应调节的滑动窗口进行图像匹配,不受重叠区域大小限制,可以应用于低重叠图像间匹配,极限情况下可应用于仅存在单列重叠区域的图像间匹配;2)通过自适应调节最大滑动窗口,充分使用重叠区域的图像信息,不受图像显著特征分布影响,匹配结果更加准确稳定。本发明的技术方案如下:Aiming at the determination of the prior art solution, the present invention discloses an adaptive maximum sliding window matching method for low overlapping image matching. Not limited by the size of the overlapping area, it can be applied to matching between low-overlapping images, and in extreme cases, it can be applied to matching between images with only a single-column overlapping area; 2) By adaptively adjusting the maximum sliding window, the image information of the overlapping area is fully used, Unaffected by the distribution of salient features of the image, the matching results are more accurate and stable. The technical scheme of the present invention is as follows:

1、将待匹配图像分为基准图像f和滑动图像t,假设基准图像的宽为w,高为h,滑动图像的宽为w0,高为h0,如图3所示;1. Divide the image to be matched into a reference image f and a sliding image t, assuming that the width of the reference image is w, the height is h, the width of the sliding image is w 0 , and the height is h 0 , as shown in Figure 3;

2、计算滑动图像的横向滑动范围Tx和纵向滑动范围Ty。假设待匹配图像间估计匹配位置为(x0,y0),横向搜索像素数为Rx和纵向搜索像素数为Ry,则滑动图像滑动范围为:2. Calculate the horizontal sliding range T x and the vertical sliding range Ty of the sliding image. Assuming that the estimated matching position between the images to be matched is (x 0 , y 0 ), the number of horizontal search pixels is R x and the number of vertical search pixels is R y , the sliding range of the sliding image is:

Tx∈[x0-Rx,x0+Rx]T x ∈[x 0 -R x , x 0 +R x ]

Ty∈|y0-Ry,y0+Ry|T y ∈|y 0 -R y , y 0 +R y |

3、在滑动范围内逐像素移动滑动图t,并计算重叠区域的相似性。具体计算过程如下:3. Move the sliding map t pixel by pixel within the sliding range, and calculate the similarity of the overlapping areas. The specific calculation process is as follows:

①假设滑动图t在搜索范围内移动位置为(x,y),计算此时的最大重叠区域范围,得到最大基准图重叠区域gf和滑动图重叠区域gt。基准图像重叠区域左上角坐标(xf,yf)计算公式如下:①Assuming that the moving position of the sliding map t in the search range is (x, y), calculate the maximum overlapping area range at this time, and obtain the maximum overlapping area g f of the reference image and the overlapping area g t of the sliding image. The calculation formula of the upper left corner coordinates (x f , y f ) of the overlapping area of the reference image is as follows:

Figure BDA0002497887190000051
Figure BDA0002497887190000051

Figure BDA0002497887190000052
Figure BDA0002497887190000052

基准图像重叠区域右下角坐标(x′f,y′f)计算公式如下:The formula for calculating the coordinates (x′ f , y′ f ) of the lower right corner of the overlapping area of the reference image is as follows:

Figure BDA0002497887190000053
Figure BDA0002497887190000053

Figure BDA0002497887190000054
Figure BDA0002497887190000054

滑动图像重叠区域左上角坐标(xt,yt)计算公式如下:The calculation formula of the upper left corner coordinates (x t , y t ) of the overlapping area of the sliding image is as follows:

Figure BDA0002497887190000061
Figure BDA0002497887190000061

Figure BDA0002497887190000062
Figure BDA0002497887190000062

滑动图像重叠区域右下角坐标(x′t,y′t)计算公式如下:The calculation formula of the coordinates (x' t , y' t ) of the lower right corner of the overlapping area of the sliding image is as follows:

Figure BDA0002497887190000063
Figure BDA0002497887190000063

Figure BDA0002497887190000064
Figure BDA0002497887190000064

②计算对应重叠区域gf和gt的相似性。这里由于重叠区域具有自适应调节的特点,其包含图像尺寸不固定,会随滑动窗口位置变换而发生变化,因此,需要采用与图像尺寸无关的相似性度量方法,这里采用归一化互相关系数进行相似性度量,具体计算公式如下:② Calculate the similarity between the corresponding overlapping regions g f and g t . Since the overlapping area has the characteristics of self-adaptive adjustment, the size of the included image is not fixed and will change with the position change of the sliding window. Therefore, a similarity measurement method independent of the image size needs to be used, and the normalized cross-correlation coefficient is used here. The similarity measurement is carried out, and the specific calculation formula is as follows:

Figure BDA0002497887190000065
Figure BDA0002497887190000065

其中,(u,v)为gf和gt图像的坐标网格位置,采用逐像素计算方式,E(gf)和E(gt)分别为图像gf和gt的灰度均值。Among them, (u, v) is the coordinate grid position of the g f and g t images, which is calculated pixel by pixel, and E(g f ) and E(g t ) are the gray mean values of the images g f and g t , respectively.

4、记录最大重叠滑动窗口相似性最高的位置,即为图像的最佳匹配位置。4. Record the position with the highest similarity of the maximum overlapping sliding window, which is the best matching position of the image.

本发明技术方案的流程图如图4所示。The flow chart of the technical solution of the present invention is shown in FIG. 4 .

此外,上述对各方法的定义并不仅限于实施例中提到的各种具体方式,本领域普通技术人员可对其进行简单地更改或替换,例如:In addition, the above definitions of each method are not limited to the various specific ways mentioned in the embodiments, and those of ordinary skill in the art can simply modify or replace them, for example:

步骤3中采用的归一化互相关相似性度量方法,也可以采用其他与使用像素数无关的相似性度量方法,例如标准平方差、标准相关匹配等。只要采用与像素数无关的相似性度量方法计算最大共同区域相似性的方法,都属于本发明范畴之内。The normalized cross-correlation similarity measurement method adopted in step 3 may also adopt other similarity measurement methods that are independent of the number of pixels used, such as standard square deviation, standard correlation matching, and the like. As long as a similarity measurement method that is independent of the number of pixels is used to calculate the similarity of the maximum common area, it falls within the scope of the present invention.

下面结合实例来详细说明本发明的自适应最大滑动窗口匹配方法。The adaptive maximum sliding window matching method of the present invention will be described in detail below with reference to an example.

选取两幅尺寸为510×800的待匹配图像,以A图为基准,B图的准确匹配位置是(490,5),图像重叠区域尺寸为20×795,如图5所示。由于重叠区域宽度只有20像素,一般的匹配方法无法实现两图的匹配处理。Select two images with a size of 510×800 to be matched, and take picture A as the benchmark, the exact matching position of picture B is (490, 5), and the size of the image overlapping area is 20×795, as shown in Figure 5. Since the width of the overlapping area is only 20 pixels, the general matching method cannot realize the matching processing of the two images.

采用本发明方法,预设估计匹配位置为(488,7),搜索半径设置为10像素,通过自适应最大滑动窗口匹配方法,获得各个位置的相似性如图6所示,可以准确获得最佳匹配位置为(490,5),与实际图像偏移位置一致。Using the method of the present invention, the preset estimated matching position is (488, 7), and the search radius is set to 10 pixels. Through the adaptive maximum sliding window matching method, the similarity of each position is obtained as shown in Figure 6, and the optimal The matching position is (490, 5), which is consistent with the actual image offset position.

基于匹配获得结果,将图像拼接后结果如图7所示,满足低重叠图像自动匹配要求。Based on the results obtained by matching, the results after stitching the images are shown in Figure 7, which meets the requirements of automatic matching of low-overlap images.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above-mentioned specific embodiments are only specific embodiments of the present invention, and are not intended to limit the present invention. Within the spirit and principle of the present invention, any modifications, equivalent replacements, improvements, etc. made should be included within the protection scope of the present invention.

Claims (9)

1. An adaptive maximum sliding window matching method is characterized by comprising the following steps:
dividing the image to be matched into a reference image and a slide image, and setting an estimated matching position (x) between the images to be matched0,y0) Setting the number of horizontal search pixels to RxAnd the number of vertical search pixels is Ry
Calculating the lateral sliding range T of the sliding imagexAnd a longitudinal sliding range Ty
Moving the sliding image pixel by pixel in the sliding range, and calculating the similarity of the overlapping areas;
and recording the position with the highest similarity of the maximum overlapping sliding windows, namely the best matching position of the image.
2. Matching method according to claim 1, characterized in that the sliding image has a transverse sliding range TxAnd a longitudinal sliding range TyComprises the following steps:
Figure FDA0002497887180000011
3. the matching method according to claim 1, wherein the specific calculation process for calculating the similarity of the overlapping regions is as follows:
setting a slide image in a search rangeThe moving position is (x, y), the maximum overlapping area range at this time is calculated, and the maximum reference image overlapping area g is obtainedfOverlap area g with slide imaget
Calculating the corresponding overlap area gfAnd gtThe similarity of (c).
4. Matching method according to claim 3, characterized in that said reference image overlap region upper left corner coordinate (x)f,yf) The calculation formula is as follows:
Figure FDA0002497887180000012
5. matching method according to claim 3, characterised in that said reference image overlap region lower right corner coordinate (x'f,y′f) The calculation formula is as follows:
Figure FDA0002497887180000021
Figure FDA0002497887180000022
6. matching method according to claim 3, characterized in that the sliding image overlap region has the coordinates (x) in the upper left cornert,yt) The calculation formula is as follows:
Figure FDA0002497887180000023
Figure FDA0002497887180000024
7. matching method according to claim 3, characterized in thatThe coordinates (x ') of the lower right corner of the overlapped area of the slide images't,y′t) The calculation formula is as follows:
Figure FDA0002497887180000025
Figure FDA0002497887180000026
8. matching method according to claim 3, characterised in that said calculation of the corresponding overlapping area gfAnd gtThe similarity of (c) is measured using a normalized cross-correlation similarity measure, standard squared error, or standard correlation match.
9. The matching method according to claim 8, wherein the similarity measurement is performed by using the normalized cross-correlation coefficient, and the specific calculation formula is as follows:
Figure FDA0002497887180000027
wherein (u, v) is gfAnd gtThe coordinate grid position of the image is calculated by pixel-by-pixel, E (g)f) And E (g)t) Are respectively an image gfAnd gtThe gray level average of (1).
CN202010427643.XA 2020-05-19 2020-05-19 An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching Pending CN111598177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010427643.XA CN111598177A (en) 2020-05-19 2020-05-19 An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010427643.XA CN111598177A (en) 2020-05-19 2020-05-19 An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching

Publications (1)

Publication Number Publication Date
CN111598177A true CN111598177A (en) 2020-08-28

Family

ID=72189772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010427643.XA Pending CN111598177A (en) 2020-05-19 2020-05-19 An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching

Country Status (1)

Country Link
CN (1) CN111598177A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112435283A (en) * 2020-11-04 2021-03-02 浙江大华技术股份有限公司 Image registration method, electronic device and computer-readable storage medium
CN113744133A (en) * 2021-09-13 2021-12-03 烟台艾睿光电科技有限公司 Image splicing method, device and equipment and computer readable storage medium
CN114419115A (en) * 2021-12-07 2022-04-29 高德软件有限公司 Image feature matching method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546320A (en) * 2008-03-27 2009-09-30 林兆祥 Data difference analysis method based on sliding window
US20110069751A1 (en) * 2009-09-23 2011-03-24 Texas Instruments Incorporated Method and Apparatus for Determination of Motion Estimation Search Window Area Utilizing Adaptive Sliding Window Algorithm
CN102663720A (en) * 2012-03-31 2012-09-12 哈尔滨工业大学 Image splicing method based on minimum mean square error criterion
US20180018534A1 (en) * 2016-07-14 2018-01-18 Xerox Corporation Method and apparatus for detecting foreground windows
CN110210346A (en) * 2019-05-21 2019-09-06 西安电子科技大学 A kind of optimization method that video template matching is handled in real time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546320A (en) * 2008-03-27 2009-09-30 林兆祥 Data difference analysis method based on sliding window
US20110069751A1 (en) * 2009-09-23 2011-03-24 Texas Instruments Incorporated Method and Apparatus for Determination of Motion Estimation Search Window Area Utilizing Adaptive Sliding Window Algorithm
CN102663720A (en) * 2012-03-31 2012-09-12 哈尔滨工业大学 Image splicing method based on minimum mean square error criterion
US20180018534A1 (en) * 2016-07-14 2018-01-18 Xerox Corporation Method and apparatus for detecting foreground windows
CN110210346A (en) * 2019-05-21 2019-09-06 西安电子科技大学 A kind of optimization method that video template matching is handled in real time

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小白学视觉: "【从零学习OpenCV 4】图像模板匹配", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/101374450》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112435283A (en) * 2020-11-04 2021-03-02 浙江大华技术股份有限公司 Image registration method, electronic device and computer-readable storage medium
CN113744133A (en) * 2021-09-13 2021-12-03 烟台艾睿光电科技有限公司 Image splicing method, device and equipment and computer readable storage medium
CN114419115A (en) * 2021-12-07 2022-04-29 高德软件有限公司 Image feature matching method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110580723B (en) Method for carrying out accurate positioning by utilizing deep learning and computer vision
CN108470356B (en) A fast ranging method for target objects based on binocular vision
CN104484648B (en) Robot variable viewing angle obstacle detection method based on contour recognition
CN106408609B (en) A kind of parallel institution end movement position and posture detection method based on binocular vision
US9787960B2 (en) Image processing apparatus, image processing system, image processing method, and computer program
CN105261022B (en) PCB board matching method and device based on outer contour
CN110146030A (en) Slope Surface Deformation Monitoring System and Method Based on Checkerboard Marking Method
CN111598177A (en) An Adaptive Maximum Sliding Window Matching Method for Low Overlap Image Matching
CN111523547B (en) 3D semantic segmentation method and terminal
CN113393524B (en) Target pose estimation method combining deep learning and contour point cloud reconstruction
CN111046843A (en) A monocular ranging method in intelligent driving environment
CN110223355A (en) A kind of feature mark poiX matching process based on dual epipolar-line constraint
CN113706635B (en) Long-focus camera calibration method based on point feature and line feature fusion
WO2022257794A1 (en) Method and apparatus for processing visible light image and infrared image
CN110533686A (en) Line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system
CN111667429A (en) Target positioning and correcting method for inspection robot
CN117237424A (en) Registering method, feature matching method and equipment for infrared and visible light images
CN115330684A (en) Underwater structure apparent defect detection method based on binocular vision and line structured light
CN112116665B (en) A structured light sensor calibration method
US20240242318A1 (en) Face deformation compensating method for face depth image, imaging device, and storage medium
CN105184736B (en) A kind of method of the image registration of narrow overlapping double-view field hyperspectral imager
CN113642397B (en) Object length measurement method based on mobile phone video
CN107038710B (en) A Visual Tracking Algorithm Targeting Paper
JP4101478B2 (en) Human body end point detection method and apparatus
CN112598736A (en) Map construction based visual positioning method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200828

RJ01 Rejection of invention patent application after publication