CN114494627A - City model generation method, device, equipment and computer readable storage medium - Google Patents

City model generation method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114494627A
CN114494627A CN202210090034.9A CN202210090034A CN114494627A CN 114494627 A CN114494627 A CN 114494627A CN 202210090034 A CN202210090034 A CN 202210090034A CN 114494627 A CN114494627 A CN 114494627A
Authority
CN
China
Prior art keywords
building
model
roof
generating
target area
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
CN202210090034.9A
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.)
Aerial Photogrammetry and Remote Sensing Co Ltd
Original Assignee
Aerial Photogrammetry and Remote Sensing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aerial Photogrammetry and Remote Sensing Co Ltd filed Critical Aerial Photogrammetry and Remote Sensing Co Ltd
Priority to CN202210090034.9A priority Critical patent/CN114494627A/en
Publication of CN114494627A publication Critical patent/CN114494627A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a computer readable storage medium for generating a city model, wherein the method comprises the following steps: making a corresponding terrain model and a digital orthophoto map by using the obtained matched satellite images of the target area; then, acquiring vector data of each building in the satellite image to ensure that the top of the building model is in close contact with the actual building roof when the building model is constructed subsequently; generating a three-dimensional model of each building according to the vector data, namely creating a three-dimensional model with a top structure matched with an actual roof structure; and finally, adding the digital orthophoto map, the three-dimensional models of all buildings and the terrain model into the same three-dimensional scene so as to place the three-dimensional models in a reasonable position area and a background to obtain the city model of the target area. Therefore, the embodiment of the invention utilizes the satellite image to manufacture the three-dimensional model image of the urban area, reduces the image acquisition difficulty, ensures the image quality and avoids the limitation of aviation flight photography.

Description

City model generation method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of modeling, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for generating a city model.
Background
The three-dimensional electronic map refers to a three-dimensional and abstract description of one or more aspects of the real world or a part of the real world according to a certain proportion, such as a real earth surface is presented in the form of a three-dimensional model, and has four characteristics of three-dimension, orientation, intuition and reality.
When drawing an urban area in an electronic map, the three-dimensional model corresponding to the urban area is usually manufactured by a flight oblique photography technology. However, in the model making using the aerial oblique photography technique, a large number of aerial photographs are required, the aerial photographing angle and the aerial route are difficult to control due to weather, and a large number of high-rise building groups in the city cause redundant shielding in the aerial photographs, so that the accuracy of the three-dimensional model corresponding to the city area is low.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a device and a computer readable storage medium for generating an urban model, so as to improve the current situation that a three-dimensional model corresponding to an urban area is completed based on an oblique aerial photography technique with low precision.
In a first aspect, an embodiment of the present invention provides a method for generating an urban model, including:
acquiring a satellite image of a target area;
obtaining a terrain model and a digital orthophoto map of the target area according to the satellite image;
acquiring vector data of each building in the satellite image, wherein the vector data is used for representing the height, the position and the roof structure of each building;
generating a three-dimensional model of each said building from said vector data;
and obtaining the city model of the target area based on the digital orthophoto map, the three-dimensional models of all the buildings and the terrain model.
Optionally, in an implementation manner provided by the embodiment of the present invention, the acquiring a satellite image of a target area includes:
acquiring an original satellite image of a target area;
calculating rational polynomial coefficients corresponding to the original satellite images based on an aerial triangulation technology;
and correcting the original satellite image by using the rational polynomial coefficient to obtain the satellite image of the target area.
Optionally, in an implementation manner provided by the embodiment of the present invention, the obtaining a terrain model and a digital orthophoto map of the target area according to the satellite image includes:
obtaining a digital surface model and a digital orthophoto map of the target area according to the satellite image;
collecting a terrain characteristic line in the satellite image;
correcting the digital surface model by utilizing the topographic characteristic line to obtain a corrected digital surface model;
and performing curved surface modeling by using the terrain characteristic line and the corrected digital surface model to obtain a terrain model of the target area.
Optionally, in an implementation manner provided by the embodiment of the present invention, the acquiring vector data of each building in the satellite image includes:
obtaining a roof elevation point and a roof contour line of each building according to the top of the roof and the contour of the roof of each building in the satellite image;
collecting a roof structure line of each building which is not of a flat-top structure in all the buildings;
collecting bottom structure lines of each building with an irregular roof shape in all the buildings;
and obtaining the vector data of each building according to the roof elevation point, the roof contour line, the roof structure line and the bottom structure line.
Further, in an implementation manner provided by the embodiment of the present invention, the generating a three-dimensional model of each building according to the vector data includes:
generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building;
and for each building which is not of a flat-top structure and each building with an irregular roof shape in all the buildings, performing top structure correction on the initial three-dimensional model of each building which is not of the flat-top structure by using the roof structure line of each building which is not of the flat-top structure, and performing top shape correction on the initial three-dimensional model of each building with the irregular roof shape by using the bottom structure line of each building with the irregular roof shape to obtain the three-dimensional model of each building.
Further, in an implementation manner provided by the embodiment of the present invention, before the generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building, the method further includes:
performing cover correction treatment on each roof contour line based on a preset template;
generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building, wherein the method comprises the following steps:
and generating an initial three-dimensional model of each building according to the roof elevation point of each building and the roof contour line subjected to cover correction.
Further, in an implementation manner provided by the embodiment of the present invention, the generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building includes:
for each building, performing elevation assignment on the roof contour line by using the roof elevation point to obtain the roof contour line containing height information;
and generating an initial three-dimensional model of each building according to the roof contour line containing the height information.
In a second aspect, an embodiment of the present invention provides an apparatus for generating an urban model, including:
the acquisition module is used for acquiring a satellite image of a target area;
the terrain model acquisition module is used for acquiring a terrain model and a digital orthophoto map of the target area according to the satellite image;
the acquisition module is used for acquiring vector data of each building in the satellite image, wherein the vector data is used for representing the height, the position and the roof structure of each building;
the building model generation module is used for generating a three-dimensional model of each building according to the vector data;
and the city model generating module is used for obtaining a city model of the target area based on the digital orthophoto map, the three-dimensional models of all the buildings and the terrain model.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the method for generating a city model as disclosed in any one of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed on a processor, performs the method for generating a city model as disclosed in any one of the first aspect.
According to the urban model generation method provided by the embodiment of the invention, the acquired satellite images of the target area are used for making corresponding terrain models and digital orthophoto maps so as to construct reasonable backgrounds of three-dimensional models; then, acquiring vector data of each building in the satellite image to ensure that the top of the building model is in close contact with the actual building roof when a three-dimensional model is constructed subsequently; then generating a three-dimensional model of each building according to the vector data, namely creating a three-dimensional model with a top structure matched with an actual roof structure, and ensuring the authenticity of the model; and finally, adding the digital orthophoto map, the three-dimensional models of all buildings and the terrain model into the same three-dimensional scene so as to place the three-dimensional model in a reasonable position area and an image background to obtain the city model of the target area.
Therefore, the three-dimensional model of the urban area is manufactured by using the satellite images, compared with aviation flight photography, the method and the device are low in image acquisition difficulty, high in image quality, high in model manufacturing efficiency and good in model quality, the limitation of aviation flight photography is avoided, and the urban model construction cost is reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
FIG. 1 is a flow chart of a method for generating a city model according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a first application scenario of a method for generating a city model according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a second application scenario of the method for generating a city model according to the embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a third application scenario of the method for generating a city model according to the embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating an apparatus for generating a city model according to an embodiment of the present invention.
Description of the main element symbols:
101-first building, 102-roof elevation point, 103-roof outline, 104-roof structure line, 105-second building, 106-first bottom structure line, 107-second bottom structure line.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for generating an urban model according to an embodiment of the present invention, where the method for generating an urban model according to an embodiment of the present invention includes:
and S110, acquiring a satellite image of the target area.
It can be understood that, when the image data of the target area is acquired by using the aviation flight oblique photography technology, the airspace use right needs to be applied in advance; in the process of aviation shooting, clear weather and small wind power need to be guaranteed. However, a large number of high-rise building groups and irregularly-shaped buildings commonly exist in cities, so that flight routes and shooting angles are difficult to control, the quality of shot flight images cannot be guaranteed, and the city model obtained by utilizing the flight images is large in difference from an actual building and low in precision.
The satellite is used for acquiring the image data of the target area, and an airspace is not required to be applied; due to the shooting position of the satellite, the image obtained by shooting of the satellite is similar to an orthographic projection, and high-rise building groups and buildings with irregular shapes are not blocked; moreover, due to the gradual maturity of the satellite photography technology, the resolution of the satellite images is continuously improved, the difficulty in obtaining the satellite images is gradually reduced, and the efficiency of manufacturing the city model of the target area based on the satellite images is higher.
Optionally, in an implementation manner provided in the embodiment of the present invention, S110 includes:
acquiring an original satellite image of a target area;
calculating rational polynomial coefficients corresponding to the original satellite images based on an aerial triangulation technology;
and correcting the original satellite image by using the rational polynomial coefficient to obtain the satellite image of the target area.
That is, in order to ensure the quality and accuracy of a satellite image, when a satellite is used to perform image shooting, first, aerial triangulation is performed according to an original satellite image obtained by shooting, and adjustment calculation is performed according to the aerial triangulation result to obtain a Rational Polynomial Coefficient (RPC), and then the original satellite image is corrected by using the Rational Polynomial Coefficient, that is, positioning calibration is performed in the original satellite image, so as to obtain a satellite image of a high-quality target area.
Optionally, when the aerial triangulation is performed on the original satellite image, preset distribution point coordinates may be imported to reduce the edge joining error of each building model in the city model.
And S120, obtaining a terrain model and a digital orthophoto map of the target area according to the satellite image.
It can be understood that the city model is loaded correctly to the corresponding map location, i.e. the correct ground surface location and image background after the city model is made. The terrain model in the embodiment of the invention is used for describing the surface features and the outline of the target area, the digital orthographic projection image is used for displaying the background elements of the urban model, and the digital orthographic projection image and the background elements are used for improving the reality of the urban model.
Optionally, in an implementation manner provided by the embodiment of the present invention, S120 includes:
obtaining a digital surface model and a digital orthophoto map of the target area according to the satellite image;
collecting a terrain characteristic line in the satellite image;
correcting the digital surface model by utilizing the topographic characteristic line to obtain a corrected digital surface model;
and performing curved surface modeling by using the topographic characteristic line and the corrected digital surface model to obtain a topographic model of the target area.
That is, the digital surface model in the embodiment of the present invention is obtained by performing surface modeling using the digital surface model and the topographic feature line.
The topographic feature line is a line segment representing a terrain, such as a ridge line, a valley, a saddle, a trench, a terrain transition, a road, a river, a pond, a lake, a steep slope, and the like. It can be understood that after the terrain feature lines are obtained, the spatial relationship processing and the topological relationship processing can be performed on the terrain feature lines, so that the positions of the terrain feature lines are accurate, and the line relationship is reasonable.
In one possible approach, the process of obtaining the digital surface model from the satellite imagery may include: and in a preset application program, matching the satellite image with a preset initial digital surface model to obtain the digital surface model. Optionally, the preset application program comprises an Inpho application program.
Further, the process of modifying the digital surface model may include: in the Inphone application program, a DTmaster module is used for carrying out filtering operation on the digital surface model so as to eliminate the noise of the satellite image; and if the digital surface model has an unreasonable region of the terrain and the landform, adding the terrain characteristic line to the unreasonable region for correction until the digital surface model is matched with the actual terrain, thereby obtaining the corrected digital surface model.
And after the corrected digital surface model is obtained, guiding the terrain characteristic line and the corrected digital surface model into a preset curved surface model to obtain the terrain model. It should be noted that, if there is a part with unreasonable landform and landform in the generated curved surface model, the digital surface model and/or the landform feature line should be modified and the curved surface model is regenerated again until the part with unreasonable landform and landform is eliminated, so as to ensure that the landform expression is correct.
And S130, acquiring vector data of each building in the satellite image, wherein the vector data is used for representing the height, the position and the roof structure of each building.
Wherein the roof structure represents the outline of the roof of the building, the formed shape of the roof and the three-dimensional structure presented by the roof. The outline of the roof can be regarded as the occupation range of the building.
Optionally, in an implementation manner provided in the embodiment of the present invention, S130 includes:
obtaining a roof elevation point and a roof contour line of each building according to the top of the roof and the contour of the roof of each building in the satellite image;
collecting a roof structure line of each building which is not of a flat-top structure in all the buildings;
collecting bottom structure lines of each building with an irregular roof shape in all the buildings;
and obtaining the vector data of each building according to the roof elevation point, the roof contour line, the roof structure line and the bottom structure line.
Exemplarily, referring to fig. 2, fig. 2 shows a schematic diagram of a first application scenario of the method for generating a city model according to an embodiment of the present invention, which includes a first building 101 represented by a solid line, a roof elevation point 102 represented by a dot line, and a roof contour line 103 represented by a dashed line. Fig. 2 is a top view showing a real satellite image, and the first building 101 shows an actual building in the real satellite image. It should be noted that although the roof-line 103 in fig. 2 illustrates a roof area larger than the actual roof area of the first building 101, fig. 2 is only used to better illustrate the roof-line in the embodiment of the present invention, and the roof-line in the actual environment may indicate the roof area of the building corresponding to the actual roof area of the building.
That is, the roof elevation point in the embodiment of the present invention is used to represent the maximum height of the building, and the roof contour line is used to describe the maximum range of the roof of the building, and further, the occupied area of the building. It should be noted that, if the height of any point on the solid line where the roof elevation point 102 is located in fig. 2 can identify the maximum height of the first building 101, any point on the solid line where the roof elevation point 102 is located can be regarded as the roof elevation point.
It should be noted that if the height difference between two adjacent buildings is greater than the preset length, the roof elevation point and the roof contour line should be collected separately to ensure the reasonable expression of the adjacent relationship of the buildings.
Further, referring to fig. 3, fig. 3 is a schematic diagram illustrating a second application scenario of the method for generating a city model according to the embodiment of the present invention, which includes a first building 101 represented by a solid line and a roof structure line 104 represented by a dashed line. In the present embodiment, the roof structure line may be understood as an auxiliary line for representing a roof structure of a non-flat roof building, such as a ridge line of a herringbone roof house, a top position line of a dome structure, a position line of a highest position of a top of a pinnacle building, etc., and the roof structure line 104 in fig. 3 depicts the roof structure of the first building 101. It should be understood that the rooftop structure line 104 in fig. 3, like the rooftop contour line 103 in fig. 2, is merely used to better illustrate the rooftop structure line in the embodiment of the present invention, and that the rooftop structure represented by the rooftop structure line may be in accordance with the rooftop structure of an actual building in an actual working environment.
Further, referring to fig. 4, fig. 4 is a schematic diagram illustrating a third application scenario of the method for generating a city model according to the embodiment of the present invention, which includes a second building 105 represented by a solid line, a first bottom structure line 106 represented by a dashed line, and a second bottom structure line 107 represented by a dashed line and a solid line. It will be appreciated that the second building 105 is also an image of a simulated satellite top view and the letter K indicates a second substructure line 107 consisting of an oval dashed line for describing a hole. It should be understood that the second bottom structure line 107 is used to describe the bottom of the hole structure of the second building 105, and the second bottom structure line 107 includes a solid line and a dotted line since part of the bottom of the hole structure can be observed and the rest of the bottom is hidden by the building which is not the hole structure. It should also be appreciated that, similar to the roofline 103 of FIG. 2, the first substructure line 106 is only used to better illustrate the substructure line in embodiments of the present invention, and in an actual work environment, the bottom of the building represented by the substructure line may coincide with the actual bottom of the building.
It can be understood that the bottom structure line in the embodiment of the present invention is used to describe that the roof structure is formed by irregular shapes such as inclined planes, curved surfaces, spherical shapes, etc., which cannot be represented by a single plane, and the roof structure needs to be divided into a plurality of buildings with different planes, and the bottom structure line is used to accurately represent the range of the building roof. Also, as can be seen from fig. 4, if the footprint of the second building 105 is described by a rooftop outline, the hole portion in the second building 105 will be erroneously filled when the three-mode model is created.
It should be noted that the roof structure line and the bottom structure line in the embodiment of the present invention are auxiliary lines for assisting description of the roof structure. It will be appreciated that a three-dimensional model such as a cube or cuboid can be created by only the roof elevation points and the roof contour, and the use of the roof structure lines and the bottom structure allows the top of the three-dimensional model to be brought into close proximity with the roof of the actual building, thereby improving the realism of the model of the building.
It should be further noted that, in this implementation manner provided by the embodiment of the present invention, the roof elevation point and the roof contour line of each building are acquired, and the roof structure line is acquired only when the satellite image includes buildings that are not flat-topped structures, and when buildings that are not flat-topped structures are acquired; the bottom structure line is obtained by collecting a building having an irregular roof shape only when the building having the irregular roof shape exists in the satellite image.
Furthermore, it can be understood that the roof contour lines and the floor structure lines in the embodiments of the present invention are used only to describe the extent of the building, being two-dimensional plane data; the roof elevation point is used for describing the maximum height of the building and can be regarded as three-dimensional data; the roof structure line can describe the structure of the roof, and further can represent the height change of the roof structure, namely the roof structure line is three-dimensional data.
And S140, generating a three-dimensional model of each building according to the vector data.
That is, according to the height, position and roof structure of each building, a corresponding three-dimensional model is generated, and the roof of the building model is consistent with that of the actual building, so that the city model is more real.
Optionally, in an implementation manner provided in the embodiment of the present invention, S140 includes:
generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building;
and for each building which is not of a flat-top structure and each building with an irregular roof shape in all the buildings, performing top structure correction on the initial three-dimensional model of each building which is not of the flat-top structure by using the roof structure line of each building which is not of the flat-top structure, and performing top shape correction on the initial three-dimensional model of each building with the irregular roof shape by using the bottom structure line of each building with the irregular roof shape to obtain the three-dimensional model of each building.
That is, in the embodiment of the present invention, after the initial three-dimensional model is created by using the height of the building and the range of the roof, the roof of the three-dimensional model is corrected by using the corresponding auxiliary line, so that the roof of the model is in contact with the roof of the actual building, and the reality of the model is further improved.
S150, obtaining the city model of the target area based on the digital orthophoto map, the three-dimensional models of all the buildings and the terrain model.
That is, after the digital orthophoto map, the terrain model and the three-dimensional model close to the actual building roof are obtained, the three are added to the same three-dimensional scene, so that the three-dimensional model is correctly displayed in the digital orthophoto map and the terrain model, the background of the three-dimensional model is matched with the terrain where the three-dimensional model is located and the real environment, and the city model of the target area is obtained.
Therefore, the three-dimensional model of the urban area is manufactured by utilizing the satellite image, compared with aviation flight photography, the satellite image acquisition difficulty is low, the satellite image quality is higher, further the model manufacturing efficiency is higher, the model quality is better, the limitation of aviation flight photography is avoided, and the urban model construction cost is reduced.
Further, in an implementation manner provided by the embodiment of the present invention, before the generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building, the method further includes:
performing cover correction treatment on each roof contour line based on a preset template;
generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building, wherein the method comprises the following steps:
and generating an initial three-dimensional model of each building according to the roof elevation point of each building and the roof contour line subjected to cover correction.
That is, before generating a three-dimensional model of each building, the roof contour line is subjected to a correction process to ensure the reasonableness of the model range. In this embodiment, in the embodiment of the present invention, a preset template is used to perform a cover correction process on each roof contour line, that is, whether each contour line of the building is closed or not is determined, so that a complete cover can be formed. Optionally, the preset template comprises an FME (Feature management Engine) nested template.
Optionally, in a feasible manner provided by the embodiment of the present invention, in addition to performing cover correction processing on the roof contour line, the method further includes: and (4) building relation correction processing, namely detecting whether the auxiliary building is attached to the main building or not by using the FME template.
Further, in an implementation manner provided by the embodiment of the present invention, the generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building includes:
for each building, performing elevation assignment on the roof contour line by using the roof elevation point to obtain the roof contour line containing height information;
and generating an initial three-dimensional model of each building according to the roof contour line containing the height information.
That is, the elevation information of the roof elevation point is given to the surface formed by the roof contour line, so that the roof contour line has the elevation information, and the three-dimensional model of the building can be generated from the roof contour line having the elevation information.
Corresponding to the method for generating an urban model provided by the embodiment of the present invention, an embodiment of the present invention further provides a device for generating an urban model, referring to fig. 5, fig. 5 shows a schematic structural diagram of the device for generating an urban model provided by the embodiment of the present invention, and the device 200 for generating an urban model provided by the embodiment of the present invention includes:
an obtaining module 210, configured to obtain a satellite image of a target area;
a terrain model obtaining module 220, configured to obtain a terrain model and a digital orthophoto map of the target area according to the satellite image;
an acquisition module 230, configured to acquire vector data of each building in the satellite image, where the vector data is used to represent the height, position, and roof structure of each building;
a building model generation module 240 for generating a three-dimensional model of each of the buildings from the vector data;
a city model generating module 250, configured to obtain a city model of the target area based on the digital orthophoto map, the three-dimensional models of all the buildings, and the terrain model.
The device for generating the city model provided in the embodiment of the present application can implement each process of the method for generating the city model in the method embodiment of fig. 1, and can achieve the same technical effect, and is not described here again to avoid repetition.
The embodiment of the invention also provides computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the method for generating the city model disclosed in the embodiment when running on the processor.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program runs on a processor, the method for generating a city model disclosed in the embodiment is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method for generating a city model, comprising:
acquiring a satellite image of a target area;
obtaining a terrain model and a digital orthophoto map of the target area according to the satellite image;
acquiring vector data of each building in the satellite image, wherein the vector data is used for representing the height, the position and the roof structure of each building;
generating a three-dimensional model of each said building from said vector data;
and obtaining the city model of the target area based on the digital orthophoto map, the three-dimensional models of all the buildings and the terrain model.
2. The method of claim 1, wherein the acquiring of the satellite imagery of the target area comprises:
acquiring an original satellite image of a target area;
calculating rational polynomial coefficients corresponding to the original satellite images based on an aerial triangulation technology;
and correcting the original satellite image by using the rational polynomial coefficient to obtain the satellite image of the target area.
3. The method of claim 1, wherein obtaining the terrain model and the digital orthophotomap of the target area from the satellite imagery comprises:
obtaining a digital surface model and a digital orthophoto map of the target area according to the satellite image;
collecting a terrain characteristic line in the satellite image;
correcting the digital surface model by utilizing the topographic characteristic line to obtain a corrected digital surface model;
and performing curved surface modeling by using the terrain characteristic line and the corrected digital surface model to obtain a terrain model of the target area.
4. The method of claim 1, wherein the acquiring vector data for each building in the satellite imagery comprises:
obtaining a roof elevation point and a roof contour line of each building according to the top of the roof and the contour of the roof of each building in the satellite image;
collecting a roof structure line of each building which is not of a flat-top structure in all the buildings;
collecting bottom structure lines of each building with an irregular roof shape in all the buildings;
and obtaining the vector data of each building according to the roof elevation point, the roof contour line, the roof structure line and the bottom structure line.
5. The method of claim 4, wherein said generating a three-dimensional model of each said building from said vector data comprises:
generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building;
and for each building which is not of a flat-top structure and each building with an irregular roof shape in all the buildings, performing top structure correction on the initial three-dimensional model of each building which is not of the flat-top structure by using the roof structure line of each building which is not of the flat-top structure, and performing top shape correction on the initial three-dimensional model of each building with the irregular roof shape by using the bottom structure line of each building with the irregular roof shape to obtain the three-dimensional model of each building.
6. The method of claim 5, wherein prior to generating the initial three-dimensional model of each of the buildings from the rooftop elevation points and the rooftop contour lines of each of the buildings, the method further comprises:
performing cover correction treatment on each roof contour line based on a preset template;
generating an initial three-dimensional model of each building according to the roof elevation point and the roof contour line of each building, wherein the method comprises the following steps:
and generating an initial three-dimensional model of each building according to the roof elevation point of each building and the roof contour line subjected to cover correction.
7. The method of claim 5, wherein said generating an initial three-dimensional model of each said building from the rooftop elevation point and the rooftop contour line of each said building comprises:
for each building, performing elevation assignment on the roof contour line by using the roof elevation point to obtain the roof contour line containing height information;
and generating an initial three-dimensional model of each building according to the roof contour line containing the height information.
8. An apparatus for generating a city model, comprising:
the acquisition module is used for acquiring a satellite image of a target area;
the terrain model acquisition module is used for acquiring a terrain model and a digital orthophoto map of the target area according to the satellite image;
the acquisition module is used for acquiring vector data of each building in the satellite image, wherein the vector data is used for representing the height, the position and the roof structure of each building;
the building model generation module is used for generating a three-dimensional model of each building according to the vector data;
and the city model generating module is used for obtaining a city model of the target area based on the digital orthophoto map, the three-dimensional models of all the buildings and the terrain model.
9. A computer arrangement, characterized by comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs the method of generating a city model according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when run on a processor, performs the method of generating a city model according to any one of claims 1-7.
CN202210090034.9A 2022-01-25 2022-01-25 City model generation method, device, equipment and computer readable storage medium Pending CN114494627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210090034.9A CN114494627A (en) 2022-01-25 2022-01-25 City model generation method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210090034.9A CN114494627A (en) 2022-01-25 2022-01-25 City model generation method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114494627A true CN114494627A (en) 2022-05-13

Family

ID=81474103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210090034.9A Pending CN114494627A (en) 2022-01-25 2022-01-25 City model generation method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114494627A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256790A (en) * 2021-05-21 2021-08-13 珠海金山网络游戏科技有限公司 Modeling method and device
CN115620168A (en) * 2022-12-02 2023-01-17 成都国星宇航科技股份有限公司 Method, device and equipment for extracting three-dimensional building outline based on sky data
CN115641415A (en) * 2022-12-26 2023-01-24 成都国星宇航科技股份有限公司 Method, device, equipment and medium for generating three-dimensional scene based on satellite image
CN113256790B (en) * 2021-05-21 2024-06-07 珠海金山数字网络科技有限公司 Modeling method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256790A (en) * 2021-05-21 2021-08-13 珠海金山网络游戏科技有限公司 Modeling method and device
CN113256790B (en) * 2021-05-21 2024-06-07 珠海金山数字网络科技有限公司 Modeling method and device
CN115620168A (en) * 2022-12-02 2023-01-17 成都国星宇航科技股份有限公司 Method, device and equipment for extracting three-dimensional building outline based on sky data
CN115641415A (en) * 2022-12-26 2023-01-24 成都国星宇航科技股份有限公司 Method, device, equipment and medium for generating three-dimensional scene based on satellite image
CN115641415B (en) * 2022-12-26 2023-08-22 成都国星宇航科技股份有限公司 Method, device, equipment and medium for generating three-dimensional scene based on satellite image

Similar Documents

Publication Publication Date Title
KR101165523B1 (en) Geospatial modeling system and related method using multiple sources of geographic information
CN113506370B (en) Three-dimensional geographic scene model construction method and device based on three-dimensional remote sensing image
CA2651908C (en) Method and system for generating an image-textured digital surface model (dsm) for a geographical area of interest
US8427505B2 (en) Geospatial modeling system for images and related methods
CN114494627A (en) City model generation method, device, equipment and computer readable storage medium
CN113048980B (en) Pose optimization method and device, electronic equipment and storage medium
CN113516769A (en) Virtual reality three-dimensional scene loading and rendering method and device and terminal equipment
CN108399631B (en) Scale invariance oblique image multi-view dense matching method
CN113050116A (en) Robot positioning method and device, robot and readable storage medium
JP6146731B2 (en) Coordinate correction apparatus, coordinate correction program, and coordinate correction method
CN117132737B (en) Three-dimensional building model construction method, system and equipment
CN103955959A (en) Full-automatic texture mapping method based on vehicle-mounted laser measurement system
CN112785686A (en) Forest map construction method based on big data and readable storage medium
CN112132466A (en) Route planning method, device and equipment based on three-dimensional modeling and storage medium
CN113129422A (en) Three-dimensional model construction method and device, storage medium and computer equipment
EP3664038A1 (en) Geospatial surveying tool
US20220276046A1 (en) System and method for providing improved geocoded reference data to a 3d map representation
CN102236893A (en) Space-position-forecast-based corresponding image point matching method for lunar surface image
KR100609004B1 (en) Method for recovering topography using digital photogrammetry technique
Piatti et al. Generation Of True Ortho‐Images Based On Virtual Worlds: Learning Aspects
CN113029166B (en) Positioning method, positioning device, electronic equipment and storage medium
CN114529666B (en) Three-dimensional scene rapid construction method based on fusion of oblique photography and next generation modeling technology
CN110148086A (en) The depth polishing method, apparatus and three-dimensional rebuilding method of sparse depth figure, device
JP7122901B2 (en) breakline extraction program, breakline extraction system
CN117437551B (en) Positioning method and equipment based on large-space visual map segmentation and quick retrieval

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