DYNAMIC INTERACTIVE SIMULATION METHOD FOR RECOGNITION AND PLANNING OF URBAN VIEWING CORRIDOR
20220309200 · 2022-09-29
Inventors
- Junyan YANG (Nanjing, Jiangsu, CN)
- Xiao ZHU (Nanjing, Jiangsu, CN)
- Yi SHI (Nanjing, Jiangsu, CN)
- Qingyao ZHANG (Nanjing, Jiangsu, CN)
- Xun ZHANG (Nanjing, Jiangsu, CN)
- Beixiang SHI (Nanjing, Jiangsu, CN)
Cpc classification
G06F3/011
PHYSICS
International classification
Abstract
The present invention discloses a dynamic interactive simulation method for recognition and planning of an urban viewing corridor. The method includes: constructing a sand table of morphology data of an urban space around an urban viewing point; creating a visual sphere, calculating a blocking point set, acquiring a three-dimensional view field of the viewing point, and obtaining an effective projection plane of a sight line of the viewing point; extracting a visual three-dimensional road model, calculating projection curvatures of road centerlines at points equidistant from each other, and screening and recognizing a viewing corridor; collecting a real scene, and inputting the collected real scene to a three-dimensional interactive display platform; inputting a new planning scheme to the three-dimensional interactive display platform, and simulating an urban viewing corridor with the planning scheme superimposed; and outputting, by using augmented reality glasses, a dynamic interactive VR scene of the urban viewing corridor space after the urban planning scheme is superimposed. The present invention combines a real dynamic viewing process, and uses a three-dimensional interactive display platform for planning simulation and interactive output, thereby providing a basic rational support for further optimization and decision-making of urban planning and design.
Claims
1. A dynamic interactive simulation method for recognition and planning of an urban viewing corridor, the method comprising the following steps: (1) constructing a sand table of morphology data of an urban space around an urban viewing point based on vector data comprising terrains, architectures, and roads; (2) creating a visual sphere according to the viewing point and a maximum visual distance, calculating a blocking point set, acquiring a three-dimensional view field of the viewing point, and obtaining an effective projection plane of a sight line of the viewing point; (3) extracting a visual three-dimensional road model, calculating projection curvatures of road centerlines at points equidistant from each other, and screening and recognizing a viewing corridor; (4) collecting a real scene of a recognized current urban viewing corridor space by using a backpack three-dimensional laser scanner, and inputting the collected real scene to a three-dimensional interactive display platform; (5) inputting a new planning scheme to the three-dimensional interactive display platform, and simulating an urban viewing corridor with the planning scheme superimposed; and (6) outputting, by using augmented reality glasses, a dynamic interactive VR scene of the urban viewing corridor space after the urban planning scheme is superimposed.
2. The dynamic interactive simulation method for recognition and planning of an urban viewing corridor according to claim 1, wherein step (1) comprises the following steps: (11) acquiring coordinates 0 (x, y, z) of the viewing point, wherein (x, y) are coordinate values of a plane where the viewing point is located, and z is a plane height of a highest point of a scene object where the viewing point is located; acquiring two-dimensional vector data comprising information about an urban terrain, an architecture, and a road within a certain range around an observation point, wherein the architecture data is a closed polygon and comprises information about a quantity of architecture storeys, and the road data comprises information about a centerline, a road width, and a road elevation point of each road; (12) adjusting coordinates of the vector data to be consistent, loading the coordinates into a SuperMap platform, and performing stretching by using a storey height of 3 m based on the information about the architecture storeys, to obtain a three-dimensional architecture model; and generating a three-dimensional road model based on the information about the road centerline and the road elevation point and the road width value, so as to establish a basic sand table of the morphology data of the urban space; and (13) rasterizing, based on the obtained basic sand table of the morphology data of the urban space, a surface without the three-dimensional architecture model that is deemed a ground plane.
3. The dynamic interactive simulation method for recognition and planning of an urban viewing corridor according to claim 1, wherein step (2) comprises the following steps: (21) creating a visual sphere according to the coordinates O (x, y, z) of the viewing point: creating the visual sphere by using a maximum visible distance R in a current environment as a radius, and drawing a vertical line from a center of the sphere to a surface of the sphere at an interval of an azimuth angle α, wherein the vertical line is deemed the sight line for observing the viewing point; (22) acquiring a point of intersection O.sub.i (x.sub.1, y.sub.1, z.sub.1) of each generated azimuth line and the covered three-dimensional architecture model in the sphere, wherein the point of intersection is deemed the blocking point of the sight line, and forming a blocking point set N{O.sub.1, O.sub.2, O.sub.3, . . . , On}; and connecting all blocking points in the point set to acquire the three-dimensional view field of the viewing point; and (23) performing upward lifting in unit of 1.6 m based on ground plane grids of the sand table, wherein the obtained plane grids are deemed a human viewing plane where the observation point is located; and performing projection onto the human viewing plane in a y-axis direction according to the three-dimensional view field of the viewing point, wherein an obtained projection plane is denoted as the effective projection plane of the sight line of the viewing point.
4. The dynamic interactive simulation method for recognition and planning of an urban viewing corridor according to claim 1, wherein step (3) comprises the following steps: (31) calculating a point of intersection of the obtained effective projection plane of the sight line of the viewing point and the three-dimensional road model, and intercepting a road unit model in an effective sight line; (32) extracting a centerline of the intercepted road unit model, and dotting the centerline equidistantly at an interval of 2 m to obtain a point set n{P.sub.1, P.sub.2, P.sub.3, . . . , P.sub.n}, wherein coordinates of a midpoint P.sub.i are (X.sub.i, Y.sub.i, Z.sub.i), and connecting adjacent points in the point set to form a continuous polyline; calculating a projection curvature K.sub.p of the centerline on a horizontal plane, wherein a calculation formula is as follows:
r.sub.i={right arrow over (P.sub.i−lP.sub.i)}=(x.sub.i−x.sub.i−l, y.sub.i−y.sub.i−l, z.sub.i−z.sub.i−l) , i=1,2 , . . . , n; and (33) eliminating a three-dimensional road model having K.sub.p>4/km according to the calculated road projection curvature, and using a remaining three-dimensional road model as a current viewing corridor of the viewing point.
5. The dynamic interactive simulation method for recognition and planning of an urban viewing corridor according to claim 1, wherein step (4) comprises the following steps: (41) inputting the viewing corridor automatically recognized in step (3) to a two-dimensional plane database, placing a 5 m*5 m flat grid in the database, and determining a real scene collection route according to the viewing corridor space in the planning scheme, so as to serially connect, by a shortest path, all streets and public spaces where the viewing corridor is located; (42) assembling a wearable high-precision three-dimensional scanner at a starting point of the collection route, wherein the scanner is required to have a lidar and a panoramic camera for collection, the scanning accuracy of the lidar is required to reach 300,000 dots per second, and a resolution of the panoramic camera is required to reach 20 million pixels; and debugging the device and setting parameters after the device is assembled; (43) assisting, by auxiliary personnel, a tester in wearing the device on a back of the tester, adjusting laces and buttons of the device, to ensure that the device does not shake during normal walking, and adjusting a lens height to a human eye height of 1.6 m; (44) walking, by a tester, at a constant speed of 1.0-1.5 m/s according to the planned real scene collection route to collect data; and (45) inputting the collected data to the SuperMap three-dimensional data platform by using a computer.
6. The dynamic interactive simulation method for recognition and planning of an urban viewing corridor according to claim 1, wherein step (5) comprises the following steps: (51) arranging the planning scheme, extracting objects in the scheme that have a large volume and affect a landscape of the viewing corridor, such as terrains, architectures, trees, and roads, classifying the objects into layers, and successively naming the objects after terrain, architecture, tree, road, landscape, and others, and importing the data into the SuperMap three-dimensional data platform; (52) combining, in the three-dimensional data platform, the planning scheme data extracted in (51) with the current three-dimensional real scene data obtained in step (4), and adjusting the coordinates, so that the two pieces of data are in a same coordinate system; (53) checking model errors after the combination, and modifying the errors in the planning scheme, wherein if there is a difference between data about planned to-be-retained architectures and landscapes and a current situation, the real scene data is used; and when data about a planned new architecture exceeds a boundary line, a position of the architecture is required to be adjusted; removing planned to-be-removed current road and architectures from the current data; and obtaining the planned three-dimensional model data; (54) setting a plurality of viewing corridor points in the new three-dimensional model database according to the viewing corridor generated in step (3), generating, in the SuperMap database, a new urban viewing corridor after the planning simulation, and exporting the new urban viewing corridor.
7. The dynamic interactive simulation method for recognition and planning of an urban viewing corridor according to claim 1, wherein step (6) is implemented by using the following process: outputting a view field image of the urban dynamic viewing corridor by using an externally connected dedicated drawing device, and inputting an urban dynamic viewing corridor at each designated measurement point and a number corresponding to the urban dynamic viewing corridor to an Excel form, to obtain standard measurement panel data, wherein the auxiliary device comprises a measuring device, a built-in global positioning system (GPS) device of the measuring device, a fixing device of a gimbal tripod, a sunroof type or convertible mobile transportation device, a computer analysis device capable of image transmission and sharing, and a dedicated drawing device externally connected to a computer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The sole FIGURE is a flowchart of the present invention.
DETAILED DESCRIPTION
[0044] The present invention is further described in detail with reference to the accompanying drawings. As shown in the FIGURE, a dynamic interactive simulation method for recognition and planning of an urban viewing corridor provided in the present invention specifically includes the following steps.
[0045] Step 1: Construct a sand table of morphology data of an urban space around an urban viewing point based on vector data including terrains, architectures, and roads.
[0046] 1.1) Acquire coordinates 0 (x, y, z) of the viewing point, where (x, y) are coordinate values of a plane where the viewing point is located, and z is a plane height of a highest point of a scene object where the viewing point is located, and acquire two-dimensional vector data including information about urban terrains, architectures, and roads within a certain range around an observation point (a specific position where a viewing point is viewed), where the architecture data is a closed polygon including information about a quantity of architecture storeys, and the road data includes information about a centerline, a road width, and a road elevation of each road.
[0047] 1.2) Adjust coordinates of the vector data to be consistent, load the coordinates into a SuperMap platform, and perform stretching by using a storey height of 3 m based on the information about the architecture storeys, to obtain a three-dimensional architecture model; and generate a three-dimensional road model based on the information about the road centerline and the road elevation point and the road width value, so as to establish a basic sand table of morphology data of an urban space.
[0048] 1.3) Rasterize, based on the obtained basic sand table of the morphology data of the urban space, a surface without the three-dimensional architecture model that is deemed a ground plane.
[0049] Step 2: Create a visual sphere according to the viewing point and a maximum visual distance, calculate a blocking point set, acquire a three-dimensional view field of the viewing point, and obtain an effective projection plane of a sight line of the viewing point.
[0050] 2.1) Create a visual sphere according to the coordinates 0 (x, y, z) of the viewing point, create the visual sphere by using a maximum visible distance R in a current environment as a radius, and draw a vertical line from a center of the sphere to a surface of the sphere at an interval of an azimuth angle α, where the vertical line is deemed a sight line for observing the viewing point.
[0051] 2.2) Acquire a point of intersection O.sub.1(x.sub.1, y.sub.1, z.sub.1) between each generated azimuth line and the covered three-dimensional architecture model in the sphere, where the point of intersection is deemed a blocking point of the sight line, so as to form a blocking point set N{O.sub.1, O.sub.2, O.sub.3, On}; and connect all blocking points in the point set to acquire the three-dimensional view field of the viewing point.
[0052] 2.3) Perform upward lifting in unit of 1.6 m based on ground plane grids of the sand table, where the obtained plane grids are deemed a human viewing plane where the observation point is located; and perform projection onto the human viewing plane in a y-axis direction according to the three-dimensional view field of the viewing point, where an obtained projection plane is denoted as the effective projection plane of the sight line of the viewing point.
[0053] Step 3: Extract a visual three-dimensional road model, calculate projection curvatures of road centerlines at points equidistant from each other, and screen and recognize a viewing corridor.
[0054] 3.1) Calculate a point of intersection of the obtained effective projection plane of the sight line of the viewing point and the three-dimensional road model, and intercept a road unit model in an effective sight line.
[0055] 3.2) Extract a centerline of the intercepted road unit model, dot the centerline equidistantly at an interval of 2 m to obtain the point set n {P.sub.1, P.sub.2, P.sub.3, . . . , Pn}, where coordinates of a midpoint P.sub.i are (X.sub.i, Y.sub.i, Z.sub.i), and connect adjacent points in the point set to form a continuous polyline. On this basis, a projection curvature K.sub.p of the centerline on a horizontal plane is calculated, and the calculation formula is as follows:
[0056] where n is a total quantity of points in the set {P.sub.1, P.sub.2, P.sub.3, . . . , P.sub.n}, i=0, 1, . . . , n, the points are arranged in ascending order according to a coordinate z of the midpoint P.sub.i (X.sub.i, Y.sub.i, Z.sub.i), r.sub.i is a vector of connecting adjacent points, and
r.sub.i={right arrow over (P.sub.i−lP.sub.i)}=(x.sub.i−x.sub.i−l, y.sub.i−y.sub.i−l, z.sub.i−z.sub.i−l) , i=1,2 , . . . , n.
[0057] 3.3) Eliminate a three-dimensional road model having K.sub.p>4/km according to the calculated road projection curvature, and deem the remaining road three-dimensional road model to be a current viewing corridor of the viewing point.
[0058] Step 4: Collect a real scene of a recognized current urban landscape corridor space scene by using a backpack three-dimensional laser scanner-ZEB, and input the collected real scene to a three-dimensional interactive display platform.
[0059] 4.1) Input the viewing corridor automatically recognized in step 3 to the two-dimensional plane database, place a 5 m*5 m flat grid in the database, and determine a real scene collection route according to the viewing corridor space in the planning scheme, so as to serially connect, by a shortest path, all streets and public spaces where the viewing corridor is located.
[0060] 4.2) Assemble a wearable high-precision three-dimensional scanner at a starting point of the collection route, where the scanner is required to have a lidar and a panoramic camera for collection, the scanning accuracy of the lidar is required to reach 300,000 dots per second, and a resolution of the panoramic camera is required to reach 20 million pixels. It is also necessary to debug the device and set parameters after the device is assembled. The parameters specifically include battery detection, GPS calibration, and camera settings. The camera shooting frequency needs to be set to 7 real scene photos per second.
[0061] 4.3) Auxiliary personnel assists a tester in wearing the device on a back of the tester, adjusts laces and buttons of the device, to ensure that the device does not shake during normal walking, and adjusts a lens height to a human eye height of 1.6 m.
[0062] 4.4) A tester walks at a constant speed of 1.0-1.5 m/s according to the planned real scene collection route to collect data. During the test, the tester is not allowed to shake the body or change the speed drastically, and the auxiliary personnel should follow the tester during the whole test, so as to provide language assistance at any time.
[0063] 4.5) Remove the device and input the collected data to the SuperMap three-dimensional data platform by using a computer upon completion of walking.
[0064] Step 5: Input a new planning scheme to the three-dimensional interactive display platform, and simulate an urban viewing corridor with the planning scheme superimposed.
[0065] 5.1) Arrange the planning scheme, extract objects in the scheme that have a large volume and affect a landscape of the viewing corridor, such as the terrains, architectures, trees, roads, and characteristic landscapes, classify the objects into layers, and successively name the objects after terrain, architecture, tree, road, landscape, and others, and import the data into the SuperMap three-dimensional data platform.
[0066] 5.2) Combine, in the three-dimensional data platform, the planning scheme data extracted in 5.1 with the current three-dimensional real scene data obtained in step 4, and adjust the coordinates, so that the two pieces of data are in a same coordinate system.
[0067] 5.3) Check model errors after the combination, and modify the errors in the planning scheme. If there is a difference between data about planned to-be-retained architectures and landscapes and a current situation, the real scene data is used. When data about a planned new architecture exceeds a boundary line, a position of the architecture is required to be adjusted. The planned to-be-removed current roads and architectures need to be removed from the current data. Finally, the planned three-dimensional model data is obtained.
[0068] 5.4) According to the viewing corridor generated in step 3, set a plurality of viewing corridor points in the new three-dimensional model database, generate, in the SuperMap database, a new urban viewing corridor on which planning simulation is performed, and export the new urban viewing corridor.
[0069] Step 6: Output, by using augmented reality glasses, a dynamic interactive VR scene of the urban viewing corridor space after the urban planning scheme is superimposed.
[0070] 6.1) Output a view field image of the urban dynamic viewing corridor by using an externally connected dedicated drawing device, and input the urban dynamic viewing corridor at each designated measurement point and a number corresponding to the urban dynamic viewing corridor to an Excel form, to obtain standard measurement panel data.
[0071] 6.2) The auxiliary device includes a measuring device, a built-in global positioning system (GPS) device of the measuring device, a fixing device of a gimbal tripod, a sunroof type or convertible mobile transportation device, a computer analysis device capable of image transmission and sharing, and a dedicated drawing device externally connected to a computer. The measuring device is required to be equipped with a special lens for shooting. The lens is characterized by an entrained-type wide-angle macro fisheye lens having at least 8 million pixels for shooting.