CN111104700B - Method, device, equipment and readable storage medium for three-dimensional modeling of overpass - Google Patents

Method, device, equipment and readable storage medium for three-dimensional modeling of overpass Download PDF

Info

Publication number
CN111104700B
CN111104700B CN201811176499.6A CN201811176499A CN111104700B CN 111104700 B CN111104700 B CN 111104700B CN 201811176499 A CN201811176499 A CN 201811176499A CN 111104700 B CN111104700 B CN 111104700B
Authority
CN
China
Prior art keywords
line data
line
data
overpass
dimensional model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811176499.6A
Other languages
Chinese (zh)
Other versions
CN111104700A (en
Inventor
向振伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development 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 Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201811176499.6A priority Critical patent/CN111104700B/en
Publication of CN111104700A publication Critical patent/CN111104700A/en
Application granted granted Critical
Publication of CN111104700B publication Critical patent/CN111104700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

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

Abstract

The invention provides a method, a device, equipment and a readable storage medium for three-dimensional modeling of an overpass, wherein the method comprises the following steps: acquiring the space connection relation between line data of the overpass to be processed and the line data; constructing a line segment initial three-dimensional model of the overpass to be processed according to the space connection relation between the line data; rendering line data in the line segment initial three-dimensional model into surface data to construct a three-dimensional model of the overpass. The three-dimensional model of the overpass can be constructed, and if the three-dimensional model of the overpass is put into the electronic map, the three-dimensional effect of the overpass can be displayed in the electronic map. The user can distinguish whether a certain street crossing road is an overpass or a sidewalk directly through the road style in the electronic map, and driving experience of the user is improved.

Description

Method, device, equipment and readable storage medium for three-dimensional modeling of overpass
Technical Field
The embodiment of the invention relates to the technical field of modeling, in particular to a method, a device, equipment and a readable storage medium for three-dimensional modeling of an overpass.
Background
Electronic maps provide great assistance to people traveling, and the information provided by the electronic maps includes, but is not limited to, road information, building information and the like. In the current electronic map, the display mode of the overpass is a passable road, the stereoscopic effect is not displayed, and a user cannot directly distinguish whether a certain overpass is an overpass or a sidewalk through the road style in the map.
Therefore, a method for three-dimensionally modeling the overpass is needed to realize the three-dimensional display effect of the overpass. Therefore, a user can intuitively recognize whether a certain traffic road in the electronic map is an overpass or not, so that the driving experience of the user is improved.
Disclosure of Invention
The embodiment of the invention provides a three-dimensional modeling method, device and equipment for an overpass and a readable storage medium, which solve the problems that the three-dimensional modeling method without the overpass in the prior art causes that the overpass in an electronic map does not display the three-dimensional effect, and a user cannot directly distinguish whether a certain overpass is an overpass or a sidewalk according to the road pattern in the electronic map, so that the driving experience of the user is poor.
In a first aspect, an embodiment of the present invention provides a method for three-dimensional modeling of an overpass, including: acquiring the space connection relation between line data of the overpass to be processed and the line data; constructing a line segment initial three-dimensional model of the overpass to be processed according to the space connection relation between the line data; and rendering the line data in the line segment initial three-dimensional model into surface data to construct the three-dimensional model of the overpass.
In a second aspect, an embodiment of the present invention provides an apparatus for three-dimensional modeling of an overpass, including: the acquisition module is used for acquiring the space connection relation between the line data of the overpass to be processed and the line data; the line segment initial three-dimensional model construction module is used for constructing a line segment initial three-dimensional model of the overpass to be processed according to the space connection relation between the line data; and the overpass three-dimensional model construction module is used for rendering line data in the line segment initial three-dimensional model into surface data so as to construct the overpass three-dimensional model.
In a third aspect, an embodiment of the present invention provides a terminal device, including: a memory, a processor, and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of the first aspects.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program for execution by a processor to implement the method of any of the first aspects.
The embodiment of the invention provides a method, a device, equipment and a readable storage medium for three-dimensional modeling of an overpass, which are used for acquiring the line data of the overpass to be processed and the space connection relation between the line data; constructing a line segment initial three-dimensional model of the overpass to be processed according to the space connection relation between the line data; rendering line data in the line segment initial three-dimensional model into surface data to construct a three-dimensional model of the overpass. The three-dimensional model of the overpass can be constructed, and if the three-dimensional model of the overpass is put into the electronic map, the three-dimensional effect of the overpass can be displayed in the electronic map. The user can distinguish whether a certain street crossing road is an overpass or a sidewalk directly through the road style in the electronic map, and driving experience of the user is improved.
It should be understood that the description of the invention above is not intended to limit key or critical features of embodiments of the invention, nor to limit the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of a method for three-dimensional modeling of an overpass according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a spatial connection relationship between line data of an overpass to be processed and line data according to a first embodiment of the present invention;
FIG. 3 is a flow chart of a method for three-dimensional modeling of overpass provided in a second embodiment of the present invention;
FIG. 4 is a schematic diagram of an initial three-dimensional model of a segment for constructing a overpass to be treated in a second embodiment of the present invention;
fig. 5 is a schematic diagram of a structure of rendering horizontal bridge deck line data or slope line data into surface data in step 305 in the second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a three-dimensional modeling apparatus for overpass provided in the third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a three-dimensional modeling apparatus for overpass provided in a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While the invention is susceptible of embodiment in the drawings, it is to be understood that the invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided to provide a more thorough and complete understanding of the invention. It should be understood that the drawings and embodiments of the invention are for illustration purposes only and are not intended to limit the scope of the present invention.
The terms first, second, third, fourth and the like in the description and in the claims and in the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be capable of being practiced otherwise than as specifically illustrated and described. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for three-dimensional modeling of an overpass according to an embodiment of the present invention, as shown in fig. 1, an execution subject of this embodiment is an apparatus for three-dimensional modeling of an overpass, where the apparatus for three-dimensional modeling of an overpass may be integrated on a terminal device. The terminal equipment can be a computer, a notebook computer, a tablet computer and the like. The method for three-dimensional modeling of the overpass provided in this embodiment includes the following steps.
Step 101, obtaining the space connection relation between the line data of the overpass to be processed and the line data.
Specifically, in the present embodiment, the line data of the overpass is stored in a database of the overpass, which is referred to as a storage database. The storage database stores two-dimensional line data and a spatial connection relationship between the line data for each overpass in a certain area. And acquiring the spatial connection relation between the line data of the same overpass and the line data from a storage database as the spatial connection relation between the line data of the overpass to be processed.
The area may be a city, a province or a national area, which is not limited in this embodiment.
It can be understood that the overpass to be treated is the overpass needing to be subjected to three-dimensional modeling.
Wherein the line data includes: the planar size and type of line data. The planar size of each line data is the length of the line data. The types of line data may include: horizontal deck line data, ramp line data and step line data. Wherein the types of line data can be distinguished by an additional field kine value.
Fig. 2 is a schematic diagram of a spatial connection relationship between line data of a overpass to be processed and line data in accordance with a first embodiment of the present invention. As shown in fig. 2, a line segment denoted by 21 represents horizontal deck line data, a line segment denoted by 22 represents ramp line data or step line data, and a represents that the horizontal deck line data has a spatial connection relationship with the ramp line data or the step line data, and is an intersection point of the horizontal deck line data and the ramp line data or the step line data.
And 102, constructing a line segment initial three-dimensional model of the overpass to be processed according to the spatial connection relation between the line data.
Specifically, in the present embodiment, since the line data and the spatial connection relationship in the storage database are the line data of the plane and the spatial connection relationship of the plane. Therefore, before the initial three-dimensional model of the line segment of the overpass to be processed is constructed, the included angle between each line data and the three-dimensional coordinate axis is set. If the three-dimensional coordinate axis is a plane formed by taking a plane parallel to the horizontal bridge deck as an X axis and a Y axis, and the axis perpendicular to the horizontal bridge deck is a Z axis. Then the included angle between the horizontal bridge deck line data and the X axis is 0 degree, the included angle between the horizontal bridge deck line data and the Y axis is 90 degrees, and the included angle between the horizontal bridge deck line data and the Z axis is 90 degrees. The included angle between the slope line data or the step line data and the X axis and the Y axis is 45 degrees, and the included angle between the slope line data or the step line data and the Z axis is 75 degrees. As shown in FIG. 2, since most of the overpasses have symmetrical structures on the slope surfaces or steps on both sides of the horizontal bridge deck, the included angles between the data of the slope surfaces or step lines on both sides and the three-dimensional coordinate axes can be set to be the same.
In this embodiment, the manner of setting the included angle between each line data and the three-dimensional coordinate axis may be other manners, which is not limited in this embodiment.
Specifically, in this embodiment, according to the spatial connection relationship between the line data, the construction of the line segment initial three-dimensional model of the overpass to be processed may be: determining three-dimensional coordinates of intersection points between the line data and the line data according to the space connection relation between the line data and the preset included angle between each line data and the three-dimensional coordinate axis; and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinates of the intersection point between the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
In this embodiment, before the initial three-dimensional model of the segment of the overpass to be processed is constructed, a height segment of the overpass to be processed is virtually obtained, and the size of the height segment and the included angle between the height segment and the line data are set. The construction of the line segment initial three-dimensional model of the overpass to be processed according to the spatial connection relation between the line data can be as follows: and determining the position of an intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data and the size of the virtual height line segment and the included angle between the virtual height line segment and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
In this embodiment, the method for constructing the line segment initial three-dimensional model of the overpass to be processed according to the spatial connection relationship between the line data may be other methods, which is not limited in this embodiment.
The line segment initial three-dimensional model is a model formed by a line segment and a space connection relation between line segments.
And 103, rendering line data in the line segment initial three-dimensional model into surface data to construct a three-dimensional model of the overpass.
Specifically, in this embodiment, each line data in the line segment initial three-dimensional model is rendered as face data, and a three-dimensional model of the overpass is constructed. Because the types of the line data are different, different modes of rendering can be performed according to the different types of the line data in the line segment initial three-dimensional model, and the specific rendering method is not limited in this embodiment.
According to the three-dimensional modeling method for the overpass, the space connection relation between the line data of the overpass to be processed and the line data is obtained; constructing a line segment initial three-dimensional model of the overpass to be processed according to the space connection relation between the line data; rendering line data in the line segment initial three-dimensional model into surface data to construct a three-dimensional model of the overpass. The three-dimensional model of the overpass can be constructed, and if the three-dimensional model of the overpass is put into the electronic map, the three-dimensional effect of the overpass can be displayed in the electronic map. The user can distinguish whether a certain street crossing road is an overpass or a sidewalk directly through the road style in the electronic map, and driving experience of the user is improved.
Example two
Fig. 3 is a flowchart of a method for three-dimensional modeling of an overpass provided by a second embodiment of the present invention, as shown in fig. 3, where the method for three-dimensional modeling of an overpass provided by the present embodiment of the present invention is based on the method for three-dimensional modeling of an overpass provided by the first embodiment of the present invention, and further refines steps 102 and 103, and further includes screening out error line data in a storage database; determining the line data and the space connection relation of the line data of the same overpass according to the space connection relation of all the line data in the storage database, and setting the three-dimensional model of the overpass into an electronic map. The method for three-dimensional modeling of the overpass provided in this embodiment includes the following steps.
Step 301, the error line data in the storage database is screened out.
Further, in this embodiment, the data which has no connection relationship with any other line data is included in the storage database, and this part of data is referred to as "dissimilarity" line data, and "dissimilarity" line data is error line data, and this part of data is screened out.
Step 302, determining the spatial connection relation between the line data of the same overpass and the line data according to the spatial connection relation of all the line data in the storage database.
Further, in this embodiment, in the storage database, the line data having the spatial connection relationship is the line data of the same overpass. And therefore, the spatial connection relation between the line data of the same overpass and the line data is determined according to the spatial connection relation of all the line data.
Step 303, obtaining the line data of the overpass to be processed and the space connection relation between the line data.
Further, in this embodiment, the spatial connection relationship between the line data of the overpass to be processed and the line data is obtained from the spatial connection relationship between the line data of the same overpass and the line data.
Further, in the present embodiment, the line data includes: the planar size of the line data and the line data type. The line data types include: horizontal deck line data, ramp line data and step line data.
The plane size of the line data is as follows: the length of the line data. The planar dimensions of the line data as in fig. 2 are the length of the line data.
And 304, constructing a line segment initial three-dimensional model of the overpass to be processed according to the spatial connection relation between the line data.
Further, in this embodiment, according to the spatial connection relationship between the line data, a line segment initial three-dimensional model of the overpass to be processed is constructed, which specifically includes:
first, the intersection point between line data is determined based on the spatial connection relationship of the line data.
And extending a virtual height line segment of the overpass to be processed from the intersection point between the line data.
And setting the size of the virtual height line segment and the included angle between the virtual height line segment and the line data.
And finally, determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data and the size of the virtual height line segment and the included angle between the virtual height line segment and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
Specifically, in this embodiment, fig. 4 is a schematic diagram of an initial three-dimensional model of a line segment for constructing a overpass to be processed in the second embodiment of the present invention. As shown in fig. 4, first, the intersection point between line data is determined as a based on the spatial connection relationship of the line data. The virtual height line segment extending from the intersection point between the line data to be processed is AO. Setting the height dimension of the virtual height line segment AO and the included angle between the virtual height line segment AO and each line data. The height dimension of the virtual height line segment AO is H, and only the included angle between the virtual height line segment and the slope surface data or the step line data on the Z axis is shown in fig. 4, where the included angle may be 35 degrees. Or other degrees of included angle. And finally, determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data, the size of the virtual height line segment and the included angle between the virtual height line segment and the line data, so as to construct the line segment initial three-dimensional model of the overpass to be processed. In fig. 4, the size of the oblique side AB is the planar size of the ramp surface data or the step data.
Or in this embodiment, according to the spatial connection relationship between the line data, the initial three-dimensional model of the line segment of the overpass to be processed is constructed, which specifically includes:
first, the intersection point between line data is determined based on the spatial connection relationship of the line data.
And secondly, determining the three-dimensional coordinates of the intersection point between the line data and the line data according to the plane size of the line data and the preset included angle between each line data and the three-dimensional coordinate axis.
And finally, determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinates of the intersection point between the line data to construct the line segment initial three-dimensional model of the overpass to be processed.
Specifically, in this embodiment, the included angle between each line data and the three-dimensional coordinate axis, that is, the included angle between each line data and the X-axis, the Y-axis, and the Z-axis, is preset. And determining the three-dimensional coordinates of the intersection point between the line data and the line data according to the plane size of the line data and the preset included angle between each line data and the three-dimensional coordinate axis. And setting the intersection point between the line data and the line data in a three-dimensional coordinate system, determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinate of the intersection point between the line data and the line data, and further constructing the line segment initial three-dimensional model of the overpass to be processed.
And 305, rendering the line data in the line segment initial three-dimensional model into surface data to construct a three-dimensional model of the overpass.
Further, in this embodiment, if the line data is horizontal bridge deck line data or slope line data, rendering the line data in the line segment initial three-dimensional model as the surface data specifically includes:
and rendering horizontal bridge deck line data or slope surface line data in the line segment initial three-dimensional model to two sides parallel to the line by taking the line as a central line, so as to form horizontal bridge deck surface data or slope surface data.
Specifically, in the present embodiment, fig. 5 is a schematic structural diagram of rendering the horizontal bridge deck line data or the ramp surface line data into the surface data in step 305 in the second embodiment of the present invention. As shown in fig. 5, the horizontal bridge deck line data or the slope surface line data in the line segment initial three-dimensional model are rendered with the line as a central line to two sides parallel to the line, so as to form horizontal bridge deck surface data or slope surface data. The midline of the rendered surface data is a line segment corresponding to the horizontal bridge deck line data or the slope surface line data. The arrow direction in fig. 5 is the direction in which rendering is performed.
Further, in this embodiment, if the line data is step line data, rendering the line data in the line segment initial three-dimensional model as surface data specifically includes:
firstly, step line data in a line segment initial three-dimensional model are rendered to two sides parallel to a line by taking the line as a central line, so that horizontal step surface data are formed.
Next, the height of each step line data and the number of steps are set.
And constructing vertical step surface data which are perpendicular to and intersected with the adjacent two horizontal step surface data according to the height of the step line data for the adjacent two steps.
And finally, determining the horizontal step surface data and the vertical step surface data corresponding to each step as the surface data of each step.
Specifically, in this embodiment, since the step data and the slope line data in the line data of the overpass to be processed are identical, the data is data corresponding to one line segment. The three-dimensional step comprises two planes, one is a horizontal step surface and the other is a vertical step surface. And the step line data in the line segment initial three-dimensional model is rendered by taking the line as a middle line to two sides parallel to the line in a similar manner to the rendering of the horizontal bridge deck data or the slope surface data, so that the horizontal step surface data is formed. Next, the height of each step line data and the number of steps are set. The height may be 15 cm or 20 cm, or other values, and the step number may be 40 or 30 or other. Then constructing vertical step surface data which are perpendicular to and intersected with the adjacent two horizontal step surface data. Wherein the height of the vertical step surface data is the same as the height of the step line data. And finally, determining the horizontal step surface data and the vertical step surface data corresponding to each step as the surface data of each step.
And 306, matching the three-dimensional model of the overpass with the original overpass data in the electronic map.
Further, in this embodiment, when the three-dimensional model of the overpass is matched with the original overpass data in the electronic map, the three-dimensional model of the overpass may be converted into a model corresponding to the plane line data, and then the model corresponding to the plane line data is matched with the original overpass data.
The matching algorithm is not limited in this embodiment, and a shape matching or numerical matching mode may be adopted.
And 307, if the three-dimensional model of the overpass is matched with the original overpass data in the electronic map, deleting the original overpass data in the electronic map, and setting the matched three-dimensional model of the overpass to the position of the original overpass data in the electronic map.
Further, if the three-dimensional model of the overpass is matched with the original overpass data in the electronic map, the overpass in the electronic map is replaced by the three-dimensional model. Specifically, deleting the original overpass data in the electronic map, and setting the three-dimensional model of the matched overpass to the position of the original overpass data in the electronic map. When the user drives the vehicle to go out by adopting the electronic map, the three-dimensional model of the overpass can be displayed in the electronic map to guide the user to specifically run above the overpass or run below the overpass. The driving road can be accurately determined, and the wrong road is prevented.
According to the three-dimensional modeling method for the overpass, the false line data in the storage database is screened out, and the spatial connection relation between the line data of the same overpass and the line data is determined according to the spatial connection relation of all the line data in the storage database. Error data can be removed, and more accurate space connection relation between the overpass line data and the line data to be processed can be obtained.
According to the three-dimensional modeling method for the overpass, when the line segment initial three-dimensional model of the overpass to be processed is constructed according to the spatial connection relation between line data and the line data, the intersection point between the line data is determined according to the spatial connection relation between the line data; extending a virtual height line segment of the overpass to be processed from the intersection point between the line data; setting the size of the virtual height line segment and the included angle between the virtual height line segment and line data; and determining the position of an intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data and the size of the virtual height line segment and the included angle between the virtual height line segment and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed. Or determining the intersection point between the line data according to the space connection relation of the line data; determining the three-dimensional coordinates of intersection points between the line data and the line data according to the plane size of the line data and the preset included angle between each line data and the three-dimensional coordinate axis; and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinates of the intersection point between the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed. The built line segment initial three-dimensional model contains the real size information of the plane line data of the overpass, so that the finally built overpass three-dimensional model is more accurate, and the preparation is made for matching with the original overpass data in the electronic map.
Example III
Fig. 6 is a schematic structural diagram of a three-dimensional modeling apparatus for an overpass according to a third embodiment of the present invention, as shown in fig. 6, an apparatus 60 for three-dimensional modeling of an overpass according to the present embodiment includes: the acquisition module 61, the line segment initial three-dimensional model construction module 62 and the overpass three-dimensional model construction module 63.
The acquiring module 61 is configured to acquire line data of the overpass to be processed and a spatial connection relationship between the line data. The segment initial three-dimensional model construction module 62 is configured to construct a segment initial three-dimensional model of the overpass to be processed according to the line data and the spatial connection relationship between the line data. The overpass three-dimensional model construction module 63 is configured to render line data in the line segment initial three-dimensional model into surface data to construct a three-dimensional model of the overpass.
The device for three-dimensional modeling of the overpass provided in this embodiment may implement the technical scheme of the method embodiment shown in fig. 1, and its implementation principle and technical effect are similar, and will not be described here again.
Example IV
Fig. 7 is a schematic structural diagram of an apparatus for three-dimensional modeling of an overpass according to a fourth embodiment of the present invention, as shown in fig. 7, the apparatus 70 for three-dimensional modeling of an overpass according to the present embodiment further includes, based on the apparatus for three-dimensional modeling of an overpass according to the third embodiment of the present invention: screening module 71, determination module 72, matching module 73 and replacement module 74.
Further, the line data includes: the plane size of the line data and the line data type;
the line data types include: horizontal deck line data, ramp line data and step line data.
Further, the segment initial three-dimensional model construction module 62 is specifically configured to:
determining intersection points among the line data according to the space connection relation of the line data; extending a virtual height line segment of the overpass to be processed from the intersection point between the line data; setting the size of the virtual height line segment and the included angle between the virtual height line segment and line data; and determining the position of an intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data and the size of the virtual height line segment and the included angle between the virtual height line segment and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
Alternatively, further, the segment initial three-dimensional model construction module 62 is specifically configured to:
determining intersection points among the line data according to the space connection relation of the line data; determining the three-dimensional coordinates of intersection points between the line data and the line data according to the plane size of the line data and the preset included angle between each line data and the three-dimensional coordinate axis; and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinates of the intersection point between the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
Further, if the line data is horizontal bridge deck line data or slope line data, the overpass three-dimensional model building module 63 is specifically configured to: and rendering horizontal bridge deck line data or slope surface line data in the line segment initial three-dimensional model to two sides parallel to the line by taking the line as a central line, so as to form horizontal bridge deck surface data or slope surface data.
Further, if the line data is step line data, the overpass three-dimensional model building module 63 is specifically configured to: step line data in the line segment initial three-dimensional model are rendered to two sides parallel to the line by taking the line as a central line, so that horizontal step surface data are formed; setting the height of each step line data and the step number of steps; for two adjacent steps, constructing vertical step surface data which are vertical to and intersected with the two adjacent horizontal step surface data according to the height of the step line data; and determining the horizontal step surface data and the vertical step surface data corresponding to each step as the surface data of each step.
Further, the screening module 71 is configured to screen out error line data in the storage database. A determining module 72, configured to determine the line data and the spatial connection relationship of the line data of the same overpass according to the spatial connection relationship of all the line data in the storage database.
Further, the matching module 73 is configured to match the three-dimensional model of the overpass with the original overpass data in the electronic map. And the replacing module 74 is configured to delete the original overpass data in the electronic map if the three-dimensional model of the overpass matches the original overpass data in the electronic map, and set the matched three-dimensional model of the overpass to the position of the original overpass data in the electronic map.
The device for three-dimensional modeling of the overpass provided in this embodiment may implement the technical scheme of the method embodiment shown in fig. 3, and its implementation principle and technical effect are similar, and will not be described here again.
Example five
Fig. 8 is a schematic structural diagram of a terminal device provided in a fifth embodiment of the present invention, as shown in fig. 8, a terminal device 80 provided in this embodiment includes: memory 81, processor 82 and computer programs.
The computer program is stored in the memory 81 and is configured to be executed by the processor 82 to implement the method for three-dimensional modeling of an overpass provided in the first embodiment of the present invention or the method for three-dimensional modeling of an overpass provided in the second embodiment of the present invention.
The relevant descriptions may be understood correspondingly with reference to the relevant descriptions and effects corresponding to the steps of fig. 1 or fig. 3, and are not repeated here.
Example six
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method for three-dimensional modeling of an overpass provided in the first embodiment of the invention or the method for three-dimensional modeling of an overpass provided in the second embodiment of the invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in hardware plus software functional modules.
Program code for carrying out methods of the present invention may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (16)

1. A method of three-dimensional modeling of an overpass, comprising:
acquiring the space connection relation between line data of the overpass to be processed and the line data;
determining the position of an intersection point between line data in a line segment initial three-dimensional model according to the spatial connection relation between the line data and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed;
according to the line data type, rendering line data in the line segment initial three-dimensional model into surface data according to a rendering mode corresponding to the line data type so as to construct a three-dimensional model of the overpass, wherein the line data type comprises: horizontal bridge deck line data, slope line data and step line data;
the rendering of the line data in the line segment initial three-dimensional model into surface data to construct the three-dimensional model of the overpass further comprises:
matching the three-dimensional model of the overpass with the original overpass data in the electronic map;
and if the three-dimensional model of the overpass is matched with the original overpass data in the electronic map, deleting the original overpass data in the electronic map, and setting the matched three-dimensional model of the overpass to the position of the original overpass data in the electronic map.
2. The method of claim 1, wherein the line data comprises: the planar size of the line data and the line data type.
3. The method according to claim 2, wherein determining the position of the intersection point between the line data in the line segment initial three-dimensional model according to the spatial connection relationship between the line data to construct the line segment initial three-dimensional model of the overpass to be processed specifically comprises:
determining intersection points among the line data according to the space connection relation of the line data;
extending a virtual height line segment of the overpass to be processed from the intersection point between the line data;
setting the size of the virtual height line segment and the included angle between the virtual height line segment and the line data;
and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data, the size of the virtual height line segment and the included angle between the virtual height line segment and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
4. The method according to claim 2, wherein determining the position of the intersection point between the line data in the line segment initial three-dimensional model according to the spatial connection relationship between the line data to construct the line segment initial three-dimensional model of the overpass to be processed specifically comprises:
determining intersection points among the line data according to the space connection relation of the line data;
determining three-dimensional coordinates of intersection points between the line data and the line data according to the plane size of the line data and a preset included angle between each line data and a three-dimensional coordinate axis;
and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinates of the intersection point between the line data and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
5. The method according to claim 3 or 4, wherein if the line data is horizontal deck line data or slope line data, the rendering the line data in the line segment initial three-dimensional model into surface data specifically includes:
and rendering the horizontal bridge deck line data or the slope surface line data in the line segment initial three-dimensional model to two sides parallel to the line by taking the line as a middle line to form horizontal bridge deck surface data or slope surface data.
6. The method according to claim 3 or 4, wherein if the line data is step line data, the rendering the line data in the line segment initial three-dimensional model into face data specifically includes:
rendering the step line data in the line segment initial three-dimensional model to two sides parallel to the line by taking the line as a central line to form horizontal step surface data;
setting the height of each step line data and the step number of steps;
for two adjacent steps, constructing vertical step surface data which are perpendicular to and intersected with two adjacent horizontal step surface data according to the height of the step line data;
and determining the horizontal step surface data and the vertical step surface data corresponding to each step as the surface data of each step.
7. The method of claim 1, further comprising, prior to the obtaining the spatial connection between the line data of the overpass to be processed and the line data:
screening out the error line data in the storage database;
and determining the spatial connection relation between the line data of the same overpass and the line data according to the spatial connection relation of all the line data in the storage database.
8. An apparatus for three-dimensional modeling of an overpass, comprising:
the acquisition module is used for acquiring the space connection relation between the line data of the overpass to be processed and the line data;
the line segment initial three-dimensional model construction module is used for determining the position of an intersection point between line data in the line segment initial three-dimensional model according to the space connection relation between the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed;
the three-dimensional model construction module of the overpass is used for rendering the line data in the line segment initial three-dimensional model into surface data according to the line data type and a rendering mode corresponding to the line data type so as to construct the three-dimensional model of the overpass, and the line data type comprises: horizontal bridge deck line data, slope line data and step line data;
the apparatus further comprises:
the matching module is used for matching the three-dimensional model of the overpass with the original overpass data in the electronic map;
and the replacing module is used for deleting the original overpass data in the electronic map if the three-dimensional model of the overpass is matched with the original overpass data in the electronic map, and setting the matched three-dimensional model of the overpass to the position of the original overpass data in the electronic map.
9. The apparatus of claim 8, wherein the line data comprises: the planar size of the line data and the line data type.
10. The apparatus of claim 9, wherein the line segment initial three-dimensional model construction module is specifically configured to:
determining intersection points among the line data according to the space connection relation of the line data; extending a virtual height line segment of the overpass to be processed from the intersection point between the line data; setting the size of the virtual height line segment and the included angle between the virtual height line segment and the line data; and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the plane size of the line data, the size of the virtual height line segment and the included angle between the virtual height line segment and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
11. The apparatus of claim 9, wherein the line segment initial three-dimensional model construction module is specifically configured to:
determining intersection points among the line data according to the space connection relation of the line data; determining three-dimensional coordinates of intersection points between the line data and the line data according to the plane size of the line data and a preset included angle between each line data and a three-dimensional coordinate axis; and determining the position of the intersection point between the line data and the line data in the line segment initial three-dimensional model according to the three-dimensional coordinates of the intersection point between the line data and the line data so as to construct the line segment initial three-dimensional model of the overpass to be processed.
12. The apparatus according to claim 10 or 11, wherein if the line data is horizontal deck line data or slope line data, the overpass three-dimensional model building module is specifically configured to:
and rendering the horizontal bridge deck line data or the slope surface line data in the line segment initial three-dimensional model to two sides parallel to the line by taking the line as a middle line to form horizontal bridge deck surface data or slope surface data.
13. The apparatus according to claim 10 or 11, wherein if the line data is step line data, the overpass three-dimensional model building module is specifically configured to:
rendering the step line data in the line segment initial three-dimensional model to two sides parallel to the line by taking the line as a central line to form horizontal step surface data; setting the height of each step line data and the step number of steps; for two adjacent steps, constructing vertical step surface data which are perpendicular to and intersected with two adjacent horizontal step surface data according to the height of the step line data; and determining the horizontal step surface data and the vertical step surface data corresponding to each step as the surface data of each step.
14. The apparatus as recited in claim 8, further comprising:
the screening module is used for screening out the error line data in the storage database;
and the determining module is used for determining the line data and the space connection relation of the line data of the same overpass according to the space connection relation of all the line data in the storage database.
15. A terminal device, comprising:
a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of claims 1-7.
16. A computer readable storage medium, having stored thereon a computer program, the computer program being executed by a processor to implement the method of any of claims 1-7.
CN201811176499.6A 2018-10-10 2018-10-10 Method, device, equipment and readable storage medium for three-dimensional modeling of overpass Active CN111104700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811176499.6A CN111104700B (en) 2018-10-10 2018-10-10 Method, device, equipment and readable storage medium for three-dimensional modeling of overpass

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811176499.6A CN111104700B (en) 2018-10-10 2018-10-10 Method, device, equipment and readable storage medium for three-dimensional modeling of overpass

Publications (2)

Publication Number Publication Date
CN111104700A CN111104700A (en) 2020-05-05
CN111104700B true CN111104700B (en) 2024-01-05

Family

ID=70417535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811176499.6A Active CN111104700B (en) 2018-10-10 2018-10-10 Method, device, equipment and readable storage medium for three-dimensional modeling of overpass

Country Status (1)

Country Link
CN (1) CN111104700B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011007755A (en) * 2009-06-29 2011-01-13 Victor Co Of Japan Ltd Navigation device and navigation method
CN103196452A (en) * 2013-04-23 2013-07-10 易图通科技(北京)有限公司 Expressing method and expressing device for relative height of land bridge on true three-dimensional navigation map
CN104807467A (en) * 2014-01-24 2015-07-29 高德信息技术有限公司 Display method and system of navigation map
CN105139750A (en) * 2015-09-30 2015-12-09 百度在线网络技术(北京)有限公司 Display method and apparatus of electronic map
CN105719343A (en) * 2016-01-19 2016-06-29 上海杰图天下网络科技有限公司 Method for constructing virtual streetscape map
CN106127855A (en) * 2016-08-29 2016-11-16 四川华控图形科技有限公司 A kind of magnanimity road network becomes more meticulous three-dimensional modeling and rendering intent in real time
CN106920278A (en) * 2017-03-03 2017-07-04 合肥工业大学 A kind of viaduct three-dimensional modeling method based on Reeb figures
CN107705363A (en) * 2017-10-20 2018-02-16 北京世纪高通科技有限公司 A kind of road Visualization Modeling method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011007755A (en) * 2009-06-29 2011-01-13 Victor Co Of Japan Ltd Navigation device and navigation method
CN103196452A (en) * 2013-04-23 2013-07-10 易图通科技(北京)有限公司 Expressing method and expressing device for relative height of land bridge on true three-dimensional navigation map
CN104807467A (en) * 2014-01-24 2015-07-29 高德信息技术有限公司 Display method and system of navigation map
CN105139750A (en) * 2015-09-30 2015-12-09 百度在线网络技术(北京)有限公司 Display method and apparatus of electronic map
CN105719343A (en) * 2016-01-19 2016-06-29 上海杰图天下网络科技有限公司 Method for constructing virtual streetscape map
CN106127855A (en) * 2016-08-29 2016-11-16 四川华控图形科技有限公司 A kind of magnanimity road network becomes more meticulous three-dimensional modeling and rendering intent in real time
CN106920278A (en) * 2017-03-03 2017-07-04 合肥工业大学 A kind of viaduct three-dimensional modeling method based on Reeb figures
CN107705363A (en) * 2017-10-20 2018-02-16 北京世纪高通科技有限公司 A kind of road Visualization Modeling method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
城市立交桥虚拟现实系统研究;王晶晶等;《建筑科学》;20080320(第03期);全文 *
大型立交桥三维建模方法研究;胡碧松等;《测绘科学》;20080120(第01期);全文 *

Also Published As

Publication number Publication date
CN111104700A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN109271893B (en) Method, device, equipment and storage medium for generating simulation point cloud data
CN107564077B (en) method and device for drawing road network
JP2021185408A (en) Building block data merging method, device, electronic apparatus, computer readable storage medium, and computer program
CN106441276B (en) Motion profile generation method and mobile terminal
CA2682679A1 (en) Partitioning algorithm for building a stratigraphic grid
US8600713B2 (en) Method of online building-model reconstruction using photogrammetric mapping system
Sugihara et al. Automatic generation of 3D building models from complicated building polygons
CN102663800A (en) City building complex and rendering method considering city image
CN106910244A (en) Power equipment internal structure situated cognition method and apparatus
KR101552828B1 (en) Method for Obtaining Polygon Information of Three-dimensional Object Model
CN110008801A (en) Based on the missing element in mobile telemetering data identification numerical map
CN110990919A (en) Three-dimensional GIS route selection design analysis method for urban rail transit
CN114818065A (en) Three-dimensional roadway model building method and device, electronic equipment and storage medium
CN105719342B (en) A kind of the three-dimensional modeling method for visualizing and device of ground fissure geologic body
CN112785708A (en) Method, equipment and storage medium for building model singleization
CN111985081A (en) Logging curve construction method, system, equipment and readable storage medium
CN111104700B (en) Method, device, equipment and readable storage medium for three-dimensional modeling of overpass
CN107703542B (en) Method and device for determining seismic horizon of reverse fault area
CN112948518B (en) Object processing method, device, electronic equipment and computer storage medium
CN114743395A (en) Signal lamp detection method, device, equipment and medium
CN114373051A (en) Map updating method and device, electronic equipment and storage medium
Comes et al. From theory to practice: digital reconstruction and virtual reality in archaeology
Habib et al. Integration of lidar and airborne imagery for realistic visualization of 3d urban environments
CN112529385A (en) Shale gas resource evaluation method and related device
CN111383334A (en) System and method for rendering objects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant