A method for generating mosaic lines of remote sensing orthophotos

By constructing a constrained triangulation network in the intersecting areas of remote sensing images and using vector data for optimization, the problem of seam line network connection in large-scale image mosaic is solved, an efficient and accurate mosaic effect is achieved, and error accumulation and obstacle area crossing are avoided.

CN118135149BActive Publication Date: 2024-08-30BEIJING DATA INTELLIGENCE INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410572199.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-08-30
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively connect individual seam lines to form a seam line network in large-scale remote sensing image mosaics, resulting in areas that are not covered in the mosaic results, and the algorithm is not disclosed or has problems with error accumulation.

Method used

By constructing a constrained triangle network in the effective intersection area of ​​adjacent orthophotos, the image topology search problem is converted into a triangular polygon selection problem, and a primary mosaic line network is generated. Building and road vector data are used to optimize the mosaic line network to avoid Obstacle area.

Benefits of technology

It achieves high efficiency, flexibility and accuracy of large-scale orthophoto mosaic, avoids error accumulation, mosaic processing has nothing to do with image order, and the generated mosaic line network is unique, seamless and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118135149B
    Figure CN118135149B
Patent Text Reader

Abstract

The present invention proposes a method for generating mosaic lines of remote sensing orthophotos, which constructs a constrained triangulated network in the effective intersection areas of adjacent orthophotos one by one, converts the image topology search problem into a triangle polygon selection problem to generate a primary mosaic line network, and optimizes the primary mosaic lines through building vector data and road vector data to generate a high-level mosaic line network. The high-level mosaic line network generated by the present invention can effectively avoid areas such as buildings and roads, and can perform large-scale image mosaicking. The mosaicking result is independent of the processing order, and has flexibility and efficiency during mosaicking, avoiding the accumulation of errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of remote sensing image processing, and in particular relates to a method for generating remote sensing orthophoto mosaic lines. Background Art

[0002] Remote sensing image mosaicking is to stitch together multiple orthophotos with a certain overlapping area into an orthophoto of a larger range, and the automatic generation of seam lines is a key link in the mosaicking process of large-scale remote sensing images. Existing seam line generation methods mostly focus on two adjacent images, and do not consider how to connect individual seam lines to form a seam line network, and then form an effective mosaic polygon for each orthophoto, that is, the range of pixels in each orthophoto that contribute to the mosaic. For small-scale image mosaicking, this approach has little impact on the application, but for large-scale image mosaicking, such as hundreds or thousands of images in a region, the impact of processing efficiency and error accumulation on the application must be considered.

[0003] Therefore, a method to connect individual seamlines to form a seamline network and then form a valid mosaic polygon for each orthophoto is very necessary for a wide range of orthophoto mosaicking applications.

[0004] The conventional Voronoi diagram method is used in the prior art to generate seam lines, but it cannot guarantee that the generated seam lines are necessarily within the overlapping area of ​​adjacent orthophotos, which will result in areas not covered by the images in the mosaic result. Some scholars have also proposed a method to connect individual seam lines into valid mosaic polygons. This method requires the knowledge of the flight strip information in the area, and its applicability is subject to certain limitations. Mainstream commercial photogrammetry software all have orthophoto mosaic functions, and have proposed their own solutions for the generation of seam lines. Some of these systems do not consider how to connect the individual seam lines of each image to form a seam line network. Although other systems can generate seam line networks, their algorithms are not public, and seam lines may still be located in obstacle areas such as buildings and trees.

[0005] Therefore, how to automatically generate the mosaic line network required for mosaicking multiple orthophotos and effectively refine the mosaic line network so that the mosaic lines can avoid passing through obstacles such as buildings and trees has become one of the research hotspots in the fields of computer vision, photogrammetry and remote sensing. Summary of the invention

[0006] The present invention proposes a method for generating mosaic lines of remote sensing orthophotos, which constructs a constrained triangulated network in the effective intersection areas of adjacent orthophotos one by one, converts the problem of image topology search into a problem of triangle polygon selection to generate a primary mosaic line network, and optimizes the primary mosaic lines through building vector data and road vector data to generate an advanced mosaic line network. The advanced mosaic line network generated by the present invention can effectively avoid areas such as buildings and roads, and can perform large-scale orthophoto mosaicking. The mosaicking result is independent of the processing order, has flexibility and efficiency during the mosaicking process, and avoids the accumulation of errors. The method specifically includes the following steps:

[0007] S1. Using a tracking algorithm to sequentially obtain the effective area of ​​each orthophoto in an image set, and simplifying the effective area to obtain the effective convex polygon of each orthophoto; the image set includes multiple orthophotos, multiple original images and corresponding DEM data; wherein the multiple orthophotos constitute multiple pairs of adjacent orthophotos;

[0008] S2 identifies a first intersection region between valid convex polygons of a pair of adjacent orthophotos, wherein the first intersection region includes boundary point sets of different categories and boundary line sets of different categories; and constructs a constrained triangulated network in the first intersection region based on the boundary point sets and boundary line sets of different categories; the constrained triangulated network includes a plurality of triangular facets; wherein the boundary point sets of different categories constitute boundary line sets of different categories;

[0009] S3 extracts a target triangular face set by determining the boundary point set to which each vertex in each triangular face in the constrained triangulated network belongs; the target triangular face set includes a plurality of target triangular face sets; each target triangular face set is composed of a boundary line and two non-boundary lines;

[0010] S4: taking the midpoints of two non-boundary lines in each target triangle patch to obtain a midpoint point set; the midpoint point set includes a plurality of adjacent midpoints and two end midpoints; and sequentially connecting the adjacent midpoints in the midpoint point set in pairs, and connecting the two end midpoints to the nearest intersection points in the boundary point set in the first intersection area, respectively, to obtain a pair of primary mosaic lines of adjacent orthophotos;

[0011] S5 repeating steps S2 to S4, connecting all initial mosaic lines of adjacent orthophotos to form a primary mosaic line network;

[0012] S6 optimizes the primary tessellation line network based on the building vector data to obtain an intermediate tessellation line network; the intermediate tessellation network includes a plurality of intermediate tessellation lines;

[0013] S7 optimizes the intermediate tessellated line network based on the road vector data to obtain the advanced tessellated line network.

[0014] Specifically, the different categories of boundary point sets in step S2 include an upper boundary point set, a lower boundary line point set and an intersection point set; the different categories of boundary lines include an upper boundary line set, a lower boundary line set and a special boundary line set; two adjacent upper boundary points in the upper boundary point set constitute an upper boundary line; two adjacent lower boundary points in the lower boundary point set constitute a lower boundary line; multiple upper boundary lines constitute an upper boundary line set; multiple lower boundary lines constitute a lower boundary line set; and boundary lines containing intersection points are used as special boundary lines.

[0015] Specifically, the specific method for extracting the target triangular face set in step S3 is:

[0016] Determine the boundary point set category to which each vertex in each triangle in the constrained triangulated network belongs, eliminate triangles whose any vertex belongs to the intersection point set and whose vertices all belong to the same boundary point set category, and extract the target triangle set.

[0017] Specifically, step S6 further includes:

[0018] S61: acquiring an original building positioning model based on original building vector data corresponding to each original building in a plurality of orthophotos, and using the model to sequentially calculate a first area of ​​each original building in the corresponding orthophoto; the first area includes a plurality of edge points, recorded as a first edge point set;

[0019] S62: original buildings existing in the first area of ​​the multiple orthophoto images are selected to form a primary building set, and each target building in the primary building set is sequentially intersected in multiple first areas of the multiple orthophoto images to obtain a target intersection area of ​​each target building in the multiple orthophoto images; multiple edge points in the target intersection area are recorded as a second edge point set;

[0020] S63, taking each second edge point as the center, screening all original buildings within a preset threshold range, forming an intermediate building set {R1, R2, ..., Rn}, for each intermediate building in the intermediate building set, respectively calculating its first area on different orthophotos, forming a first area set of each intermediate building; taking a common intersection of all first areas in the first area set of each intermediate building, obtaining the second area of ​​each intermediate building in multiple orthophotos, and the second areas of all intermediate buildings in multiple orthophotos constitute a second area set {S1, S2, ..., Sn}; recording the corresponding relationship between Ri and Si, where i=1~n;

[0021] S64 In the second area set {S1, S2, ..., Sn}, the intersection of the second areas of all the intermediate buildings is judged, and the second intersecting areas that intersect with each other are merged to form a third area V1, and the second areas that do not intersect with each other are respectively used as other third areas to form a third area set {V1, V2, ..., Vm (m≤n)};

[0022] S65 extract all second edge points in the third region set {V1, V2, .. , Vq, .. , Vm} where the second edge points are concentrated to form a third edge point set {P1, P2, ... , Pj, .. , Pw}; sequentially search for high-level buildings {B1, B2, ... , Bk, .. , Bt (t ≤ n)} within a preset threshold range with each third edge point Pj in the third edge point set {P1, P2, ... , Pj, .. , Pw} as the center, and find the third region Vq corresponding to each high-level building Bk, where k = 1~t, q = 1~m, and j = 1~w;

[0023] S66 Calculate the minimum circumscribed rectangle Qj of the third area Vq corresponding to each high-level building Bk in turn, find a rectangular edge point Qjd with the shortest distance from the third edge point Pj, and obtain a rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd}; wherein d=1-4; use each rectangular edge point Qjd in the rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd} as the optimized position of the corresponding third edge point Pj in the third edge point set {P1, P2, ..., Pj.., Pw};

[0024] S67 sequentially connects adjacent rectangular edge points in the rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd}, and connects the rectangular edge points with the first edge points adjacent to them that do not belong to the third edge point set, to form a plurality of intermediate tessellation lines, and the plurality of intermediate tessellation lines constitute an intermediate tessellation line network.

[0025] Specifically, the preset threshold in step S63 or S65 is 50m.

[0026] Specifically, the road vector data in step S7 includes a plurality of road vector lines.

[0027] Specifically, step S7 further includes:

[0028] S71, based on the road vector data, in the intermediate tessellation line network, extracting the intermediate tessellation lines that intersect with a road vector line and have an angle less than 45° as the intermediate tessellation lines to be optimized, and obtaining the intermediate tessellation line set to be optimized; and at the same time, recording the two end points of each intermediate tessellation line to be optimized in the intermediate tessellation line set to be optimized as nodes to be optimized;

[0029] S72: based on two nodes to be optimized of each intermediate tessellation line to be optimized, vertical lines intersecting the road vector line are drawn, and two intersection points formed by the two vertical lines and the road vector line are used as two optimized nodes;

[0030] S73 two optimized intersection points are connected to form an optimized intermediate tessellation line;

[0031] S74 Repeat steps S72-S73 to obtain optimized intermediate tessellation lines corresponding to all intermediate tessellation lines to be optimized;

[0032] S75 replaces all the intermediate tessellation lines to be optimized with the corresponding optimized intermediate tessellation lines to obtain an advanced tessellation line network.

[0033] Specifically, in step S1, the eight-neighborhood boundary tracing algorithm is used to sequentially extract the effective area of ​​each orthophoto in the image set; and the Douglas-Peucker algorithm is used to simplify and thin out all the effective areas to obtain the effective convex polygons of each orthophoto.

[0034] Specifically, step S2 further includes:

[0035] S21 calculates a first intersection area between valid convex polygons of a pair of adjacent orthophotos using a polygon clipping algorithm;

[0036] S22: Search the first intersection area from left to right and from bottom to top to find the first valid pixel point as the first intersection point;

[0037] S23, based on the first intersection point, setting the search azimuth angle of the intersection point to 0°, and defining the initial search direction to be the upper left; searching for valid pixel points in sequence along the upper left of the first intersection area; when the search azimuth angle is less than 90°, the valid pixel points found are used as upper boundary points to form an upper boundary point set; when the search azimuth angle is ≥90° and less than 180°, the valid pixel points found are another intersection point; when the search azimuth angle is ≥180°, the valid pixel points found are used as lower boundary points to form a lower boundary point set;

[0038] S24: two adjacent upper boundary points in the upper boundary point set form an upper boundary line, and multiple upper boundary lines form an upper boundary line set; two adjacent lower boundary points in the lower boundary set form a lower boundary line, and multiple lower boundary lines form a lower boundary line set; one intersection point forms two special boundary lines with the most adjacent upper boundary point and the most adjacent lower boundary line, and another focus forms two special boundary lines with the most adjacent upper boundary point and the most adjacent lower boundary line;

[0039] S25 constructing a constrained triangulated network in the first intersection area based on the upper boundary point set, the lower boundary point set, the intersection point set, the upper boundary line set, the lower boundary line set and the special boundary line set of the first intersection area.

[0040] Specifically, the specific method for constructing a constrained triangulated network in step S25 is: taking the first intersection area between a pair of valid convex polygons of adjacent orthophoto images as a primary triangulated network; adding a constrained edge set to the primary triangulated network to obtain a constrained triangulated network; the constrained edge set includes multiple pairs of constrained edge pairs, each pair of constraint edge pairs includes two constraint edges and the two constraint edges intersect at an upper boundary point; each pair of constraint edges is formed by connecting an upper boundary point and two adjacent lower boundary points opposite to it in turn; the lower boundary line formed by connecting each pair of constraint edges and two adjacent lower boundary points constitutes a triangular face.

[0041] The beneficial effects of the present invention are:

[0042] (1) The method for generating orthophoto mosaic lines of the present invention sequentially constructs a constrained triangulated network in the intersection area between the effective areas of adjacent orthophotos, converts the image topology search problem into a triangle polygon selection problem, avoids directly performing local topology solving operations on the image, and the generated primary mosaic line network is the global optimal solution; this method of dividing the intersection area by constrained triangulated network is unique, non-redundant and seamless. It is suitable for mosaic processing of multiple orthophotos over a large range, has both the flexibility and efficiency of mosaic processing, avoids the accumulation of errors, and the mosaic processing is independent of the order of orthophotos;

[0043] (2) The present invention optimizes the primary mosaic network through building vector data. In the optimization algorithm process of the present invention, only points, lines and polygons are calculated, which has the advantages of small amount of calculation, higher accuracy and higher efficiency. The mosaic line network that bypasses the building area can be quickly obtained, which solves the problem that the mosaic line network cannot automatically bypass the building imaging area, causing texture dislocation and low selection efficiency;

[0044] (3) The present invention further optimizes the intermediate mosaic network through road vector data, so that the mosaic lines are more closely aligned with the road vector lines. The roads in the mosaicked orthophoto will appear more coherent and natural visually, without obvious breaks or dislocations, thereby improving the overall quality of the orthophoto mosaic. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 It is a technical flow chart of the method for generating mosaic lines of remote sensing orthophotos in the present invention;

[0047] Figure 2 It is a technical framework diagram of the method for generating primary mosaic lines of a pair of adjacent orthophotos in the present invention;

[0048] Figure 3 A schematic diagram of generating a primary tessellated wire network in the present invention;

[0049] Figure 4 A schematic diagram for calculating a first area of ​​a building in a corresponding orthophoto in the present invention;

[0050] Figure 5 It is a schematic diagram of the second building in the intersection area of ​​multiple orthophotos in the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0052] The present invention will be further described below in conjunction with the accompanying drawings:

[0053] Please refer to Figure 1 , Figure 1 The present invention is a technical flow chart of a method for generating mosaic lines of remote sensing orthophotos, which specifically includes the following steps:

[0054] S1 uses a tracking algorithm to sequentially obtain the effective area of ​​each orthophoto in an image set, and simplifies the effective area to obtain the effective convex polygon of each orthophoto; the image set includes multiple orthophotos, multiple original images and corresponding DEM data; wherein the multiple orthophotos constitute multiple pairs of adjacent orthophotos.

[0055] In an embodiment of the present invention, in step S1, an eight-neighborhood boundary tracing algorithm is used to sequentially extract valid areas of each orthophoto in the image set; and the Douglas-Peucker algorithm is used to simplify and thin out all valid areas to obtain valid convex polygons of each orthophoto.

[0056] In the embodiment of the present invention, an eight-neighborhood boundary tracking algorithm is used to extract effective areas for the eight neighborhoods of pixels in each orthophoto. For any orthophoto, the search method is to search in eight directions, namely, left, upper left, upper, upper right, right, lower right, lower, and lower left, of a pixel point, and the angle between adjacent search directions is 45 degrees. Each orthophoto is searched from left to right and from bottom to top to find the first effective pixel point, which is used as the initial upper boundary point, i.e., the upper left boundary point. Based on the initial upper boundary point, define the initial search direction as the upper left; along the upper left, search for valid pixel points in sequence; when the search azimuth is less than 90°, the valid pixel points found are used as the initial upper boundary point to form an initial upper boundary point set; when the search azimuth is ≥90° and less than 180°, the two valid pixel points found are used as two intersection points to form an initial intersection point; when the search azimuth is ≥180°, the valid pixel points found are used as the initial lower boundary point to form an initial lower boundary point set; until the initial upper boundary point is returned. All the initial upper boundary point sets, intersection points, and initial lower boundary point sets obtained by these searches are connected to form the valid area of ​​the orthophoto. Searching for boundary points is a common technique in this field and will not be described in detail.

[0057] Too many boundary points are not conducive to later operations such as polygon intersection. In order to reduce the computational complexity, the present invention uses the Douglas–Peuker algorithm to thin the initial upper boundary point set and the initial lower boundary point set. Since the boundary of the effective area of ​​the orthophoto is a closed convex polygon, a starting point and a boundary point farthest from it can be selected in the point set, and then the convex polygon can be split into two curve segments for thinning to obtain the effective convex polygon of the orthophoto.

[0058] S2 identifies a first intersection area between valid convex polygons of a pair of adjacent orthophotos, wherein the first intersection area includes boundary point sets of different categories and boundary line sets of different categories; and constructs a constrained triangulated network in the first intersection area based on the boundary point sets and boundary line sets of different categories; the constrained triangulated network includes a plurality of triangular facets; wherein boundary point sets of different categories constitute boundary line sets of different categories.

[0059] In an embodiment of the present invention, the different categories of boundary point sets in step S2 include an upper boundary point set, a lower boundary line point set and an intersection point set; the different categories of boundary lines include an upper boundary line set, a lower boundary line set and a special boundary line set; two adjacent upper boundary points in the upper boundary point set constitute an upper boundary line; two adjacent lower boundary points in the lower boundary point set constitute a lower boundary line; multiple upper boundary lines constitute an upper boundary line set; multiple lower boundary lines constitute a lower boundary line set; and a boundary line containing an intersection point is used as a special boundary line.

[0060] Please refer to Figure 2 and Figure 3 , Figure 2 It is a technical framework diagram of the method for generating primary mosaic lines of a pair of adjacent orthophotos in the present invention; Figure 3 Schematic diagram of generating a primary tessellated wire network in the present invention.

[0061] In an embodiment of the present invention, step S2 further comprises:

[0062] S21 uses a polygon clipping algorithm to calculate a first intersection area EFGHIJKMNOPQR between a pair of valid convex polygons of adjacent orthophotos;

[0063] S22 Search the first intersection area EFGHIJKMNOPQR from left to right and from bottom to top to find the first valid pixel point as the first intersection point E;

[0064] S23 Based on the first intersection point E, the search azimuth of the intersection point is set to 0°, and the initial search direction is defined as the upper left; along the upper left of the first intersection area, the valid pixel points are searched in sequence; when the search azimuth angle is less than 90°, the valid pixel points found are used as the upper boundary points to form an upper boundary point set, such as Figure 3 As shown, the upper boundary point set includes upper boundary points F, G, H, I, and J; when the search azimuth angle is ≥90° and <180°, the valid pixel point found is another intersection point K; when the search azimuth angle is ≥180°, the valid pixel point found is used as the lower boundary point to form the lower boundary point set; Figure 3 As shown, the lower boundary point set includes lower boundary points M, N, O, P, Q, and R.

[0065] S24 Two adjacent upper boundary points in the upper boundary point set form an upper boundary line, and multiple upper boundary lines form an upper boundary line set; two adjacent lower boundary points in the lower boundary set form a lower boundary line, and multiple lower boundary lines form a lower boundary line set; one intersection point forms two special boundary lines with the most adjacent upper boundary point and lower boundary line, and another focus forms two special boundary lines with the most adjacent upper boundary point and lower boundary line.

[0066] like Figure 3 As shown, the adjacent upper boundary points F and G constitute an upper boundary line FG, and the adjacent lower boundary points M and N constitute a lower boundary line MN; the upper boundary line set includes FG, GH, HI, IJ; the lower boundary line set includes lower MN, NO, OP, PQ, QR; special boundary lines include EF, ER, KM and KJ.

[0067] S25 constructing a constrained triangulated network in the first intersection area based on the upper boundary point set, the lower boundary point set, the intersection point set, the upper boundary line set, the lower boundary line set and the special boundary line set of the first intersection area.

[0068] In the embodiment of the present invention, the specific method of constructing the constrained triangulated network in step S25 is: taking the first intersection area EFGHIJKMNOPQR between the valid convex polygons of a pair of adjacent orthophotos as the primary triangulated network; adding a constrained edge set to the primary triangulated network to obtain a constrained triangulated network; Figure 3 As shown, the constraint edge set includes FR, FQ, GQ, GP, HP, HO, IO, IN, JN, and JM; the constraint edge set includes multiple pairs of constraint edge pairs, each pair of constraint edge pairs includes two constraint edges and the two constraint edges intersect at an upper boundary point; each pair of constraint edges is formed by connecting an upper boundary point and two adjacent lower boundary points opposite to it in sequence; the lower boundary line formed by connecting each pair of constraint edges and two adjacent lower boundary points constitutes a triangular face, such as Figure 3 The pair of constraint edges shown includes two constraint edges FR and FQ, and intersects at an upper boundary point F. FR and FQ are respectively formed by connecting the upper boundary point F and two adjacent lower boundary points Q and R. The two adjacent lower boundary points Q and R are connected to form a lower boundary line QR and a pair of constraint edges FR and FQ, forming a triangle patch FQR.

[0069] S3 determines the boundary point set category to which each vertex in each triangle in the constrained triangulated network belongs, removes triangles whose vertices belong to the intersection point set and whose vertices belong to the same boundary point set category, and extracts the target triangle set.

[0070] In an embodiment of the present invention, the specific method of extracting the target triangular face set in step S3 is:

[0071] Determine the boundary point set category to which each vertex in each triangle in the constrained triangulated network belongs, remove triangles whose vertices belong to the intersection category and whose vertices all belong to the same boundary point set category, and extract the target triangle set. Figure 3 As shown, the target triangle face set includes triangle faces FQR, GPQ, HOP, INO, and JMN.

[0072] S4 takes the midpoints of two non-boundary lines in each target triangle patch to obtain a midpoint point set; the midpoint point set includes multiple adjacent midpoints and two end midpoints; and sequentially connects the adjacent midpoints in the midpoint point set in pairs, and connects the two end midpoints to the nearest intersection points in the boundary point set in the first intersection area, respectively, to obtain a pair of primary mosaic lines of adjacent orthophotos.

[0073] S5 Repeat steps S2 to S4 to connect all initial mosaic lines of adjacent orthophotos to form a primary mosaic line network.

[0074] S6 Optimizing the primary tessellation line network based on the building vector data to obtain an intermediate tessellation line network; the intermediate tessellation network includes multiple intermediate tessellation lines.

[0075] In an embodiment of the present invention, step S6 further comprises:

[0076] S61 obtains an original building positioning model based on the original building vector data corresponding to each original building in the multiple orthophotos, and uses the model to sequentially calculate a first area of ​​each original building in the corresponding orthophoto; the first area includes multiple edge points, recorded as a first edge point set.

[0077] Please refer to Figure 4 , Figure 4 This is a schematic diagram of calculating the first area of ​​the original building in the orthophoto in the present invention; in an embodiment of the present invention, the method for obtaining the original building positioning model specifically includes:

[0078] (1) The original building vector data is combined with DEM to automatically generate the original building positioning model. Specifically, in the stage of photogrammetry stereo mapping, the original building vector lines are obtained by constructing a stereo model through stereo image pairs and then performing stereo mapping. They not only have two-dimensional XY coordinates, but also have elevation coordinates Z, which are three-dimensional descriptions of the original building. If the original building vector polygon is vertically projected downward onto the DEM corresponding to the original image, a simple three-dimensional model of the original building can be obtained. For example, ABCD is the original building vector polygon, and points A, B, C, and D are projected onto the DEM to obtain points a, b, c, and d respectively. Then ABCD-abcd is the original building positioning model. There are many storage models for three-dimensional models, such as parameter models, CAD models, CSG models, and polyhedron structure models. Among them, the polyhedron structure model uses the topological relationship between single or multiple connected facets to construct the geometric structure of the entire original building, and then combines the vertical walls to obtain a complete three-dimensional model of the original building. These facets constituting the original building usually form a triangulated network in the form of triangular facets to represent the entire original building. Therefore, in the present invention, the obtained original building positioning model is stored in the form of a polyhedron structure model.

[0079] (2) Using the original building positioning model, calculate the first area of ​​each original building on the original image. The specific method is as follows:

[0080] ① Project all the triangular facets of the original building positioning model onto the image to obtain all the triangular facets on the original image;

[0081] ② Calculate the union of all triangular facets on the original image to obtain the first area of ​​the original building in the corresponding original image;

[0082] The union of all triangular facets on the original image is calculated to obtain the first area of ​​the original building on the original image. Point O in the figure is the photography center. The cuboid ABCD-abcd is assumed to be the original building positioning model. All its triangular facets are projected onto the original image according to formula (1). Then the union is calculated to obtain the first area A'B'C'cba of the original building on the original image (each endpoint in the first area is expressed in image coordinates).

[0083] (1)

[0084] In formula (1), (X, Y, Z) is the object coordinate of the point, (x, y) is the image coordinate of the point in the image plane coordinate system, (X S ,Y S ,Z S ) is the object coordinate of the photography center, f is the focal length of the camera, and a1, a2, a3, b1, b2, b3, c1, c2, c3 are the 9 rotation parameters of the photogrammetry rotation matrix.

[0085] ③ Based on DEM iterative approximation solution, the first area of ​​the original building on the corresponding orthophoto image is obtained from the first area on the original image; each corner point of the polygon A'B'C'cba on the original image is solved according to formula (2) based on DEM iterative approximation solution to obtain the corresponding area of ​​the polygon on the orthophoto image, that is, the first area A''B''C''D''c''b''a'' of the building on the corresponding orthophoto image.

[0086] (2)

[0087] In formula (2), (X, Y, Z) is the object coordinate of the point, (x, y) is the image coordinate of the point in the image plane coordinate system, (X S ,Y S ,Z S ) is the object coordinate of the photography center, f is the focal length of the camera, and a1, a2, a3, b1, b2, b3, c1, c2, c3 are the 9 rotation parameters of the photogrammetry rotation matrix.

[0088] S62: original buildings existing in the first area of ​​the multiple orthophoto images are selected to form a primary building set, and each target building in the primary building set is sequentially intersected in multiple first areas of the multiple orthophoto images to obtain a target intersection area of ​​each target building in the multiple orthophoto images; multiple edge points in the target intersection area are recorded as a second edge point set;

[0089] In the embodiment of the present invention, due to different photography centers, the first area of ​​each orthophoto of an original building is also different. Please refer to Figure 5 , Figure 5 The figure is a schematic diagram of the intersection area of ​​the original building in the present invention at multiple orthophotos; O1 and O2 are the photographic centers of two adjacent images, and the cuboid ABCD-abcd is assumed to be the original building. The first area of ​​the original building on the orthophoto O1 is the polygon A'B'C'cba, and the first area on the orthophoto O2 is the polygon B''C''D''dab. The intersection area of ​​the original building at multiple orthophotos is the polygon A'B'EB''C''D''da. Each second node is shared by valid convex edges of at most four orthophotos, that is, the maximum number of orthophoto first areas with shared second nodes is four.

[0090] S63, taking each second edge point as the center, screening all original buildings within a preset threshold range, forming an intermediate building set {R1, R2, ..., Rn}, for each intermediate building in the intermediate building set, respectively calculating its first area on different orthophotos, forming a first area set of each intermediate building; taking a common intersection of all first areas in the first area set of each intermediate building, obtaining the second area of ​​each intermediate building in multiple orthophotos, and the second areas of all intermediate buildings in multiple orthophotos constitute a second area set {S1, S2, ..., Sn}; recording the corresponding relationship between Ri and Si, where i=1~n;

[0091] S64 In the second area set {S1, S2, ..., Sn}, the intersection of the second areas of all the intermediate buildings is judged, and the second intersecting areas that intersect with each other are merged to form a third area V1, and the second areas that do not intersect with each other are respectively used as other third areas to form a third area set {V1, V2, ..., Vm (m≤n)};

[0092] S65 extract all second edge points in the third region set {V1, V2, .. , Vq, .. , Vm} where the second edge points are concentrated to form a third edge point set {P1, P2, ... , Pj, .. , Pw}; sequentially search for high-level buildings {B1, B2, ... , Bk, .. , Bt (t ≤ n)} within a preset threshold range with each third edge point Pj in the third edge point set {P1, P2, ... , Pj, .. , Pw} as the center, and find the third region Vq corresponding to each high-level building Bk, where k = 1~t, q = 1~m, and j = 1~w;

[0093] S66 Calculate the minimum circumscribed rectangle Qj of the third area Vq corresponding to each high-level building B in turn, find a rectangular edge point Qjd with the shortest distance from the third edge point Pj, and obtain a rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd}; wherein d=1-4; use each rectangular edge point Qjd in the rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd} as the optimized position of the corresponding third edge point Pj in the third edge point set {P1, P2, ..., Pj.., Pw};

[0094] S67 sequentially connects adjacent rectangular edge points in the rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd}, and connects the rectangular edge points with the first edge points adjacent to them that do not belong to the third edge point set, to form a plurality of intermediate tessellation lines, and the plurality of intermediate tessellation lines constitute an intermediate tessellation line network.

[0095] In an embodiment of the present invention, the intermediate mosaic line network in which the edge points obtained after the above steps are not in the first area of ​​the original building in the corresponding original image. In step 6, all the first edge points in the primary mosaic line network that fall in the first area of ​​the original building have been moved out of the first area of ​​the original building, ensuring that the endpoints of each mosaic line are outside the first area of ​​the original building. However, each mosaic line is shared by the effective convex edges of two adjacent images, so for the optimization of the mosaic line automatically bypassing the building, it is necessary to simultaneously consider the situation of the original building shared by the two images and the optimal path selection.

[0096] In the embodiment of the present invention, the preset threshold in step S63 or S65 is 50m.

[0097] S7 optimizes the intermediate tessellated line network based on the road vector data to obtain the advanced tessellated line network.

[0098] In an embodiment of the present invention, the road vector data in step S7 includes a plurality of road vector lines.

[0099] In an embodiment of the present invention, step S7 further includes:

[0100] S71, based on the road vector data, in the intermediate tessellation line network, extracting the intermediate tessellation lines that intersect with a road vector line and have an angle less than 45° as the intermediate tessellation lines to be optimized, and obtaining the intermediate tessellation line set to be optimized; and at the same time, recording the two end points of each intermediate tessellation line to be optimized in the intermediate tessellation line set to be optimized as nodes to be optimized;

[0101] S72: based on two nodes to be optimized of each intermediate tessellation line to be optimized, vertical lines intersecting the road vector line are drawn, and two intersection points formed by the two vertical lines and the road vector line are used as two optimized nodes;

[0102] S73 two optimized intersection points are connected to form an optimized intermediate tessellation line;

[0103] S74 Repeat steps S72-S73 to obtain optimized intermediate tessellation lines corresponding to all intermediate tessellation lines to be optimized;

[0104] S75 replaces all the intermediate tessellation lines to be optimized with the corresponding optimized intermediate tessellation lines to obtain an advanced tessellation line network.

[0105] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for generating mosaic lines of remote sensing orthophotos, It is characterized in that The following steps are involved: S1 uses a tracking algorithm to sequentially obtain the effective area of ​​each orthophoto in an image set, and simplifies the effective area to obtain the effective convex polygon of each orthophoto; the image set includes multiple orthophotos, multiple original images and corresponding DEM data; Among them, multiple orthophotos constitute multiple pairs of adjacent orthophotos; S2 identifies a first intersection region between a pair of valid convex polygons of adjacent orthophotos, wherein the first intersection region includes boundary point sets of different categories and boundary line sets of different categories; and constructs a constrained triangulated network in the first intersection region based on the boundary point sets and boundary line sets of different categories; the constrained triangulated network includes a plurality of triangular facets; wherein the boundary point sets of different categories constitute boundary line sets of different categories; S3 extracts a target triangular face set by determining the boundary point set to which each vertex in each triangular face in the constrained triangulated network belongs; the target triangular face set includes a plurality of target triangular face sets; each target triangular face set is composed of a boundary line and two non-boundary lines; S4 takes the midpoints of two non-boundary lines in each target triangle patch to obtain a midpoint point set; the midpoint point set includes a plurality of adjacent midpoints and two end midpoints; and sequentially connects the adjacent midpoints in the midpoint point set in pairs, and connects the two end midpoints to the nearest intersection points in the boundary point set in the first intersection area, respectively, to obtain a pair of primary mosaic lines of adjacent orthophotos; S5 repeats steps S2 to S4 to connect all initial mosaic lines of adjacent orthophotos to form a primary mosaic line network; S6 optimizes the primary tessellation line network based on the building vector data to obtain an intermediate tessellation line network; the intermediate tessellation line network includes a plurality of intermediate tessellation lines; S7 optimizes the intermediate tessellated line network based on the road vector data to obtain the advanced tessellated line network.

2. The method for generating mosaic lines of remote sensing orthophotos according to claim 1, It is characterized in that The different categories of boundary point sets in step S2 include an upper boundary point set, a lower boundary point set and an intersection point set; the different categories of boundary lines include an upper boundary line set, a lower boundary line set and a special boundary line set; two adjacent upper boundary points in the upper boundary point set constitute an upper boundary line; two adjacent lower boundary points in the lower boundary point set constitute a lower boundary line; multiple upper boundary lines constitute an upper boundary line set; multiple lower boundary lines constitute a lower boundary line set; and boundary lines containing intersection points are used as special boundary lines.

3. The method for generating mosaic lines of remote sensing orthophotos according to claim 2, It is characterized in that The specific method of extracting the target triangle face set in step S3 is: Determine the boundary point set category to which each vertex in each triangle in the constrained triangulated network belongs, eliminate triangles whose any vertex belongs to the intersection point set and whose vertices all belong to the same boundary point set category, and extract the target triangle set.

4. The method for generating a remote sensing orthophoto mosaic line according to claim 1, It is characterized in that Step S6 further comprises: S61: acquiring an original building positioning model based on original building vector data corresponding to each original building in a plurality of orthophotos, and using the model to sequentially calculate a first area of ​​each original building in the corresponding orthophoto; the first area includes a plurality of edge points, recorded as a first edge point set; S62: original buildings existing in the first area of ​​the multiple orthophotos are screened out to form a primary building set, and each target building in the primary building set is sequentially intersected in multiple first areas of the multiple orthophotos to obtain a target intersection area of ​​each target building in the multiple orthophotos; multiple edge points in the target intersection area are recorded as a second edge point set; S63 sequentially takes each second edge point as the center, screens all original buildings within a preset threshold range, and forms an intermediate building set {R1, R2, ..., Rn}; for each intermediate building in the intermediate building set, calculates its first area on different orthophotos, and forms a first area set of each intermediate building; takes a common intersection of all first areas in the first area set of each intermediate building, obtains the second area of ​​each intermediate building in multiple orthophotos, and the second areas of all intermediate buildings in multiple orthophotos constitute a second area set {S1, S2, ..., Sn}; records the corresponding relationship between Ri and Si, where i=1-n; S64, in the second area set {S1, S2, ..., Sn}, the second areas of all the intermediate buildings are judged to be intersecting, and the second intersecting areas that intersect with each other are merged to form a third area V1, and the second areas that do not intersect with each other are respectively used as other third areas to form a third area set {V1, V2, ..., Vm (m≤n)}; S65 extracts all second edge points concentrated in the third region set {V1, V2, .., Vq, .., Vm} to form a third edge point set {P1, P2, ..., Pj, .., Pw}; sequentially searches for high-level buildings {B1, B2, ..., Bk, .., Bt (t≤n)} within a preset threshold range with each third edge point Pj in the third edge point set {P1, P2, ..., Pj, .., Pw} as the center, and simultaneously finds the third region Vq corresponding to each high-level building Bk, where k = 1 to t, q = 1 to m, and j = 1 to w; S66, with the third edge point Pj as the center, sequentially find the minimum circumscribed rectangle Qj of the third area Vq corresponding to each high-level building Bk within the preset threshold range, find a rectangular edge point Qjd with the shortest distance from the third edge point Pj, and obtain a rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd}; wherein d = 1 to 4; each rectangular edge point Qjd in the rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd} is used as the optimized position of the corresponding third edge point Pj in the third edge point set {P1, P2, ..., Pj.., Pw}; S67 sequentially connects adjacent rectangular edge points in the rectangular edge point set {Q1d, Q2d, .., Qjd, ..., Qwd}, and connects the rectangular edge points with the adjacent first edge points that do not belong to the third edge point set, to form multiple intermediate tessellation lines, and the multiple intermediate tessellation lines constitute an intermediate tessellation line network.

5. The method for generating mosaic lines of remote sensing orthophotos according to claim 4, It is characterized in that The preset threshold in step S63 or S65 is 50m.

6. The method for generating mosaic lines of remote sensing orthophotos according to claim 1, It is characterized in that In step S7, the road vector data includes a plurality of road vector lines.

7. The method for generating mosaic lines of remote sensing orthophotos according to claim 6, It is characterized in that Step S7 further comprises: S71, based on the road vector data, extracts the intermediate tessellation lines that intersect with a road vector line and have an angle less than 45° as the intermediate tessellation lines to be optimized in the intermediate tessellation line network, and obtains the intermediate tessellation line set to be optimized; and at the same time, records the two end points of each intermediate tessellation line to be optimized in the intermediate tessellation line set to be optimized as nodes to be optimized; S72, based on two nodes to be optimized of each intermediate mosaic line to be optimized, vertical lines intersecting the road vector line are drawn, and two intersection points formed by the two vertical lines and the road vector line are used as two optimized nodes; S73 Two optimized intersection points are connected to form an optimized intermediate tessellation line; S74 repeats steps S72-S73 to obtain optimized intermediate tessellation lines corresponding to all intermediate tessellation lines to be optimized; S75 replaces all the intermediate tessellation lines to be optimized with the corresponding optimized intermediate tessellation lines to obtain an advanced tessellation line network.

8. The method for generating mosaic lines of remote sensing orthophotos according to claim 1, It is characterized in that In step S1, the eight-neighborhood boundary tracing algorithm is used to sequentially extract the effective area of ​​each orthophoto in the image set; and the Douglas-Peucker algorithm is used to simplify and thin out all the effective areas to obtain the effective convex polygons of each orthophoto.

9. The method for generating mosaic lines of remote sensing orthophotos according to claim 2, It is characterized in that Step S2 further comprises: S21 calculates a first intersection area between valid convex polygons of a pair of adjacent orthophotos using a polygon clipping algorithm; S22, searching the first intersection area from left to right and from bottom to top to find the first valid pixel point as the first intersection point; S23 sets the search azimuth of the first intersection point to 0° based on the first intersection point, and defines the initial search direction as the upper left; searches for valid pixel points in sequence along the upper left of the first intersection area; when the search azimuth angle is less than 90°, the valid pixel points found are used as upper boundary points to form an upper boundary point set; when the search azimuth angle is ≥90° and less than 180°, the valid pixel points found are another intersection point; when the search azimuth angle is ≥180°, the valid pixel points found are used as lower boundary points to form a lower boundary point set; S24: two adjacent upper boundary points in the upper boundary point set form an upper boundary line, and multiple upper boundary lines form an upper boundary line set; two adjacent lower boundary points in the lower boundary point set form a lower boundary line, and multiple lower boundary lines form a lower boundary line set; one intersection point forms two special boundary lines with the most adjacent upper boundary point and lower boundary point, and another intersection point forms two special boundary lines with the most adjacent upper boundary point and lower boundary point; S25 constructs a constrained triangulated network in the first intersection area based on the upper boundary point set, the lower boundary point set, the intersection point set, the upper boundary line set, the lower boundary line set and the special boundary line set of the first intersection area.

10. The method for generating mosaic lines of remote sensing orthophotos according to claim 9, It is characterized in that The specific method for constructing the constrained triangulated network in step S25 is: taking the first intersection area between the valid convex polygons of a pair of adjacent orthophoto images as the primary triangulated network; adding a constrained edge set to the primary triangulated network to obtain a constrained triangulated network; the constrained edge set includes multiple pairs of constrained edge pairs, each pair of constraint edge pairs includes two constraint edges and the two constraint edges intersect at an upper boundary point; each pair of constraint edges is formed by connecting an upper boundary point and two adjacent lower boundary points opposite to it in turn; the lower boundary line formed by connecting each pair of constraint edges and two adjacent lower boundary points constitutes a triangular face.

Citation Information

Patent Citations

  • Orthoimage tessellation line network automatic selection method based on building roof vector

    CN106846251A

  • Multi-high-resolution remote sensing image mosaic method considering surface feature category difference

    CN112419156A