CN110555905A - Method and device for generating three-dimensional overpass model, computer equipment and storage medium - Google Patents

Method and device for generating three-dimensional overpass model, computer equipment and storage medium Download PDF

Info

Publication number
CN110555905A
CN110555905A CN201810563678.9A CN201810563678A CN110555905A CN 110555905 A CN110555905 A CN 110555905A CN 201810563678 A CN201810563678 A CN 201810563678A CN 110555905 A CN110555905 A CN 110555905A
Authority
CN
China
Prior art keywords
overpass
line
data
height
handrail
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.)
Granted
Application number
CN201810563678.9A
Other languages
Chinese (zh)
Other versions
CN110555905B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810563678.9A priority Critical patent/CN110555905B/en
Publication of CN110555905A publication Critical patent/CN110555905A/en
Application granted granted Critical
Publication of CN110555905B publication Critical patent/CN110555905B/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/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Landscapes

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

Abstract

The invention discloses a method, a device, computer equipment and a storage medium for generating a three-dimensional overpass model, wherein the method comprises the following steps: acquiring height information of the overpass; expanding line data in the vector data of the overpass into surface data; and determining the handrail line of the overpass according to the surface data so as to construct a three-dimensional overpass model in the map base map based on the height information, the surface data and the handrail line. By applying the scheme of the invention, the labor cost can be saved, the display effect of the overpass can be improved, and the like.

Description

Method and device for generating three-dimensional overpass model, computer equipment and storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to computer application technologies, and in particular, to a method and an apparatus for generating a three-dimensional overpass model, a computer device, and a storage medium.
[ background of the invention ]
In the traditional map base map generation process, the overpass only has wired data, the front-end presentation effect is poor, and the overpass effect is hardly seen particularly under a three-dimensional (3D) visual angle.
therefore, a three-dimensional overpass model is proposed in the prior art, and is mainly realized by the following two ways.
1) The manual modeling, namely the manual modeling through 3D software, although the mode can better present the overpass effect, the labor cost is increased, and the operator is required to have rich professional knowledge and to be skilled in using the modeling software, and in addition, the mode also has the problems of complex operation, long period and the like.
2) The simple 3D effect is realized by pasting the texture on the line data, the method is simple to realize, the simple effect of the overpass can be quickly established, but the presented effect is very poor and is far from the actual overpass form.
[ summary of the invention ]
in view of the above, the present invention provides a method, an apparatus, a computer device and a storage medium for generating a three-dimensional overpass model.
The specific technical scheme is as follows:
a method of generating a three-dimensional overpass model, comprising:
Acquiring height information of the overpass;
Expanding line data in the vector data of the overpass into surface data;
And determining an armrest line of the overpass according to the surface data so as to construct a three-dimensional overpass model in the map base map based on the height information, the surface data and the armrest line.
according to a preferred embodiment of the present invention, the acquiring the height information of the overpass includes:
Respectively acquiring a lower layer image layer and an upper layer image layer of the overpass;
And determining the height information of the overpass according to the obtained lower layer image layer and the obtained upper layer image layer.
According to a preferred embodiment of the present invention, the determining the height information of the overpass according to the obtained lower layer image layer and the obtained upper layer image layer includes:
Respectively acquiring the relative height of each lower layer image layer at the overpass, and taking the maximum value as a first reference height;
respectively acquiring the relative height of each upper layer image layer at the overpass, and taking the minimum value as a second reference height;
taking the intermediate value of the first reference height and the second reference height as the relative height of the deck of the overpass;
And determining the relative height of the rest part of the overpass according to the relative height of the bridge deck.
According to a preferred embodiment of the present invention, the expanding line data in the vector data of the overpass into plane data includes:
and expanding the line data into surface data through a trigonometric function based on the width information of the overpass.
According to a preferred embodiment of the present invention, after the extending the line data in the vector data of the overpass into the plane data, the method further includes: adding a road surface at a corner;
The determining of the hand rail line of the overpass according to the surface data comprises: and determining the handrail line of the overpass according to the surface data added into the road surface.
According to a preferred embodiment of the present invention, the determining the handrail line of the overpass according to the plane data comprises:
determining the edge line of the face data;
And taking the edge line of the surface data as an armrest line of the overpass.
according to a preferred embodiment of the present invention, after determining the handrail line of the overpass according to the plane data, the method further comprises:
and expanding the handrail line into a handrail surface with a preset width so as to construct the three-dimensional overpass model based on the height information, the surface data and the handrail surface.
An apparatus for generating a three-dimensional overpass model, comprising: a first processing unit, a second processing unit and a third processing unit;
The first processing unit is used for acquiring height information of the overpass;
The second processing unit is used for expanding line data in the vector data of the overpass into surface data;
The third processing unit is configured to determine an armrest line of the overpass according to the surface data, so as to construct a three-dimensional overpass model in the map base map based on the height information, the surface data, and the armrest line.
According to a preferred embodiment of the present invention, the first processing unit obtains a lower layer image layer and an upper layer image layer of the overpass, and determines the height information of the overpass according to the obtained lower layer image layer and upper layer image layer.
According to a preferred embodiment of the present invention, the first processing unit obtains the relative height of each lower layer image layer at the overpass, and uses the maximum value thereof as a first reference height, and obtains the relative height of each upper layer image layer at the overpass, and uses the minimum value thereof as a second reference height, and uses the middle value between the first reference height and the second reference height as the relative height of the bridge deck of the overpass, and determines the relative height of the rest of the overpass according to the relative height of the bridge deck.
According to a preferred embodiment of the present invention, the second processing unit expands the line data into plane data by a trigonometric function based on the width information of the overpass.
according to a preferred embodiment of the present invention, the second processing unit is further configured to, after expanding line data in vector data of the overpass into plane data, add a road surface at a corner;
and the third processing unit determines the handrail line of the overpass according to the surface data added into the road surface.
According to a preferred embodiment of the present invention, the third processing unit determines an edge line of the plane data, and uses the edge line of the plane data as an armrest line of the overpass.
according to a preferred embodiment of the present invention, the third processing unit is further configured to, after determining the handrail line of the overpass according to the plane data, expand the handrail line into a handrail plane with a predetermined width, so as to construct the three-dimensional overpass model based on the height information, the plane data and the handrail plane.
a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as described above when executing the program.
a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method as set forth above.
Based on the introduction, the scheme of the invention can obtain the height information of the overpass, and expand the line data in the vector data of the overpass into the surface data, further, the handrail line of the overpass can be determined according to the surface data, and then the three-dimensional overpass model in the map base map can be constructed based on the obtained height information, the surface data, the handrail line and the like, compared with the prior mode 1), the scheme of the invention does not need manual operation, so that the labor cost is saved, the implementation is simple, compared with the prior mode 2).
[ description of the drawings ]
FIG. 1 is a flow chart of an embodiment of a method of generating a three-dimensional overpass model of the present invention.
fig. 2 is a schematic diagram illustrating the extension of line data into surface data by trigonometric function according to the present invention.
Fig. 3 is a schematic view of the channel surfaces obtained by the expansion of the present invention.
Fig. 4 is a schematic view of the road surface of the present invention.
Fig. 5 is a schematic diagram of a generation method of the road junction surface according to the present invention.
fig. 6 is a schematic diagram of the conversion of face data to peripheral line data according to the present invention.
FIG. 7 is a schematic diagram of the optimization process of the present invention.
fig. 8 is a schematic view of the present invention showing the handrail line extended as a handrail surface.
FIG. 9 is a flowchart of a method for generating a three-dimensional overpass model according to a preferred embodiment of the invention.
FIG. 10 is a schematic structural diagram of the components of an embodiment of the apparatus for generating a three-dimensional overpass model according to the invention.
FIG. 11 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention.
[ detailed description ] embodiments
In order to make the technical solution of the present invention clearer and more obvious, the solution of the present invention is further described below by referring to the drawings and examples.
It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a flow chart of an embodiment of a method of generating a three-dimensional overpass model of the present invention. As shown in fig. 1, the following detailed implementation is included.
In 101, height information of the overpass is acquired.
At 102, line data in the vector data of the overpass is extended into surface data.
In 103, a handrail line of the overpass is determined according to the surface data obtained by expansion, so that a three-dimensional overpass model in the map base map is constructed based on the height information, the surface data and the handrail line.
For a data provider responsible for collecting road data/road network data, height information of an overpass is usually provided, but may not be provided in some cases, if the height information of the overpass is provided by the data provider, the height information of the overpass can be directly used, and if the height information of the overpass is not provided, the height information of the overpass can be determined by combining other image layers.
Preferably, the lower layer image layer and the upper layer image layer of the overpass can be respectively obtained, and then the height information of the overpass is determined according to the obtained lower layer image layer and the obtained upper layer image layer.
According to the prior art, in the map base map drawing process, a hierarchical relation layer is provided to reflect the top-bottom gland relation of each layer, which may be called as a Z point layer.
Specifically, according to the Z-point map layer, the lower map layer and the upper map layer of the overpass can be determined respectively, that is, all the lower map layers covered by the overpass and all the upper map layers covered by the overpass can be determined respectively. And then, respectively acquiring the relative height of each lower layer image layer at the overpass, taking the maximum value as a first reference height, respectively acquiring the relative height of each upper layer image layer at the overpass, taking the minimum value as a second reference height, further taking the intermediate value of the first reference height and the second reference height as the relative height of the bridge deck of the overpass, and determining the relative height of the rest part of the overpass according to the relative height of the bridge deck.
the relative height generally refers to the height relative to the lowest layer of the road surface.
for example, the road conditions of a city such as Chongqing are very complicated, a plurality of map layers (such as roads) are respectively arranged above and below the overpass, wherein the number of the upper layer and the lower layer is 3 respectively, then the relative height of each lower layer at the overpass can be obtained respectively according to the prior art, the maximum value thereof is taken as the first reference height low _ height, and the relative height of each upper layer at the overpass is respectively obtained according to the prior art, the minimum value is taken as a second reference height up _ height, then the intermediate value of low _ height and up _ height can be calculated and taken as the relative height of the deck of the overpass, and, the relative height of the rest of the overpass can be determined based on the slope of the rest of the overpass except the bridge floor, such as the channels of the overpass, according to the form information of the overpass provided by the data provider, so as to obtain the required height information of the overpass.
In addition, the vector data of the overpass provided in the prior art usually only includes line data and attribute information of the overpass, the line data is usually a center line of each channel surface of the overpass, and the attribute information may include width information and the like. If the rendering is directly performed, only a few lines are needed, and the front-end display effect is poor, so that the embodiment proposes that line data in the vector data of the overpass can be expanded into plane data.
Preferably, the line data may be extended into the plane data by a trigonometric function based on the width information of the overpass.
fig. 2 is a schematic diagram illustrating the extension of line data into surface data by trigonometric function according to the present invention. As shown in fig. 2, a and B are two points on a line, and as mentioned above, the line data is usually the center line of each channel surface of the overpass, then four points A1, a2, B1 and B2 can be determined by trigonometric functions according to the width information of the overpass, xdiff and ydiff represent the offset in the x and y directions, respectively, the length of the line segment A1a2 is equal to the width of the overpass, the length of the line segment AA1 is equal to 1/2 of the width, and similarly, the length of the line segment B1B2 is equal to the width, the length of the line segment BB1 is equal to 1/2 of the width, and the line segment AB is perpendicular to the line segments A1a2 and B1B2, so that the surface where A1, a2, B1 and B2 are located can be extended based on the two points a and B.
according to the mode, the line data of the overpass can be expanded into the plane data, and therefore all the channel planes of the overpass are obtained. As shown in fig. 3, fig. 3 is a schematic view of each channel surface obtained by expanding the present invention.
in order to improve the presentation effect, corner smoothing processing can be further introduced, namely, a road surface is added at a corner. As shown in fig. 4, fig. 4 is a schematic view of the road surface of the present invention.
Fig. 5 is a schematic diagram of a generation method of the road junction surface according to the present invention. As shown in fig. 5, a point N where two dotted lines intersect is called a corner point, a dis distance is determined, points which are located at dis distances from the corner point in the dotted lines on the left side, the right side and the upper side of the corner point are respectively found, 3 points are total, for each found point, a line perpendicular to the dotted line can be respectively led out, so that an intersection point of the line and a solid line above and below or left and right of the point is obtained, such as points 1, 2, 3, 4, 5 and 6 shown in fig. 5, and then a convex hull can be generated according to the points 1, 2, 3, 4, 5 and 6, where the convex hull is a required intersection surface.
The dis distance may be preset, or the distances between each point in the rectangular region where the horizontal and vertical surfaces overlap and the corner point shown in fig. 5 may be calculated, respectively, and the maximum value of the distances is selected, and the selected maximum value is added with a predetermined offset to be used as the dis distance.
Whether the intersection surface is added or not can be determined according to actual needs, if the intersection surface is not added, the handrail line of the overpass can be determined according to the surface data after the surface data is obtained, and if the intersection surface is added, the handrail line of the overpass can be determined according to the surface data after the intersection surface is added.
Preferably, an edge line of the face data may be determined, which is taken as an armrest line of the overpass.
the overpass usually has a handrail (railing), and the handrail is usually at the edge of the overpass, so it is proposed in this embodiment that the handrail of the overpass can be constructed based on the edge line of the plane data, and the edge line is used as the handrail line of the overpass.
Specifically, the face data may be first converted into peripheral line data, and then the resultant peripheral line data may be subjected to optimization processing, such as removal of the outlet line and the intermediate excess handrail line, to thereby obtain a desired edge line.
As shown in fig. 6 and 7, fig. 6 is a schematic diagram of the conversion of the face data into the peripheral line data according to the present invention, and fig. 7 is a schematic diagram of the optimization process according to the present invention.
In view of the fact that the handrail is rendered by directly using the line data, the handrail is thin and has a poor presentation effect, the embodiment further provides that the handrail line can be expanded into a handrail surface with a predetermined width, that is, the handrail line is expanded into a narrow surface, and the specific value of the predetermined width can be determined according to actual needs.
Fig. 8 is a schematic view of the present invention showing the handrail line extended as a handrail surface. As shown in fig. 8, by line-to-plane transformation, the desired handrail face can be obtained.
After the height information, the face data, the armrest face and the like of the overpass are obtained according to the above modes, new vector data can be generated according to the contents, the subsequent front end can perform rendering by using the rendering library according to the newly generated vector data, the configuration file and the like to obtain a three-dimensional overpass model presented on the map base map, wherein the armrest face can be rendered into a very thick face to improve the presentation effect.
Based on the above description, fig. 9 is a flowchart of a preferred embodiment of the method for generating a three-dimensional overpass model according to the present invention. As shown in fig. 9, the following detailed implementation is included.
in 901, height information of an overpass is obtained.
if the lower layer picture layer and the upper layer picture layer of the overpass can be respectively obtained, the height information of the overpass is determined according to the obtained lower layer picture layer and the obtained upper layer picture layer.
at 902, line data in vector data of the overpass is extended into surface data.
Namely, each channel surface of the overpass is obtained through line surface expansion.
At 903, a road surface is added at the corner.
If the overpass is of an I-shaped structure, road surface can be added at the upper corner and the lower corner respectively.
At 904, the hand rail line of the overpass is determined from the face data added to the road face.
For example, the edge line of the surface data may be used as the handrail line.
In 905, the handrail line is expanded into a handrail surface with a predetermined width, so that the front end constructs a three-dimensional overpass model based on the acquired height information, surface data, handrail surface and the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
in short, by adopting the scheme of each method embodiment of the invention, manual operation is not needed, so that the labor cost is saved, the realization is simple, in addition, a three-dimensional overpass model can be accurately constructed according to the height information, the surface data, the handrail line and the like of the overpass, the actual overpass shape is met, the overpass presenting effect is improved, and in addition, the overpass presenting effect can be further improved by adding a road surface, expanding the handrail line into the handrail surface and the like.
The above is a description of method embodiments, and the embodiments of the present invention are further described below by way of apparatus embodiments.
FIG. 10 is a schematic structural diagram of the components of an embodiment of the apparatus for generating a three-dimensional overpass model according to the invention. As shown in fig. 10, includes: a first processing unit 1001, a second processing unit 1002, and a third processing unit 1003.
A first processing unit 1001 for acquiring height information of the overpass.
The second processing unit 1002 is configured to extend line data in the vector data of the overpass into plane data.
The third processing unit 1003 is configured to determine a handrail line of the overpass according to the acquired surface data, so as to construct a three-dimensional overpass model in the map base map based on the height information, the surface data, and the handrail line.
For a data provider responsible for collecting road data/road network data, height information of an overpass is usually provided, but may not be provided in some cases, if the height information of the overpass is provided by the data provider, the height information of the overpass can be directly used, and if the height information of the overpass is not provided, the height information of the overpass can be determined by combining other image layers.
Specifically, the first processing unit 1001 may respectively obtain a lower layer image layer and an upper layer image layer of the overpass, and determine height information of the overpass according to the obtained lower layer image layer and the obtained upper layer image layer.
The first processing unit 1001 may respectively obtain the relative height of each lower layer image layer at the overpass, and use the maximum value thereof as the first reference height, and may respectively obtain the relative height of each upper layer image layer at the overpass, and use the minimum value thereof as the second reference height, and then may use the intermediate value between the first reference height and the second reference height as the relative height of the bridge deck of the overpass, and may determine the relative height of the rest of the overpass according to the relative height of the bridge deck.
in addition, the vector data of the overpass provided in the prior art usually only includes line data and attribute information of the overpass, the line data is usually a center line of each channel surface of the overpass, and the attribute information may include width information and the like. If the rendering is directly performed, only a few lines are needed, and the front-end display effect is poor, so that the embodiment proposes that line data in the vector data of the overpass can be expanded into plane data.
Preferably, the second processing unit 1002 may extend the line data into the plane data by a trigonometric function based on the width information of the overpass.
In order to improve the presentation effect, the second processing unit 1002 may further add a road surface at the corner after expanding the line data in the vector data of the overpass into the plane data, and accordingly, the third processing unit 1003 may determine the handrail line of the overpass according to the plane data added after the road surface.
The third processing unit 1003 may determine an edge line of the facet data, and use the edge line of the facet data as an armrest line of the overpass. For example, the face data may be first converted into peripheral line data, and then the resultant peripheral line data may be subjected to optimization processing, such as removal of the exit line and the intermediate excess handrail line, to thereby obtain a desired edge line.
Considering that the handrail is rendered by directly using the line data to be thin and have poor rendering effect, for this reason, the third processing unit 1003 may further expand the handrail line into a handrail surface with a predetermined width after determining the handrail line of the overpass according to the surface data, so that the front end constructs a three-dimensional overpass model based on the height information, the surface data, the handrail surface, and the like.
For a specific work flow of the apparatus embodiment shown in fig. 10, please refer to the corresponding description in the foregoing method embodiment, which is not repeated.
In a word, the scheme of the embodiment of the device of the invention does not need manual operation, so that the labor cost is saved, the implementation is simple, in addition, a three-dimensional overpass model can be accurately constructed according to the height information, the surface data, the handrail line and the like of the overpass, the actual overpass shape is met, the overpass presenting effect is improved, in addition, the overpass presenting effect can be further improved by adding a road surface and expanding the handrail line into the handrail surface and the like.
FIG. 11 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention. The computer system/server 12 shown in FIG. 11 is only an example and should not be taken to limit the scope of use and functionality of embodiments of the present invention.
As shown in FIG. 11, computer system/server 12 is in the form of a general purpose computing device. The components of computer system/server 12 may include, but are not limited to: one or more processors (processing units) 16, a memory 28, and a bus 18 that connects the various system components, including the memory 28 and the processors 16.
bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 11, and commonly referred to as a "hard drive"). Although not shown in FIG. 11, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The computer system/server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the computer system/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the computer system/server 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the computer system/server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 20. As shown in FIG. 11, the network adapter 20 communicates with the other modules of the computer system/server 12 via the bus 18. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
the processor 16 executes various functional applications and data processing by executing programs stored in the memory 28, for example, implementing the methods in the embodiments shown in fig. 1 or fig. 9.
The invention also discloses a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, will carry out the method of the embodiments shown in fig. 1 or fig. 9.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
in the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method, etc., can be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods 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 purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (16)

1. A method of generating a three-dimensional overpass model, comprising:
Acquiring height information of the overpass;
Expanding line data in the vector data of the overpass into surface data;
And determining an armrest line of the overpass according to the surface data so as to construct a three-dimensional overpass model in the map base map based on the height information, the surface data and the armrest line.
2. The method of claim 1,
The acquiring of the height information of the overpass comprises the following steps:
Respectively acquiring a lower layer image layer and an upper layer image layer of the overpass;
And determining the height information of the overpass according to the obtained lower layer image layer and the obtained upper layer image layer.
3. The method of claim 2,
The determining the height information of the overpass according to the obtained lower layer image layer and the obtained upper layer image layer comprises the following steps:
Respectively acquiring the relative height of each lower layer image layer at the overpass, and taking the maximum value as a first reference height;
Respectively acquiring the relative height of each upper layer image layer at the overpass, and taking the minimum value as a second reference height;
taking the intermediate value of the first reference height and the second reference height as the relative height of the deck of the overpass;
And determining the relative height of the rest part of the overpass according to the relative height of the bridge deck.
4. The method of claim 1,
The expanding line data in the vector data of the overpass into surface data comprises:
And expanding the line data into surface data through a trigonometric function based on the width information of the overpass.
5. the method of claim 1,
After the expanding the line data in the vector data of the overpass into the plane data, the method further includes: adding a road surface at a corner;
The determining of the hand rail line of the overpass according to the surface data comprises: and determining the handrail line of the overpass according to the surface data added into the road surface.
6. The method of claim 1,
the determining of the hand rail line of the overpass according to the surface data comprises:
Determining the edge line of the face data;
and taking the edge line of the surface data as an armrest line of the overpass.
7. The method of claim 1,
After the handrail line of the overpass is determined according to the surface data, the method further comprises the following steps:
and expanding the handrail line into a handrail surface with a preset width so as to construct the three-dimensional overpass model based on the height information, the surface data and the handrail surface.
8. An apparatus for generating a three-dimensional overpass model, comprising: a first processing unit, a second processing unit and a third processing unit;
The first processing unit is used for acquiring height information of the overpass;
The second processing unit is used for expanding line data in the vector data of the overpass into surface data;
The third processing unit is configured to determine an armrest line of the overpass according to the surface data, so as to construct a three-dimensional overpass model in the map base map based on the height information, the surface data, and the armrest line.
9. The apparatus of claim 8,
The first processing unit respectively obtains a lower layer image layer and an upper layer image layer of the overpass, and height information of the overpass is determined according to the obtained lower layer image layer and the obtained upper layer image layer.
10. The apparatus of claim 9,
The first processing unit respectively obtains the relative height of each lower layer image layer at the overpass, the maximum value of the relative heights is used as a first reference height, the relative height of each upper layer image layer at the overpass is respectively obtained, the minimum value of the relative heights is used as a second reference height, the middle value of the first reference height and the second reference height is used as the relative height of the bridge deck of the overpass, and the relative height of the rest part of the overpass is determined according to the relative height of the bridge deck.
11. the apparatus of claim 8,
and the second processing unit expands the line data into surface data through a trigonometric function based on the width information of the overpass.
12. The apparatus of claim 8,
The second processing unit is further configured to add a road surface at a corner after expanding line data in the vector data of the overpass into surface data;
And the third processing unit determines the handrail line of the overpass according to the surface data added into the road surface.
13. The apparatus of claim 8,
And the third processing unit determines the edge line of the surface data and takes the edge line of the surface data as the handrail line of the overpass.
14. The apparatus of claim 8,
The third processing unit is further configured to, after determining the handrail line of the overpass according to the plane data, expand the handrail line into a handrail plane with a predetermined width, so as to construct the three-dimensional overpass model based on the height information, the plane data, and the handrail plane.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of any one of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN201810563678.9A 2018-06-04 2018-06-04 Method, device, computer equipment and storage medium for generating three-dimensional overpass model Active CN110555905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810563678.9A CN110555905B (en) 2018-06-04 2018-06-04 Method, device, computer equipment and storage medium for generating three-dimensional overpass model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810563678.9A CN110555905B (en) 2018-06-04 2018-06-04 Method, device, computer equipment and storage medium for generating three-dimensional overpass model

Publications (2)

Publication Number Publication Date
CN110555905A true CN110555905A (en) 2019-12-10
CN110555905B CN110555905B (en) 2023-05-23

Family

ID=68735989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810563678.9A Active CN110555905B (en) 2018-06-04 2018-06-04 Method, device, computer equipment and storage medium for generating three-dimensional overpass model

Country Status (1)

Country Link
CN (1) CN110555905B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060164416A1 (en) * 2005-01-25 2006-07-27 Samsung Electronics Co., Ltd. Method, apparatus, and medium for three-dimensionally transforming two-dimensional flyover data in three-dimensional graphics environment and for three-dimensionally visualizing two-dimensional flyover data in three-dimensional graphics environment
JP2011007755A (en) * 2009-06-29 2011-01-13 Victor Co Of Japan Ltd Navigation device and navigation method
CN102635059A (en) * 2012-02-23 2012-08-15 朱海涛 Bridge investigation method
CN105787921A (en) * 2015-08-19 2016-07-20 南京大学 Method for reconstructing large-scale complex flyover 3D model by using airborne LiDAR data
CN107609321A (en) * 2017-11-02 2018-01-19 中铁十局集团有限公司 Continuous bridge parametric modeling method based on Revit platforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060164416A1 (en) * 2005-01-25 2006-07-27 Samsung Electronics Co., Ltd. Method, apparatus, and medium for three-dimensionally transforming two-dimensional flyover data in three-dimensional graphics environment and for three-dimensionally visualizing two-dimensional flyover data in three-dimensional graphics environment
JP2011007755A (en) * 2009-06-29 2011-01-13 Victor Co Of Japan Ltd Navigation device and navigation method
CN102635059A (en) * 2012-02-23 2012-08-15 朱海涛 Bridge investigation method
CN105787921A (en) * 2015-08-19 2016-07-20 南京大学 Method for reconstructing large-scale complex flyover 3D model by using airborne LiDAR data
CN107609321A (en) * 2017-11-02 2018-01-19 中铁十局集团有限公司 Continuous bridge parametric modeling method based on Revit platforms

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KJHHS: "道路桥梁三维模型", 《HTTPS://MAX.BOOK118.COM/HTML/2016/1114/63044744.SHTM》 *
RAU, J. Y.等: ":Bridge Crack Detection Using Multi-Rotary Uav and Object-Base Image Analysis", 《SPRS INTERNATIONAL ARCHIVES OF THE PHOTOGRAMMETRY, REMOTE SENSING AND SPATIAL INFORMATION SCIENCES》 *
王晓峰: "铝合金人行桥舒适性研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *

Also Published As

Publication number Publication date
CN110555905B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN108229740B (en) Method and device for determining business circle boundary, server and storage medium
US20150206028A1 (en) Point cloud reduction apparatus, system, and method
KR20230145197A (en) Methods, devices, computer devices and storage media for determining spatial relationships
US20120139916A1 (en) System and associated methodology for three-dimensional rendering of data containing clipping shapes
CN112785708A (en) Method, equipment and storage medium for building model singleization
KR20090042243A (en) System and method for lightweight polygonal topology representation
JP2024502119A (en) Spatial 2-tuple determination method, device, computer device, and storage medium
US11010013B2 (en) Providing visual control guidance on a display
KR20160004096A (en) Mipmap Generation Method and apparatus
CN113971307A (en) Incidence relation generation method and device, storage medium and electronic equipment
CN115668271A (en) Method and device for generating plan
CN110555905B (en) Method, device, computer equipment and storage medium for generating three-dimensional overpass model
CN111459266A (en) Method and device for operating 2D application in virtual reality 3D scene
CN113469398A (en) Path planning method and device, electronic equipment and storage medium
CN114170381A (en) Three-dimensional path display method and device, readable storage medium and electronic equipment
CN112686806B (en) Image splicing method and device, electronic equipment and storage medium
CN111488768B (en) Style conversion method and device for face image, electronic equipment and storage medium
CN110837707B (en) Finite element analysis system, method, computer equipment and storage medium
CN114004918A (en) Poster generation method, device and medium
CN108021331B (en) Gap eliminating method, device, equipment and storage medium
JP2001184373A (en) Method and system for generating drawing and computer readable recording medium stored with drawing generation program generating two-dimensional drawing from three-dimensional model data
CN107464131B (en) Advertisement display method, device, equipment and readable medium for three-dimensional city model
RU2643431C2 (en) Method and server of curve simplification
CN112465692A (en) Image processing method, device, equipment and storage medium
CN112465943B (en) Color rendering method and device, electronic equipment and storage medium

Legal Events

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