[go: up one dir, main page]

CN109087250B - Image stitching method based on regular boundary constraints - Google Patents

Image stitching method based on regular boundary constraints Download PDF

Info

Publication number
CN109087250B
CN109087250B CN201810991548.5A CN201810991548A CN109087250B CN 109087250 B CN109087250 B CN 109087250B CN 201810991548 A CN201810991548 A CN 201810991548A CN 109087250 B CN109087250 B CN 109087250B
Authority
CN
China
Prior art keywords
boundary
constraints
image
regular
stitching
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
CN201810991548.5A
Other languages
Chinese (zh)
Other versions
CN109087250A (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.)
Zhejiang University of Media and Communications
Original Assignee
Zhejiang University of Media and Communications
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 Zhejiang University of Media and Communications filed Critical Zhejiang University of Media and Communications
Priority to CN201810991548.5A priority Critical patent/CN109087250B/en
Publication of CN109087250A publication Critical patent/CN109087250A/en
Application granted granted Critical
Publication of CN109087250B publication Critical patent/CN109087250B/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
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an image splicing method based on regular boundary constraint, which comprises the following steps: s1, performing initial splicing on the images; s2, extracting irregular boundaries of the panorama; s3 is established based on the rule boundary of the segment rectangle; s4 image stitching based on the segmented rectangular boundary constraint. The method defines a rule boundary according to the content and the shape characteristics of the panoramic image and realizes image splicing based on the rule boundary through global energy optimization.

Description

基于规则边界约束的图像拼接方法Image stitching method based on regular boundary constraints

技术领域technical field

本发明属于图像处理技术领域,具体涉及一种基于规则边界约束的图像拼接方法。The invention belongs to the technical field of image processing, and in particular relates to an image stitching method based on regular boundary constraints.

背景技术Background technique

随着图像获取和编辑处理技术的快速发展,全景图像已经在智能手机等便携式移动设备中得到了广泛应用,其更加宽广的视角给用户带来了更好的视觉体验。现有技术中存在的图像拼接的边界不规则问题(不规则的边界)使得全景图像在实现展示过程中需要大量切割,进而容易丢失部分图像信息。With the rapid development of image acquisition and editing processing technologies, panoramic images have been widely used in portable mobile devices such as smartphones, and their wider viewing angles bring better visual experience to users. The problem of irregular borders (irregular borders) in image stitching in the prior art makes the panoramic image need to be cut a lot during the display process, and thus part of the image information is easily lost.

虽然当前图像编辑技术已经取得了大量进展且在智能设备中广泛应用,然而,由于手机等移动终端的相机在拍摄过程中会发生自由移动,经过特征配准后的全景图像大多存在不规则边界,为了在普通显示设备中展示全景图,通常需要对其进行切割。一般说来,手机相机拍摄得到的全景图是经矩形窗口切割后得到的结果,此时其已经丢失了部分图像信息,从而降低了全景图的宽广视角体验。Although the current image editing technology has made a lot of progress and is widely used in smart devices, however, due to the free movement of the camera of mobile terminals such as mobile phones during the shooting process, most of the panoramic images after feature registration have irregular boundaries. In order to display the panorama in a common display device, it usually needs to be cut. Generally speaking, the panorama captured by the mobile phone camera is the result obtained after being cut by a rectangular window. At this time, part of the image information has been lost, thus reducing the wide viewing angle experience of the panorama.

为了生成具有规则边界的全景图,并避免因切割带来的图像内容缺失,当前主要有两种解决方法方面的研究:In order to generate a panorama with regular boundaries and avoid the loss of image content caused by cutting, there are currently two main research methods:

(1)图像内容补全方法。该方法首先获取全景图的外接矩形边界,然后补全矩形边界和不规则边界之间的图像内容。然而,图像补全方法的性能不稳定,难以高质量地补全具有一定语义的内容。(1) Image content completion method. The method first obtains the bounding rectangle of the panorama, and then complements the image content between the rectangular and irregular boundaries. However, the performance of image completion methods is unstable, and it is difficult to complete content with certain semantics with high quality.

(2)Kaiming He等人于2013年提出了基于变形的全景图像矩形化方法。该方法以边界不规则的全景图为输入,将外接矩形作为边界约束,结合局部形状和直线保持约束,通过基于变形的优化得到边界为矩形的全景图。(2) Kaiming He et al. proposed a deformation-based panorama image rectangularization method in 2013. The method takes the panorama with irregular boundary as input, takes the circumscribed rectangle as the boundary constraint, combines the local shape and line preservation constraints, and obtains the panorama with the rectangular boundary through deformation-based optimization.

以上两种方法虽然能够改善全景图不规则边界的问题,但仍然存在以下问题:Although the above two methods can improve the problem of the irregular boundary of the panorama, there are still the following problems:

1)将图像拼接和边界规则化作为两个独立的过程,难以保证结果的最优。1) Taking image stitching and boundary regularization as two independent processes, it is difficult to guarantee the optimal results.

2)不规则全景图上的网格存在边界的空洞问题。2) The grid on the irregular panorama has the problem of voids in the boundary.

3)当全景图存在大量内容缺失时,变形优化后的结果存在较大的畸变,和特征的错误对应。3) When there is a large amount of missing content in the panorama, the result after deformation optimization has a large distortion, which corresponds to the error of the feature.

因此,当不规则边界和外接矩形之间的空隙较大时,需要重新定义规则边界约束,在保证边界规则的同时,减少变形带来的畸变。Therefore, when the gap between the irregular boundary and the circumscribed rectangle is large, it is necessary to redefine the regular boundary constraint to reduce the distortion caused by the deformation while ensuring the boundary regularity.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题是提供一种基于规则边界约束的图像拼接方法,该方法根据全景图的内容和形状特征定义规则边界,通过全局能量优化实现图像拼接和边界规则化。The technical problem to be solved by the present invention is to provide an image stitching method based on regular boundary constraints, which defines regular boundaries according to the content and shape features of the panorama, and realizes image stitching and boundary regularization through global energy optimization.

为解决上述技术问题,本发明采用如下技术方案:In order to solve the above-mentioned technical problems, the present invention adopts the following technical solutions:

一种基于规则边界约束的图像拼接方法,所述图像拼接方法包括:An image stitching method based on regular boundary constraints, the image stitching method comprising:

S1,以多个包含部分重叠的图像为输入,建立以图像间的特征对应、局部网格形状保持、全局相似性保持为约束的能量优化,通过网格变形得到图像的初始拼接结果;S1, using multiple partially overlapping images as input, establish energy optimization constrained by feature correspondence between images, local grid shape preservation, and global similarity preservation, and obtain the initial image stitching result through grid deformation;

S2,以图像初始拼接的网格顶点为输入,提取变形后多个图像网格的边界,并构造成多边形,通过多边形布尔运算的并集操作得到多个图像网格的不规则边界,该边界由部分网格顶点和网格间的交点组成;S2, take the mesh vertices of the initial image splicing as input, extract the boundaries of multiple image meshes after deformation, and construct them into polygons, and obtain the irregular boundaries of multiple image meshes through the union operation of polygon Boolean operations. It consists of some mesh vertices and intersections between meshes;

S3,以不规则边界为输入,根据不规则边界的上网格交点和顶点对边界进行分段,根据分段后边界的方向和顶点数目进行相邻边界聚类,将聚类后各段边界顶点的坐标均值作为全景图目标边界条件,从而生成分段矩形边界约束;S3, take the irregular boundary as the input, segment the boundary according to the upper grid intersection and vertices of the irregular boundary, perform adjacent boundary clustering according to the direction of the segmented boundary and the number of vertices, and classify the boundary vertices of each segment after the clustering. The coordinate mean of the panorama is used as the target boundary condition of the panorama, thereby generating a segmented rectangle boundary constraint;

S4,根据步骤S2和步骤S3的不规则边界和分段边界约束条件,按照以下方式实现全景图无缝拼接和规则边界保持:将图像初始化拼接约束、规则边界约束、以及直线保持约束进行线性组合,然后求解能量优化并通过变形得到全景图拼接结果。S4, according to the irregular boundary and segmental boundary constraints of step S2 and step S3, realize seamless panorama stitching and regular boundary preservation in the following manner: linearly combine image initialization stitching constraints, regular boundary constraints, and straight line preservation constraints , then solve the energy optimization and obtain the panorama stitching result through deformation.

一优选实施例中,步骤S4包括:将图像初始化拼接约束、规则边界约束,以及直线保持约束按照公式In a preferred embodiment, step S4 includes: initializing the image splicing constraints, regular boundary constraints, and line retention constraints according to the formula

E(v)=wa(Ea)+ws(Es)+wg(Eg)+wr(Er)+wl(El)E(v)=w a (E a )+w s (E s )+w g (E g )+w r (E r )+w l (E l )

进行线性组合,求解能量优化并通过变形得到全景图拼接结果。Perform linear combination, solve energy optimization and obtain panorama stitching results through deformation.

一优选实施例中,步骤S4还包括:通过迭代的方式优化分段边界,并以此为约束求解新的变形网格,得到边界更加规则的全景图,以使分段规则边界接近矩形并避免畸变。In a preferred embodiment, step S4 further includes: optimizing the segment boundary in an iterative manner, and solving a new deformed mesh based on this constraint to obtain a panorama with a more regular boundary, so that the segment regular boundary is close to a rectangle and avoids distortion.

采用本发明具有如下的有益效果:Adopting the present invention has the following beneficial effects:

1、本发明所述的基于规则边界约束的图像拼接方法能够生成高质量的全景图,在边界规则化的同时,保证视觉可接受的畸变。1. The image stitching method based on regular boundary constraints described in the present invention can generate high-quality panoramic images, and ensure visually acceptable distortion while regularizing the boundaries.

2、本发明所述的基于规则边界约束的图像拼接方法具有高效性和实用性,能够快速计算并渲染出全景图,有效地保证全景拍摄结果的内容完整性和边界规则性。2. The image stitching method based on regular boundary constraints according to the present invention has high efficiency and practicability, can quickly calculate and render a panoramic image, and effectively ensure the content integrity and boundary regularity of the panoramic shooting result.

3、本发明所述的基于规则边界约束的图像拼接方法提出了在图像拼接的优化框架中加入规则边界约束,通过全局优化实现基于规则边界的图像拼接,从而解决了下述问题:当不规则边界和外接矩形之间的空隙较大,能够通过定义合理的分段矩形边界,最大程度地保证全景拼接的内容完整性,并能够有效控制变形带来的畸变。3. The image stitching method based on regular boundary constraints of the present invention proposes to add regular boundary constraints to the optimization framework of image stitching, and realize image stitching based on regular boundaries through global optimization, thereby solving the following problems: when irregular The gap between the boundary and the circumscribed rectangle is large. By defining a reasonable segmented rectangle boundary, the content integrity of the panoramic stitching can be guaranteed to the greatest extent, and the distortion caused by the deformation can be effectively controlled.

附图说明Description of drawings

图1为本发明实施例一种基于规则边界约束的图像拼接方法的处理流程示意图;1 is a schematic diagram of a processing flow of an image stitching method based on rule boundary constraints according to an embodiment of the present invention;

图2为基于图1所示处理方法的图像拼接系统。FIG. 2 is an image stitching system based on the processing method shown in FIG. 1 .

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参照图1,本发明公开了一种基于规则边界约束的图像拼接方法,图1示出了本发明图像拼接方法一实施例的处理流程示意图,该方法包括:Referring to Fig. 1, the present invention discloses an image stitching method based on regular boundary constraints. Fig. 1 shows a schematic processing flow diagram of an embodiment of the image stitching method of the present invention, and the method includes:

S1,图像的初始化拼接S1, initial stitching of images

以多个部分重叠的图像为输入,建立以图像间的特征对应{Ea}、局部网格形状保持{Es}、全局相似性保持{Eg}为约束的能量优化,通过网格变形生成图像的初始拼接结果,其中:Taking multiple partially overlapping images as input, establish an energy optimization constrained by the feature correspondence between images {E a }, local grid shape preservation {E s }, and global similarity preservation {E g }. Generate the initial stitching result of the image, where:

1)特征点对应采用Zaragoza等人于2014年提出的APAP方法实现特征点的准确对应。1) Feature point correspondence The APAP method proposed by Zaragoza et al. in 2014 is used to achieve accurate correspondence of feature points.

2)通过约束每个网格的形变实现局部形状保持,即将每个四边网格分割成两个三角形,利用Igarashi等人于2009年提出的方法实现每个直角三角形的形状特征保持。2) Local shape preservation is achieved by constraining the deformation of each mesh, that is, dividing each quadrilateral mesh into two triangles, and using the method proposed by Igarashi et al. in 2009 to achieve the shape feature preservation of each right triangle.

3)全局特征保持采用Chen等人于2016年提出的方法,通过保持拼接图像的尺度和旋转一致性,实现全局相似性变换。3) Global feature preservation The method proposed by Chen et al. in 2016 is adopted to achieve global similarity transformation by maintaining the scale and rotation consistency of the stitched images.

S2,全景图不规则边界的提取S2, Extraction of Irregular Boundaries of Panorama

根据S1以图像的初始拼接的网格为输入,提取各网格的边界,并将其构造成对应的多边形,然后对多个多边形进行布尔的并集运算,从而得到全景图的不规则边界。此时,该边界上包含了部分网格顶点和网格之间的交点。进一步地,提取出不规则边界中包含的网格角点(即网格的上、下、左、右4个角点),并将其中距离不规则边界的外接矩形四个顶点最近的角点作为不规则边界的角点,此时提取出的角点将不规则边界上的顶点划分为4个方向。According to S1, the initial spliced grid of the image is used as the input, and the boundaries of each grid are extracted and constructed into corresponding polygons, and then the Boolean union operation is performed on multiple polygons to obtain the irregular boundaries of the panorama. At this point, the boundary contains some mesh vertices and intersections between meshes. Further, the corner points of the grid contained in the irregular boundary (that is, the four corner points of the upper, lower, left, and right of the grid) are extracted, and the corner points that are closest to the four vertices of the circumscribed rectangle of the irregular boundary are determined. As the corner points of the irregular boundary, the corner points extracted at this time divide the vertices on the irregular boundary into four directions.

S3,基于分段矩形的规则边界建立S3, regular boundary establishment based on segmented rectangles

根据不规则边界每个方向上的网格交点和角点对边界进行分段。然后,进一步地,根据各分段边界的长度和方向进行分段边界聚类分析,将同类或过短的分段边界进行合并,最终将聚类后各分段边界的坐标平均值作为目标边界值。对于边界上的网格交点,首先提取出形成该交点的两对网格顶点,并利用其线性插值表示该交点,最后将交点的边界约束转化为对插值网格顶点的约束。The boundary is segmented based on mesh intersections and corners in each direction of the irregular boundary. Then, further, according to the length and direction of each segment boundary, segment boundary clustering analysis is performed, the same or too short segment boundaries are merged, and finally the average coordinate value of each segment boundary after clustering is used as the target boundary. value. For the mesh intersection on the boundary, firstly extract the two pairs of mesh vertices that form the intersection, and use their linear interpolation to represent the intersection, and finally transform the boundary constraints of the intersection into constraints on the interpolated mesh vertices.

S4,基于分段矩形边界约束的图像拼接S4, Image Stitching Based on Piecewise Rectangle Boundary Constraints

根据步骤S2和步骤S3的不规则边界和分段边界约束条件,按照以下方式实现全景图的无缝拼接和规则边界保持,根据S3的不规则边界约束,结合S1的初始图像拼接约束,建立全局能量优化实现基于分段矩形边界约束的图像拼接,其能量约束包括特征一致对应{Ea}、局部形状保持{Es}、全局相似性保持{Eg}、直线保持{El}、规则边界{Er},将以上能量按照下述公式进行线性组合,得到总的能量方程E(v),通过最小化E(v)得到变形后的网格,其中,一具体实施例中,各能量项的权值分别为wa=1.5,ws=10,wg=0.75,wr=1000,wl=15。最后,根据变形后的网格位置进行纹理映射,得到图像拼接的结果,并通过无缝融合进一步消除拼接处的缝。According to the irregular boundary and segmental boundary constraints of steps S2 and S3, the seamless stitching of the panorama and the maintenance of the regular boundary are realized in the following manner. According to the irregular boundary constraints of S3, combined with the initial image stitching constraints of S1, a global image is established. Energy optimization realizes image stitching based on segmented rectangular boundary constraints. The energy constraints include feature consistent correspondence {E a }, local shape preservation {E s }, global similarity preservation {E g }, line preservation {E l }, rules Boundary {E r }, the above energy is linearly combined according to the following formula to obtain the total energy equation E(v), and the deformed grid is obtained by minimizing E(v), wherein, in a specific embodiment, each The weights of the energy terms are w a =1.5, ws =10, w g = 0.75, wr =1000, w l =15. Finally, texture mapping is performed according to the deformed grid position to obtain the result of image stitching, and the seams at the stitching are further eliminated through seamless fusion.

公式为:The formula is:

E(v)=wa(Ea)+ws(Es)+wg(Eg)+wr(Er)+wl(El)E(v)=w a (E a )+w s (E s )+w g (E g )+w r (E r )+w l (E l )

一实施例中,为了让分段规则边界尽可能接近矩形并避免不必要的畸变,通过迭代的方式,不断优化分段边界,并以此为约束求解新的变形网格,进而得到边界更加规则的全景图。每次迭代过程中,首先遍历每个方向上相邻的分段边界,将合并相邻边界后的图像拼接能量代价E(v)最小的变形网格作为本次迭代的结果。若相邻两次迭代的能量代价差别过大或没有可供合并的分段边界,则迭代结束。In an embodiment, in order to make the segmented regular boundary as close to a rectangle as possible and avoid unnecessary distortion, the segmented boundary is continuously optimized in an iterative manner, and a new deformed mesh is solved based on this constraint, so as to obtain a more regular boundary panorama. In each iteration process, the adjacent segment boundaries in each direction are first traversed, and the deformed mesh with the smallest energy cost E(v) after merging the adjacent boundaries is used as the result of this iteration. If the energy cost difference between two adjacent iterations is too large or there is no segment boundary for merging, the iteration ends.

参见图2,本发明的基于规则边界约束的图像拼接方法能够有效解决传统拼接方法的边界不规则问题,通过基于迭代优化的方法,能够得到最优的分段矩形边界,从而有效提升全景拼接的视觉效果。Referring to FIG. 2 , the image stitching method based on regular boundary constraints of the present invention can effectively solve the boundary irregularity problem of the traditional stitching method. Through the method based on iterative optimization, the optimal segmented rectangular boundary can be obtained, thereby effectively improving the performance of panoramic stitching. Visual effects.

本发明能够将用户使用手持移动设备通过移动拍摄的图像进行高质量拼接,并通过规则边界约束保证全景图边界的规范性,从而有效避免由于切割产生的图像内容丢失。本发明能够应用于基于变形的图像与视频编辑,例如视频拼接、视频去抖等操作。The present invention can perform high-quality splicing of images captured by a user using a handheld mobile device by moving, and ensure the normativeness of the panorama boundary through regular boundary constraints, thereby effectively avoiding the loss of image content due to cutting. The present invention can be applied to deformation-based image and video editing, such as video splicing, video de-shake and other operations.

应当理解,本文所述的示例性实施例是说明性的而非限制性的。尽管结合附图描述了本发明的一个或多个实施例,本领域普通技术人员应当理解,在不脱离通过所附权利要求所限定的本发明的精神和范围的情况下,可以做出各种形式和细节的改变。It should be understood that the exemplary embodiments described herein are illustrative and not restrictive. Although one or more embodiments of the invention have been described in conjunction with the accompanying drawings, those of ordinary skill in the art will appreciate that various changes can be made without departing from the spirit and scope of the invention as defined by the appended claims. Changes in form and detail.

Claims (3)

1.一种基于规则边界约束的图像拼接方法,其特征在于,所述图像拼接方法包括:1. an image splicing method based on regular boundary constraints, is characterized in that, described image splicing method comprises: S1,以多个包含部分重叠的图像为输入,建立以图像间的特征对应、局部网格形状保S1, take multiple images containing partial overlap as input, establish feature correspondence between images, local grid shape preservation 持、全局相似性保持为约束的能量优化,通过网格变形得到图像的初始拼接结果;Constrained energy optimization, the global similarity is maintained as the constraint, and the initial stitching result of the image is obtained through mesh deformation; S2,以图像初始拼接的网格顶点为输入,提取变形后多个图像网格的边界,并构造成多S2, taking the mesh vertices of the initial image stitching as input, extracting the boundaries of multiple image meshes after deformation, and constructing them into multiple meshes. 边形,通过多边形布尔运算的并集操作得到多个图像网格的不规则边界,该边界由部分网Edge, the irregular boundary of multiple image meshes obtained by the union operation of polygon Boolean operations, the boundary is composed of partial meshes 格顶点和网格间的交点组成;It consists of grid vertices and intersections between grids; S3,以不规则边界为输入,根据不规则边界上的网格交点和顶点对边界进行分段,根据S3, take the irregular boundary as input, segment the boundary according to the mesh intersections and vertices on the irregular boundary, according to 分段后边界的方向和长度进行相邻边界聚类,将聚类后各段边界顶点的坐标均值作为The direction and length of the boundary after segmentation are used to cluster adjacent boundaries, and the mean coordinates of the boundary vertices of each segment after clustering are used as 全景图目标边界条件,从而生成分段矩形边界约束;Panorama target boundary conditions, resulting in segmented rectangle boundary constraints; S4,根据步骤S2和步骤S3的不规则边界和分段边界约束条件,按照以下方式实现全景S4, according to the irregular boundary and segmental boundary constraints of step S2 and step S3, the panorama is realized in the following manner 图无缝拼接和规则边界保持:将图像初始化拼接约束、规则边界约束、以及直线保持约束进Graph seamless stitching and regular boundary preservation: integrate image initialization stitching constraints, regular boundary constraints, and line preservation constraints into 行线性组合,然后求解能量优化并通过变形得到全景图拼接结果。Line linear combination, then solve the energy optimization and obtain the panorama stitching result through deformation. 2.如权利要求1所述的基于规则边界约束的图像拼接方法,其特征在于,步骤S4包括:2. the image stitching method based on regular boundary constraints as claimed in claim 1, is characterized in that, step S4 comprises: 将图像初始化拼接约束、规则边界约束,以及直线保持约束按照公式Initialize the image stitching constraints, regular boundary constraints, and line retention constraints according to the formula E(v)=wa(Ea)+ws(Es)+wg(Eg)+wr(Er)+wl(El)E(v)=wa(Ea)+ws(Es)+wg(Eg)+wr(Er)+wl(E l ) 进行线性组合,求解能量优化并通过变形得到全景图拼接结果;Perform linear combination, solve energy optimization and obtain panorama stitching results through deformation; 其中E(v)表示总能量,Ea表示特征一致对应能量,Es表示局部形状保持能量,Eg表示全局相似性保持能量,Er表示规则边界能量,El表示直线保持能量,各能量项的权值分别为wa=1.5,ws=10,wg=0.75,wr=1000,wl=15。where E(v) represents the total energy, Ea represents the corresponding energy of feature consistency, Es represents the local shape preservation energy, Eg represents the global similarity preservation energy, Er represents the regular boundary energy, El represents the line preservation energy, and the weights of each energy term are respectively is wa=1.5, ws=10, wg=0.75, wr=1000, wl=15. 3.如权利要求2所述的基于规则边界约束的图像拼接方法,其特征在于,步骤S4还包括:通过迭代的方式优化分段边界,并以此为约束求解新的变形网格,得到边界更加规则的3. the image stitching method based on regular boundary constraints as claimed in claim 2, is characterized in that, step S4 also comprises: optimize segmental boundary by iterative mode, and take this as constraint to solve new deformed grid, obtain boundary more regular 全景图,以使分段规则边界接近矩形并避免畸变。Panorama to make segmented regular boundaries close to rectangles and avoid distortion.
CN201810991548.5A 2018-08-29 2018-08-29 Image stitching method based on regular boundary constraints Active CN109087250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810991548.5A CN109087250B (en) 2018-08-29 2018-08-29 Image stitching method based on regular boundary constraints

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810991548.5A CN109087250B (en) 2018-08-29 2018-08-29 Image stitching method based on regular boundary constraints

Publications (2)

Publication Number Publication Date
CN109087250A CN109087250A (en) 2018-12-25
CN109087250B true CN109087250B (en) 2022-05-24

Family

ID=64795084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810991548.5A Active CN109087250B (en) 2018-08-29 2018-08-29 Image stitching method based on regular boundary constraints

Country Status (1)

Country Link
CN (1) CN109087250B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243108A (en) * 2020-01-19 2020-06-05 浙江传媒学院 Three-dimensional image splicing method with maintained rectangular boundary
CN114189697B (en) * 2021-12-03 2022-10-14 腾讯科技(深圳)有限公司 Video data processing method and device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426455B1 (en) * 1999-09-13 2008-09-16 Science Applications International Corporation Optimal boolean set operation generation among polygon-represented regions
CN106611421A (en) * 2016-12-30 2017-05-03 西安电子科技大学 SAR image segmentation method based on feature learning and sketch line constraint
WO2017124868A1 (en) * 2016-01-20 2017-07-27 北京疯景科技有限公司 Method and apparatus for acquiring panorama image
CN107240067A (en) * 2017-05-11 2017-10-10 同济大学 A kind of sequence image method for automatically split-jointing based on three-dimensional reconstruction
CN107274337A (en) * 2017-06-20 2017-10-20 长沙全度影像科技有限公司 A kind of image split-joint method based on improvement light stream
CN107869955A (en) * 2017-10-24 2018-04-03 华朗三维技术(深圳)有限公司 A kind of laser 3 d scanner system and application method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7426455B1 (en) * 1999-09-13 2008-09-16 Science Applications International Corporation Optimal boolean set operation generation among polygon-represented regions
WO2017124868A1 (en) * 2016-01-20 2017-07-27 北京疯景科技有限公司 Method and apparatus for acquiring panorama image
CN106611421A (en) * 2016-12-30 2017-05-03 西安电子科技大学 SAR image segmentation method based on feature learning and sketch line constraint
CN107240067A (en) * 2017-05-11 2017-10-10 同济大学 A kind of sequence image method for automatically split-jointing based on three-dimensional reconstruction
CN107274337A (en) * 2017-06-20 2017-10-20 长沙全度影像科技有限公司 A kind of image split-joint method based on improvement light stream
CN107869955A (en) * 2017-10-24 2018-04-03 华朗三维技术(深圳)有限公司 A kind of laser 3 d scanner system and application method

Also Published As

Publication number Publication date
CN109087250A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN110390640B (en) Template-based Poisson fusion image splicing method, system, equipment and medium
Du et al. Geometric structure preserving warp for natural image stitching
CN110049351A (en) Method and apparatus for human face deformation in video stream, electronic device, computer readable medium
Wei et al. Fisheye video correction
Zhang et al. Content-preserving image stitching with piecewise rectangular boundary constraints
WO2016110239A1 (en) Image processing method and device
CN107851321B (en) Image processing method and dual camera system
CN107734268A (en) A kind of structure-preserved wide baseline video joining method
US20220012529A1 (en) Map Display Method And Apparatus
CN111275824A (en) Surface reconstruction for interactive augmented reality
CN104902201B (en) Based on moving view point with abnormity screen projection as real-time correction method
CN109087250B (en) Image stitching method based on regular boundary constraints
CN108320334A (en) The method for building up of three-dimensional scenic roaming system based on cloud
WO2024098685A1 (en) Face driving method and apparatus for virtual character, and terminal device and readable storage medium
CN111652807A (en) Eye adjustment method, eye live broadcast method, eye adjustment device, eye live broadcast device, electronic equipment and storage medium
US20180150720A1 (en) Locating features in warped images
WO2024002064A1 (en) Method and apparatus for constructing three-dimensional model, and electronic device and storage medium
CN110910308A (en) Image processing method, apparatus, device and medium
CN116485944A (en) Image processing method and device, computer-readable storage medium, and electronic device
CN111652791A (en) Face replacement display method, face replacement display device, live broadcast method, live broadcast device, electronic equipment and storage medium
CN112465692A (en) Image processing method, device, equipment and storage medium
CN114241378A (en) Method and device for generating transition video, electronic equipment and storage medium
CN111652025B (en) Face processing and live broadcasting method and device, electronic equipment and storage medium
CN115375740B (en) Pose determining method, three-dimensional model generating method, pose determining device, pose determining equipment and three-dimensional model generating medium
CN111652024A (en) Face display method, face live broadcast method, face display device, live broadcast device, electronic equipment and storage medium

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