WO2020192355A1 - Method and system for measuring urban mountain viewing visible range - Google Patents

Method and system for measuring urban mountain viewing visible range Download PDF

Info

Publication number
WO2020192355A1
WO2020192355A1 PCT/CN2020/077050 CN2020077050W WO2020192355A1 WO 2020192355 A1 WO2020192355 A1 WO 2020192355A1 CN 2020077050 W CN2020077050 W CN 2020077050W WO 2020192355 A1 WO2020192355 A1 WO 2020192355A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
sight
mountain
line
node
Prior art date
Application number
PCT/CN2020/077050
Other languages
French (fr)
Chinese (zh)
Inventor
杨俊宴
曹俊
刘映辰
张庆尧
刘志成
王桥
Original Assignee
东南大学
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 东南大学 filed Critical 东南大学
Publication of WO2020192355A1 publication Critical patent/WO2020192355A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C15/00Surveying instruments or accessories not provided for in groups G01C1/00 - G01C13/00
    • G01C15/002Active optical surveying means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C7/00Tracing profiles
    • G01C7/02Tracing profiles of land surfaces

Definitions

  • the invention belongs to the field of urban planning, and in particular relates to a method and system for measuring the visual domain of urban mountain viewing.
  • Mountain viewing area also known as mountain viewing field range, mountain viewing visibility, mountain viewing rate, mountain viewing factor, etc.
  • Mountain viewing area also known as mountain viewing field range, mountain viewing visibility, mountain viewing rate, mountain viewing factor, etc.
  • mountain viewing area also known as mountain viewing field range, mountain viewing visibility, mountain viewing rate, mountain viewing factor, etc.
  • mountain topography that is within the sight of a single observer in the built environment See the geographic scope. It reflects the public's visibility of the natural mountain landscape elements in the built environment, and relates to the spatial feeling and comfort level of urban public life.
  • urban planning and design using the quantitative results of the mountain viewing area as an indicator is helpful to urban planning and design decisions, and can also be used as an important basis for urban spatial layout control and optimization.
  • the perception of mountain landscape can be effectively strengthened, and the quality of urban space can be improved, so that the public can "see the mountains and the water” in the city, and reach the city as a whole A state of harmony with nature.
  • analyzing and calculating the accurate value of the viewing area of the mountain is the first and important technical link for the urban planning and construction department to control the viewing area of the mountain.
  • the existing measurement technologies for viewing the mountain visual domain include on-site field measurement technology and street view picture visual domain measurement technology.
  • On-site field measurement technology refers to the use of a digital camera with a fisheye lens to take a digital photo in an open space at a certain point of view as the measured image source, and further use the channel and level adjustment tools in the photoshop software to extract the photo
  • the mountain part of the mountain and by calculating the ratio of the mountain part and the other parts in the image, the viewable field of the mountain is obtained
  • the street view picture visual field measurement technology refers to the street view picture sampling on the map websites such as Baidu Street View and Tencent Street View.
  • the computer Based on artificial intelligence image recognition technology, the computer automatically recognizes the mountain elements in the picture, and calculates the proportional relationship between the mountain elements in a single street view picture and other elements except the mountain elements to obtain the value of the mountain view field.
  • the above methods all belong to the analysis and calculation of scene images. Their advantages are that their operation is simple and efficient.
  • the mountain elements can be intuitively divided through current photos and street scene images, and the relationship between the mountain elements and other urban elements can be calculated.
  • the ratio can be used to obtain the viewable field of the mountain, which is easy to handle in the actual operation of a single image, and can be analyzed and calculated efficiently.
  • the three main measurement methods have limitations in the view point area that can be measured.
  • the location selected by the surveyor has a certain degree of subjectivity, and often chooses the appropriate point and angle of view based on the on-site judgment; and for the street view picture visual domain measurement technology, Street view images only contain visual images of urban street space, and their data volume cannot cover lower-level roads in the city. At the same time, it ignores potential mountain views in urban space such as other grounds, building facades, and roofs.
  • the present invention proposes a method and system for measuring the visual field of urban mountain viewing, which can measure the urban roads, urban blocks, building facades, building roofs, etc. within a given city.
  • the entire surface is used as an observation point to measure the visual field of urban mountain viewing, avoiding the limitations of existing measurement technology in the selection of observation points; creating a spherical coordinate system through the boundary of the observation point field of view, and cutting out the effective projection surface of the mountain in the spherical coordinate system , And generate the view of the mountain, and calculate whether the line of sight is blocked, which effectively improves the measurement accuracy of the view of the mountain and avoids the problems of low accuracy and low work efficiency of traditional measurement methods; output the view of the mountain.
  • the data is combined and imaged, and finally a view of the mountain visual domain map is generated.
  • the effect is relatively intuitive, which provides a basic rational support for further analysis and decision-making in urban planning and design.
  • the technical solution adopted by the present invention is: a method for measuring the visual field of urban mountain viewing, including the following steps:
  • step (1) collect and construct a database scene including mountains and urban areas, and the specific method is as follows:
  • Tilt photogrammetry uses a multi-lens camera set on a flying platform to collect images at one vertical angle and four tilt angles at the same time.
  • Flying platforms such as multi-rotor drones, fixed-wing drones, and vertical take-off and landing drones.
  • automated modeling software geometric correction, joint adjustment, multi-view image matching and other data processing to obtain all-round information of ground features to generate real-world 3D models
  • automated modeling software can be the VirtualGeo software developed by the French DIGINEXT company, and the US Pictometry The company’s EFSelectronic Field Study software, etc.
  • the SuperMap platform uses LOD (Level of Detail) to optimize scheduling, occupies less hardware resources, guarantees a stable mass data carrying capacity, and supports direct loading of oblique photography models of any subdivision type, including .osg/.osgb, .x , .Dae, .obj and other formats, the platform can generate multiple *.osgb format oblique photography model data stored in multiple folders into *.scp format files through the configuration file generation function, which records the oblique photography model The relative path, name, insertion point position and coordinate system information of the file and other model configuration content, the platform realizes the direct bulk loading and browsing of OSGB model data by loading the *.scp format 3D model cache file.
  • LOD Level of Detail
  • step (2) the observation area is extracted and the model surface is rasterized.
  • the specific method is as follows:
  • Observation area extraction extract the observation area from the real 3D model obtained by loading the oblique photography on the SuperMap platform, here is to select the area to be observed from the large area, and observe the mountain from the observation area.
  • the grid method is to rasterize the ground, building facade, and roof of the 3D city model in the real 3D model in units of square meters.
  • the selection of the size of the raster unit is very critical: if the size of the raster unit is too large, the analysis accuracy will be reduced; on the contrary, if the size of the raster unit is too small, the subsequent visual field analysis time will cost rise. Therefore, it is necessary to comprehensively determine the size of the basic grid cell based on the collected data volume, data accuracy and target analysis accuracy. In actual operation, for example, the unit square meter can be selected as the basic unit accuracy.
  • step (3) sets the observation point and creates a spherical coordinate system according to the angle of the line of sight.
  • the specific method is as follows:
  • the current environment may be the current environment such as air and sunlight.
  • the attribute value of the observation point is (0, ⁇ ).
  • step (4) cuts out the effective projection surface of the mountain in the spherical coordinate system, and the specific method is as follows:
  • the crossing points (R vmax ,0, ⁇ o ) and (0,0,0) are planes perpendicular to the horizontal plane V h
  • the crossing points (R vmax ,0, ⁇ o ) and (0,0,0) are used as the plane with the horizontal plane V h
  • the standard projection plane P S is plane And plane
  • the cut area is defined as the standard effective projection area P e . Make the projection of the hill on the standard effective projection area P e , which is the standard effective hill projection.
  • step (5) generates the sight line of the mountain, and calculates whether the sight line is blocked, the specific method is as follows:
  • the effective mountain projection is rasterized in m ⁇ n rectangular grid areas, with the grid center point in the lower left corner as the origin, an orthogonal coordinate system ⁇ is established on the approximate effective projection area P ea , and the rasterized
  • the effective hill projection is simplified as a point set ⁇ N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s ) ⁇ formed by the center points of these grids.
  • (x 1 , y 1 ), (x 2 , y 2 ),..., (x s , y s ) are the discrete points in the two-dimensional orthogonal coordinate system ⁇ after the mountain projection rasterized into a point set Coordinates, 0 ⁇ x i ⁇ m, 0 ⁇ y i ⁇ n, 1 ⁇ i ⁇ S, S is the total number of center points of the grid.
  • the line connecting the observation point ⁇ to the points N 1 , N 2 ,..., N s is recorded as the line of sight L 1 , L 2 ,..., L s .
  • the center point of each grid ownership weight w i wherein, 0 ⁇ w i ⁇ 1.
  • the size of the basic grid unit needs to be considered comprehensively according to the computing environment, data quality, and accuracy requirements.
  • N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set ⁇ N 1 (x 1, y 1), N 2 (x 2, y 2), ..., N s ( x s ,y s ) ⁇ the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
  • the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
  • the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
  • step (6) output and image the viewable field data of the mountain to generate the viewable field map, the specific method is as follows:
  • a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, and you can calculate the value of mountain visibility in real time.
  • set the gradient color bar such as green corresponding to 1 to see completely, and white to represent 0 completely invisible. Colors are precipitated according to the size of the MVF value.
  • Visibility is a characteristic color rendering, that is, the color of the grid corresponding to the observation point is set according to the MVF value. The larger the MVF value, the darker the color, and the smaller the MVF value, the lighter the color.
  • the observation area model with rich MVF value color attributes is re-placed into the overall database scene, that is, the colored grid is placed in the position corresponding to the original model.
  • this patent can supplement atmospheric visibility constraints. Record the atmospheric visibility value of a city as a. If the distance of a certain ray is greater than a, the ray is directly recorded as obscured by an object.
  • the present invention also provides a system for measuring the visual domain of urban mountain viewing, which includes the following modules:
  • the overall scene construction module which collects and constructs real 3D model scenes including mountains and urban areas;
  • the full surface rasterization module of the observation area extracts the observation area and rasterizes the model surface
  • Observation point spherical coordinate system creation module set the observation point and create a spherical coordinate system according to the field of view boundary;
  • Mountain effective projection surface cutting module cut out the effective projection surface of the mountain in the spherical coordinate system
  • the mountain sight occlusion calculation module generates the sight line of the mountain and calculates whether the sight line is blocked;
  • the data output and imaging module outputs and images the viewable field data of the mountain to generate a map of the viewable field.
  • observation point spherical coordinate system creation module the specific functions of the observation point spherical coordinate system creation module are as follows:
  • (3.2) create a sphere coordinate system, the urban space into viewer viewpoint three-dimensional space ⁇ (x o, y o, z o), i.e. grid points observed, where, (x o, y o ) Is the coordinate value of the plane where the observer is, z o is the height of the horizontal plane of the observation point, the horizontal plane V h at the height of the observation point is the plane, and the maximum visible distance R vmax in the current environment is the radius, which is the visible hemisphere , the hemispherical surface is defined as a standard projection plane P s, to the viewpoint ⁇ (x o, y o, z o) is the center of the sphere, respectively, the geographic coordinate system and perpendicular to the direction of true north direction is the horizontal vector V h Base, establish a spherical coordinate system
  • the angular bisector intersects the standard projection plane P s at the point (R vmax , 0,0.5( ⁇ o + ⁇ o )), if r t ⁇ R vmax , then the crossing point (R vmax ,0,0.5( ⁇ o + ⁇ o )) will be the plane P a tangent to the standard projection plane P s , Then P a is the approximate projection plane; if r t ⁇ R vmax , take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point Draw a plane P a tangent to the reference hemisphere C v , then P a is the approximate projection plane.
  • Step 1 Search for the point with the abscissa of 0 in the point set ⁇ N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s ) ⁇ , record
  • the subset of the retrieved points is ⁇ N 1 (0,y 1 ),...,N j (0,y 0max ) ⁇ , where j is the total number of points with an abscissa of 0, and the abscissa is 0
  • the point with the largest ordinate is N 0max
  • y 0max is the value of N 0max ordinate;
  • Step two N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set ⁇ N 1 (x 1, y 1), N 2 (x 2, y 2), ..., In N s (x s ,y s ) ⁇ , the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
  • Step 3 Set up a balanced binary search tree with the points in the set ⁇ N 1 (0,y 1 ),...,N j (0,y 0max ) ⁇ , and the value of each node in the balanced binary search tree Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point in the set;
  • Step 4 When traversing a node, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
  • the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
  • the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
  • Step 5 retrieve the point with the abscissa of k in the point set ⁇ N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s ) ⁇ , where , 0 ⁇ k ⁇ m, record the subset of the retrieved points as ⁇ N 1 (k,y 1 ),...,N j (k,y kmax ) ⁇ , where j is the point of the abscissa k In total, the point with the largest ordinate is N kmax , and y kmax is the value of N kmax ordinate. It is judged whether the line of sight L kmax corresponding to the point N kmax is blocked.
  • the present invention proposes a method for measuring the visual field of urban mountain viewing, which can perform urban observations on the entire surface including urban roads, urban blocks, building facades, building roofs, etc. within a given city.
  • the measurement of the mountain visual field avoids the limitations of the existing measurement technology in the selection of observation points; the spherical coordinate system is created through the boundary of the observation point field of view, and the effective projection surface of the mountain is cut out in the spherical coordinate system, and the mountain sight line is generated, and Calculate whether the line of sight is blocked or not, which effectively improves the measurement accuracy of the viewing area of the mountain and avoids the problems of low accuracy and low work efficiency of traditional measurement methods; output and image the data of the viewing area, and finally generate the view of the mountain
  • the visual domain map is more intuitive and provides a basic rational support for further analysis and decision-making in urban planning and design.
  • Figure 1 is a technical flow chart of the digital measurement method for urban mountain viewing in the visual domain of the present invention
  • Figure 2 is a diagram of creating a sphere coordinate system according to the angle of sight of the present invention
  • Figure 3 is an effective projection plane view of the cutting mountain of the present invention.
  • Fig. 4 is a diagram of calculating the degree of obstruction of the view of the mountain in the present invention.
  • the invention discloses a method for measuring the visual domain of urban mountain viewing, which includes the following steps:
  • step (1) collect and construct a database scene including mountains and urban areas, and the specific method is as follows:
  • Tilt photogrammetry uses a multi-lens camera set on a flying platform to collect images at one vertical angle and four tilt angles at the same time.
  • Flying platforms such as multi-rotor drones, fixed-wing drones, and vertical take-off and landing drones.
  • automated modeling software geometric correction, joint adjustment, multi-view image matching and other data processing to obtain all-round information of ground features to generate real-world 3D models
  • automated modeling software can be the VirtualGeo software developed by the French DIGINEXT company, and the US Pictometry The company’s EFSelectronic Field Study software, etc.
  • the SuperMap platform uses LOD (Level of Detail) to optimize scheduling, occupies less hardware resources, guarantees a stable mass data carrying capacity, and supports direct loading of oblique photography models of any subdivision type, including .osg/.osgb, .x , .Dae, .obj and other formats, the platform can generate multiple *.osgb format oblique photography model data stored in multiple folders into *.scp format files through the configuration file generation function, which records the oblique photography model The relative path, name, insertion point position and coordinate system information of the file and other model configuration content, the platform realizes the direct bulk loading and browsing of OSGB model data by loading the *.scp format 3D model cache file.
  • LOD Level of Detail
  • step (2) the observation area is extracted and the model surface is rasterized.
  • the specific method is as follows:
  • Observation area extraction extract the observation area from the real 3D model obtained by loading the oblique photography on the SuperMap platform, here is to select the area to be observed from the large area, and observe the mountain from the observation area.
  • the grid method is to rasterize the ground, building facade, and roof of the 3D city model in the real 3D model in units of square meters.
  • the selection of the size of the raster unit is very critical: if the size of the raster unit is too large, the analysis accuracy will be reduced; on the contrary, if the size of the raster unit is too small, the subsequent visual field analysis time will cost rise. Therefore, it is necessary to comprehensively determine the size of the basic grid cell based on the collected data volume, data accuracy and target analysis accuracy. In actual operation, for example, the unit square meter can be selected as the basic unit accuracy.
  • step (3) sets the observation point and creates a spherical coordinate system according to the angle of the line of sight.
  • the specific method is as follows:
  • the current environment may be the current environment such as air and sunlight.
  • the attribute value of the observation point is (0, ⁇ ).
  • step (4) cuts out the effective projection surface of the mountain in the spherical coordinate system, and the specific method is as follows:
  • the crossing points (R vmax ,0, ⁇ o ) and (0,0,0) are planes perpendicular to the horizontal plane V h
  • the crossing points (R vmax ,0, ⁇ o ) and (0,0,0) are used as the plane with the horizontal plane V h
  • the standard projection plane P s is plane And plane
  • the cut area is defined as the standard effective projection area P e . Make the projection of the hill on the standard effective projection area P e , which is the standard effective hill projection.
  • step (5) generates the sight line of the mountain, and calculates whether the sight line is blocked, the specific method is as follows:
  • the effective mountain projection is rasterized in m ⁇ n rectangular grid areas, with the grid center point in the lower left corner as the origin, an orthogonal coordinate system ⁇ is established on the approximate effective projection area P ea , and the rasterized
  • the effective hill projection is simplified as a point set ⁇ N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s ) ⁇ formed by the center points of these grids.
  • (x 1 , y 1 ), (x 2 , y 2 ),..., (x s , y s ) are the discrete points in the two-dimensional orthogonal coordinate system ⁇ after the mountain projection rasterized into a point set Coordinates, 0 ⁇ x i ⁇ m, 0 ⁇ y i ⁇ n, 1 ⁇ i ⁇ S, S is the total number of center points of the grid.
  • the line connecting the observation point ⁇ to the points N 1 , N 2 ,..., N s is recorded as the line of sight L 1 , L 2 ,..., L s .
  • the center point of each grid ownership weight w i wherein, 0 ⁇ w i ⁇ 1.
  • the size of the basic grid unit needs to be considered comprehensively according to the computing environment, data quality, and accuracy requirements.
  • N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set ⁇ N 1 (x 1, y 1), N 2 (x 2, y 2), ..., N s ( x s ,y s ) ⁇ the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
  • the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
  • the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
  • step (6) output and image the viewable field data of the mountain to generate the viewable field map, the specific method is as follows:
  • the gradient color bar such as green corresponding to 1 completely visible, white representing 0 completely invisible, setting different values between 0-1 to correspond to different colors, such as the gradient from white to green, according to the MVF value
  • the size of the precipitation color after computer calculation, the color rendering of multiple observation areas on the three-dimensional map can be characterized by the viewability of the mountain, which is to set the color of the grid corresponding to the observation point according to the MVF value. , The smaller the MVF value, the lighter the color.
  • the observation area model with rich MVF value color attributes is re-placed into the overall database scene, that is, the colored grid is placed in the position corresponding to the original model.
  • this patent can supplement atmospheric visibility constraints. Record the atmospheric visibility value of a city as a. If the distance of a certain ray is greater than a, the ray is directly recorded as obscured by an object.
  • the present invention also provides a system for measuring the visual domain of urban mountain viewing, which includes the following modules:
  • the overall scene construction module which collects and constructs real 3D model scenes including mountains and urban areas;
  • the full surface rasterization module of the observation area extracts the observation area and rasterizes the model surface
  • Observation point spherical coordinate system creation module set the observation point and create a spherical coordinate system according to the field of view boundary;
  • Mountain effective projection surface cutting module cut out the effective projection surface of the mountain in the spherical coordinate system
  • the mountain sight occlusion calculation module generates the sight line of the mountain and calculates whether the sight line is blocked;
  • the data output and imaging module outputs and images the viewable field data of the mountain to generate a map of the viewable field.
  • observation point spherical coordinate system creation module the specific functions of the observation point spherical coordinate system creation module are as follows:
  • (3.2) create a sphere coordinate system, the urban space into viewer viewpoint three-dimensional space ⁇ (x o, y o, z o), i.e. grid points observed, where, (x o, y o ) Is the coordinate value of the plane where the observer is, z o is the height of the horizontal plane of the observation point, the horizontal plane V h at the height of the observation point is the plane, and the maximum visible distance R vmax in the current environment is the radius, which is the visible hemisphere , the hemispherical surface is defined as a standard projection plane P s, to the viewpoint ⁇ (x o, y o, z o) is the center of the sphere, respectively, the geographic coordinate system and perpendicular to the direction of true north direction is the horizontal vector V h Base, establish a spherical coordinate system
  • the angular bisector intersects the standard projection plane P s at the point (R vmax , 0,0.5( ⁇ o + ⁇ o )), if r t ⁇ R vmax , then the crossing point (R vmax ,0,0.5( ⁇ o + ⁇ o )) will be the plane P a tangent to the standard projection plane P s , Then P a is the approximate projection plane; if r t ⁇ R vmax , take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point Draw a plane P a tangent to the reference hemisphere C v , then P a is the approximate projection plane.
  • Step 1 Search for the point with the abscissa of 0 in the point set ⁇ N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s ) ⁇ , record
  • the subset of the retrieved points is ⁇ N 1 (0,y 1 ),...,N j (0,y 0max ) ⁇ , where j is the total number of points with an abscissa of 0, and the abscissa is 0
  • the point with the largest ordinate is N 0max
  • y 0max is the value of N 0max ordinate;
  • Step two N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set ⁇ N 1 (x 1, y 1), N 2 (x 2, y 2), ..., In N s (x s ,y s ) ⁇ , the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
  • Step 3 Set up a balanced binary search tree with the points in the set ⁇ N 1 (0,y 1 ),...,N j (0,y 0max ) ⁇ , and the value of each node in the balanced binary search tree Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point in the set;
  • Step 4 When traversing a node, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
  • the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
  • the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
  • Step 5 retrieve the point with the abscissa of k in the point set ⁇ N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s ) ⁇ , where , 0 ⁇ k ⁇ m, record the subset of the retrieved points as ⁇ N 1 (k,y 1 ),...,N j (k,y kmax ) ⁇ , where j is the point of the abscissa k In total, the point with the largest ordinate is N kmax , and y kmax is the value of N kmax ordinate. It is judged whether the line of sight L kmax corresponding to the point N kmax is blocked.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Disclosed are a method and system for measuring an urban mountain viewing visible range. The system comprises the following modules: an overall database scenario construction module for acquiring, by means of actual oblique photography measurement, a digital model including a mountain and an urban region; an observation region full-surface rasterization module for extracting an observation region and rasterizing the surface of the model; an observation point spherical coordinate system creation module for setting an observation point, and creating a spherical coordinate system according to an included angle of lines of sight; an effective mountain projection plane cutting module for cutting, in the spherical coordinate system, out an effective mountain projection plane; a mountain viewing line-of-sight blocking calculation module for generating a mountain viewing line of sight and calculating whether the line of sight is blocked; and a data output and imaging module for outputting data of a mountain viewing visible range and carrying out imaging to generate a mountain viewing visible range map.

Description

一种城市观山可视域的测量方法及***Method and system for measuring visual field of urban mountain viewing 技术领域Technical field
本发明属于城市规划领域,尤其涉及一种城市观山可视域的测量方法及***。The invention belongs to the field of urban planning, and in particular relates to a method and system for measuring the visual domain of urban mountain viewing.
背景技术Background technique
观山可视域,又称观山可视域范围、观山可视度、观山可视率、观山可视因子等,是指山体地形在建成环境中为单个观测者视线所及可看到的地域范围。反映了在建成环境中公众对山体自然景观要素的可视程度,关乎到城市公共生活中的空间感受与舒适程度。在城市规划与设计中,将观山可视域的量化结果作为指标有助于城市规划设计决策,同时也可以作为城市空间布局控制与优化的重要依据。通过优化现状城市空间环境中的观山可视域,可以有效地强化山体景观感知,提升城市空间品质,使得公众在城市中可以“看得见山,望得见水”,在整体上达到城市与自然相和谐的状态。根据城市建成环境中反映某视点视觉感知山体的标准图像,分析测算观山可视域的准确数值是城市规划***门进行观山可视域调控的首要和重要技术环节。Mountain viewing area, also known as mountain viewing field range, mountain viewing visibility, mountain viewing rate, mountain viewing factor, etc., refers to the mountain topography that is within the sight of a single observer in the built environment See the geographic scope. It reflects the public's visibility of the natural mountain landscape elements in the built environment, and relates to the spatial feeling and comfort level of urban public life. In urban planning and design, using the quantitative results of the mountain viewing area as an indicator is helpful to urban planning and design decisions, and can also be used as an important basis for urban spatial layout control and optimization. By optimizing the viewing area of mountain viewing in the current urban space environment, the perception of mountain landscape can be effectively strengthened, and the quality of urban space can be improved, so that the public can "see the mountains and the water" in the city, and reach the city as a whole A state of harmony with nature. According to the standard image that reflects the visual perception of the mountain from a certain viewpoint in the urban built environment, analyzing and calculating the accurate value of the viewing area of the mountain is the first and important technical link for the urban planning and construction department to control the viewing area of the mountain.
现有的观山可视域的测度技术包括现场实地测量技术、街景图片可视域测量技术。现场实地测量技术是指采用带有鱼眼镜头的数码相机,在确定的视点对于开放空间拍摄数码照片作为测算的图像来源,并进一步通过photoshop软件中的通道及色阶调整工具,抠取照片中的山体部分,并通过计算山体部分和图像中其他部分的比例关系,得到观山可视域;街景图片可视域测算技术是指通过在百度街景、腾讯街景等地图网站上进行街景图片采样,基于人工智能图像识别技术,进一步由计算机自动识别出图片中的山体要素,并通过计算机计算单张街景图片中山体要素及除山体要素以外的其他要素的比例关系,得到观山可视域数值。The existing measurement technologies for viewing the mountain visual domain include on-site field measurement technology and street view picture visual domain measurement technology. On-site field measurement technology refers to the use of a digital camera with a fisheye lens to take a digital photo in an open space at a certain point of view as the measured image source, and further use the channel and level adjustment tools in the photoshop software to extract the photo The mountain part of the mountain, and by calculating the ratio of the mountain part and the other parts in the image, the viewable field of the mountain is obtained; the street view picture visual field measurement technology refers to the street view picture sampling on the map websites such as Baidu Street View and Tencent Street View. Based on artificial intelligence image recognition technology, the computer automatically recognizes the mountain elements in the picture, and calculates the proportional relationship between the mountain elements in a single street view picture and other elements except the mountain elements to obtain the value of the mountain view field.
上述方法在其本质上,都属于对场景图像的分析测算,其优点在于其操作简及效率高,可以通过现状照片及街景图像直观地划分出山体要素,并计算山体要素同其他城市要素间的比例得出观山可视域,在单张图像的实际操作上体现出易处理的特点,并可以高效率地进行分析测算。In essence, the above methods all belong to the analysis and calculation of scene images. Their advantages are that their operation is simple and efficient. The mountain elements can be intuitively divided through current photos and street scene images, and the relationship between the mountain elements and other urban elements can be calculated. The ratio can be used to obtain the viewable field of the mountain, which is easy to handle in the actual operation of a single image, and can be analyzed and calculated efficiently.
然而目前三种主要的测算方法同本发明提出的一种城市观山可视域的测量方法相比较,在可进行测算的视点区域上存在局限。在选取测算观山可视域的视点时,对于实地测量技术,实测者选取位置具有一定的主观性,往往会根据现场判断选取合适的点位及视角;而对于街景图片可视域测算技术,街景图片只包含城市街道空间的视觉图像,其数据量不能覆盖城市中等级较低的道路,同时也忽略了城市空间中诸如其他地面、建筑立面及屋顶等潜在可能的观山视点。However, compared with the present invention, the three main measurement methods have limitations in the view point area that can be measured. When selecting the viewpoint of the viewing area of the mountain, for the field measurement technology, the location selected by the surveyor has a certain degree of subjectivity, and often chooses the appropriate point and angle of view based on the on-site judgment; and for the street view picture visual domain measurement technology, Street view images only contain visual images of urban street space, and their data volume cannot cover lower-level roads in the city. At the same time, it ignores potential mountain views in urban space such as other grounds, building facades, and roofs.
发明内容Summary of the invention
发明目的:针对以上问题,本发明提出一种城市观山可视域的测量方法及***,能够在既定城市范围内对包括城市道路、城市街区以内、建筑外立面、建筑屋顶等在内的全域表面作为观察点进行城市观山可视域的测量,避免现有测量技术在观察点选择上的局限 性;通过观察点视野边界创建球体坐标系,在球体坐标系中切割出山体有效投影面,并生成观山视线,并对视线是否被遮挡进行计算,有效地提高了观山可视域地测量精度,避免了传统测量方法精度不高、工作效率低下等问题;输出观山可视域数据并成像,最终生成观山可视域地图,效果较为直观,为城市规划设计地进一步分析和决策提供了基础的理性支撑。Objective of the invention: In view of the above problems, the present invention proposes a method and system for measuring the visual field of urban mountain viewing, which can measure the urban roads, urban blocks, building facades, building roofs, etc. within a given city. The entire surface is used as an observation point to measure the visual field of urban mountain viewing, avoiding the limitations of existing measurement technology in the selection of observation points; creating a spherical coordinate system through the boundary of the observation point field of view, and cutting out the effective projection surface of the mountain in the spherical coordinate system , And generate the view of the mountain, and calculate whether the line of sight is blocked, which effectively improves the measurement accuracy of the view of the mountain and avoids the problems of low accuracy and low work efficiency of traditional measurement methods; output the view of the mountain. The data is combined and imaged, and finally a view of the mountain visual domain map is generated. The effect is relatively intuitive, which provides a basic rational support for further analysis and decision-making in urban planning and design.
技术方案:为实现本发明的目的,本发明所采用的技术方案是:一种城市观山可视域的测量方法,包括如下步骤:Technical solution: In order to achieve the purpose of the present invention, the technical solution adopted by the present invention is: a method for measuring the visual field of urban mountain viewing, including the following steps:
(1)采集并建构包含山体及城市区域的实景三维模型场景;(1) Collect and construct real-life 3D model scenes including mountains and urban areas;
(2)提取观测区域,并对模型表面进行栅格化;(2) Extract the observation area and rasterize the model surface;
(3)设定观察点并根据视线夹角创建球体坐标系;(3) Set the observation point and create a spherical coordinate system according to the angle of sight;
(4)在球体坐标系中切割出山体有效投影面;(4) Cut out the effective projection surface of the mountain in the spherical coordinate system;
(5)生成观山视线,并对视线是否被遮挡进行计算;(5) Generate the sight of the mountain and calculate whether the sight is blocked;
(6)输出观山可视域数据并成像,生成观山可视域地图。(6) Output and image the visual field data of mountain viewing to generate a map of the visual field of mountain viewing.
进一步的,步骤(1)采集并建构包含山体及城市区域的数据库场景,具体方法如下:Further, step (1) collect and construct a database scene including mountains and urban areas, and the specific method is as follows:
(1.1)通过实测获取包含山体及城市区域的倾斜摄影数据(1.1) Obtain tilt photography data including mountain and urban areas through actual measurement
倾斜摄影测量通过在飞行平台上搭载多镜头相机组同时采集1个垂直角度及4个倾斜角度的影像,飞行平台比如多旋翼无人机、固定翼无人机、垂直起降无人机等。Tilt photogrammetry uses a multi-lens camera set on a flying platform to collect images at one vertical angle and four tilt angles at the same time. Flying platforms such as multi-rotor drones, fixed-wing drones, and vertical take-off and landing drones.
(1.2)根据获取的倾斜摄影数据生成基于真实影像纹理的实景三维模型(1.2) Generate a real 3D model based on real image texture according to the acquired oblique photography data
倾斜摄影自动化建模软件几何校正、联合平差、多视影像匹配等一系列处理获得地物全方位信息的数据以生成实景三维模型;自动化建模软件可以是法国DIGINEXT公司研发VirtualGeo软件、美国Pictometry公司的EFSElectronic Field Study软件等。Oblique photography automated modeling software geometric correction, joint adjustment, multi-view image matching and other data processing to obtain all-round information of ground features to generate real-world 3D models; automated modeling software can be the VirtualGeo software developed by the French DIGINEXT company, and the US Pictometry The company’s EFSelectronic Field Study software, etc.
(1.3)通过SuperMap平台加载根据倾斜摄影数据获得的实景三维模型(1.3) Load the real 3D model obtained from the oblique photography data through the SuperMap platform
SuperMap平台运用LOD(Level of Detail)优化调度,仅占用较少硬件资源,保障稳定的海量数据承载能力,并同时支持直接加载任意剖分类型的倾斜摄影模型,包括.osg/.osgb、.x、.dae、.obj等格式,平台通过生成配置文件功能可将存放在多个文件夹的多个*.osgb格式的倾斜摄影模型数据生成为*.scp格式文件,该文件记录了倾斜摄影模型文件的相对路径、名称、***点位置及坐标系信息等模型配置内容,平台通过加载*.scp格式的三维模型缓存文件的方式,实现了OSGB模型数据的直接批量加载与浏览。The SuperMap platform uses LOD (Level of Detail) to optimize scheduling, occupies less hardware resources, guarantees a stable mass data carrying capacity, and supports direct loading of oblique photography models of any subdivision type, including .osg/.osgb, .x , .Dae, .obj and other formats, the platform can generate multiple *.osgb format oblique photography model data stored in multiple folders into *.scp format files through the configuration file generation function, which records the oblique photography model The relative path, name, insertion point position and coordinate system information of the file and other model configuration content, the platform realizes the direct bulk loading and browsing of OSGB model data by loading the *.scp format 3D model cache file.
进一步的,步骤(2)提取观测区域,并对模型表面进行栅格化,具体方法如下:Further, in step (2), the observation area is extracted and the model surface is rasterized. The specific method is as follows:
(2.1)观测区域提取,在SuperMap平台加载倾斜摄影获得的实景三维模型中提取观测区域,此处是从大区域中选择所要观测的区域,从观测区域观测山体。(2.1) Observation area extraction, extract the observation area from the real 3D model obtained by loading the oblique photography on the SuperMap platform, here is to select the area to be observed from the large area, and observe the mountain from the observation area.
(2.2)对实景三维模型中的观测区域表面整体栅格化,栅格的方法是对实景三维模型中的三维城市模型的包括地面、建筑立面、屋顶以单位平方米进行栅格化,在栅格转化的过程中,栅格单元的尺寸选择是非常关键的:栅格单元尺寸过大,则分析精度下降;反之,栅格单元尺寸过小,则后续的可视域分析时间消耗代价将上升。因此,需要根据收集到的数据体量、数据精度及目标分析精度来综合确定栅格基本单元的大小。实际操作中,比如可以选择单位平方米为基本单元精度。(2.2) Rasterize the surface of the observation area in the real 3D model as a whole. The grid method is to rasterize the ground, building facade, and roof of the 3D city model in the real 3D model in units of square meters. In the process of raster conversion, the selection of the size of the raster unit is very critical: if the size of the raster unit is too large, the analysis accuracy will be reduced; on the contrary, if the size of the raster unit is too small, the subsequent visual field analysis time will cost rise. Therefore, it is necessary to comprehensively determine the size of the basic grid cell based on the collected data volume, data accuracy and target analysis accuracy. In actual operation, for example, the unit square meter can be selected as the basic unit accuracy.
进一步的,步骤(3)设定观察点并根据视线夹角创建球体坐标系,具体方法如下:Further, step (3) sets the observation point and creates a spherical coordinate system according to the angle of the line of sight. The specific method is as follows:
(3.1)设定观察点坐标,选取每个栅格的几何中心点,作为代表该栅格观察点;(3.1) Set the coordinates of the observation point, and select the geometric center point of each grid as a representative observation point of the grid;
(3.2)创建球体坐标系。将城市空间中的观察者转化为三维空间中的观察点Ο(x o,y o,z o),也即栅格观察点。其中,(x o,y o)为观察者所在的平面坐标值,z o为观察点的水平面高度。以观察点所在高度的水平面V h为平面,以当前环境下的最大可视距离R vmax为半径,作可视半球面,将该半球面定义为标准投影面P s。以观察点Ο(x o,y o,z o)为球心,分别以地理坐标系中的正北方向和水平面V h的垂直方向为矢基,建立球体坐标系
Figure PCTCN2020077050-appb-000001
所述当前环境可以是当前空气、阳光等环境。
(3.2) Create a spherical coordinate system. Urban space into viewer viewing point three-dimensional space Ο (x o, y o, z o), i.e. observation grid points. Among them, (x o , y o ) is the plane coordinate value of the observer, and z o is the horizontal plane height of the observation point. Taking the horizontal plane V h at the height of the observation point as the plane, and the maximum visible distance R vmax in the current environment as the radius, the visible hemisphere is defined as the standard projection surface P s . Take the observation point Ο (x o , y o , z o ) as the center of the sphere, and use the true north direction in the geographic coordinate system and the vertical direction of the horizontal plane V h as the vector bases to establish a spherical coordinate system
Figure PCTCN2020077050-appb-000001
The current environment may be the current environment such as air and sunlight.
(3.3)确定视野边界。设定观察点Ο的观察范围受到障碍物或者其他客观原因的限制,造成在该观察点的观察者只能观察到某个角度范围内的景观。这个角度范围被定义为视野边界。记该视野边界与球体坐标系正北方向矢基的夹角值α o和β o(3.3) Determine the boundary of the field of view. The observation range of the set observation point Ο is restricted by obstacles or other objective reasons, so that the observer at the observation point can only observe the landscape within a certain angle range. This angular range is defined as the field of view boundary. Record the angle values α o and β o between the boundary of the field of view and the vector base in the north direction of the spherical coordinate system.
例如,某观察点的视野范围为正北方到正南方之间,那么该观察点的属性值为(0,π)。For example, if the field of view of an observation point is between true north and true south, the attribute value of the observation point is (0,π).
进一步的,步骤(4)在球体坐标系中切割出山体有效投影面,具体方法如下:Further, step (4) cuts out the effective projection surface of the mountain in the spherical coordinate system, and the specific method is as follows:
在该球面坐标系下,过点(R vmax,0,α o)和(0,0,0)作与水平面V h垂直的平面
Figure PCTCN2020077050-appb-000002
同理,过点(R vmax,0,β o)和(0,0,0)作与水平面V h的平面
Figure PCTCN2020077050-appb-000003
将标准投影面P S被平面
Figure PCTCN2020077050-appb-000004
和平面
Figure PCTCN2020077050-appb-000005
切割出的区域定义为标准有效投影区域P e。作山体在标准有效投影区域P e上的投影,该投影为标准有效山体投影。
In this spherical coordinate system, the crossing points (R vmax ,0,α o ) and (0,0,0) are planes perpendicular to the horizontal plane V h
Figure PCTCN2020077050-appb-000002
In the same way, the crossing points (R vmax ,0,β o ) and (0,0,0) are used as the plane with the horizontal plane V h
Figure PCTCN2020077050-appb-000003
The standard projection plane P S is plane
Figure PCTCN2020077050-appb-000004
And plane
Figure PCTCN2020077050-appb-000005
The cut area is defined as the standard effective projection area P e . Make the projection of the hill on the standard effective projection area P e , which is the standard effective hill projection.
应该注意的是,由于复杂曲面投影到球面这一过程计算量的限制,在实际应用中,往往会对标准投影面作一定程度上的近似。在球面坐标系中作山体在水平面V h上的投影P h,取投影P h中与观察点距离最大的点,记该点坐标为
Figure PCTCN2020077050-appb-000006
其中同时r t为该点到观察点的距离,
Figure PCTCN2020077050-appb-000007
该点与观察点连线与正北方方向坐标轴的夹角。取观察点在水平面V h上的视野边界的角平分线,该角平分线与标准投影面P s相交于点(R vmax,0,0.5(α oo))。若r t≥R vmax,则过点(R vmax,0,0.5(α oo))作与标准投影面P s相切的平面P a,则P a为近似投影平面;若r t<R vmax,则以观察点所在高度的水平面V h为平面,以r t为半径,作参考半球面C v,然后过点
Figure PCTCN2020077050-appb-000008
作与参考半球面C v相切的平面P a,则P a为近似投影平面。在近似投影平面P a上,分别过(min(R vmax,r t),0,α o)和(min(R vmax,r t),0,β o)作垂直于水平面V h的直线,则近似投影平面P a被两条直线切割出的区域为近似有效投影区域P ea。对山体高度2/3以上区域,作其在近似有效投影区域P ea上的投影,该投影为近似有效山体投影。
It should be noted that due to the limitation of calculation amount in the process of projecting complex curved surfaces onto spherical surfaces, in practical applications, standard projection surfaces are often approximated to a certain extent. In the spherical coordinate system, make the projection P h of the mountain on the horizontal plane V h , take the point with the largest distance from the observation point in the projection P h , and record the coordinate of this point as
Figure PCTCN2020077050-appb-000006
Where r t is the distance from the point to the observation point,
Figure PCTCN2020077050-appb-000007
The angle between the line connecting this point and the observation point and the coordinate axis in the true north direction. Take the angular bisector of the visual field boundary of the observation point on the horizontal plane V h , which intersects the standard projection plane P s at the point (R vmax ,0,0.5(α oo )). If r t ≥ R vmax , then the crossing point (R vmax ,0,0.5(α oo )) is used as a plane P a tangent to the standard projection plane P s , then P a is an approximate projection plane; if r t <R vmax , then take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point
Figure PCTCN2020077050-appb-000008
Draw a plane P a tangent to the reference hemisphere C v , then P a is an approximate projection plane. On the approximate projection plane P a , pass (min(R vmax ,r t ),0,α o ) and (min(R vmax ,r t ),0,β o ) to make straight lines perpendicular to the horizontal plane V h respectively, Then the area cut by the two straight lines of the approximate projection plane P a is the approximate effective projection area P ea . For the area above 2/3 of the height of the mountain, make its projection on the approximate effective projection area P ea , which is an approximate effective mountain projection.
进一步的,步骤(5)生成观山视线,并对视线是否被遮挡进行计算,具体方法如下:Further, step (5) generates the sight line of the mountain, and calculates whether the sight line is blocked, the specific method is as follows:
(5.1)生成观山视线(5.1) Generating mountain sight
使用近似有效投影区域P ea上的投影来阐述下面的步骤。将有效山体投影栅格化在m×n个矩形栅格区域中,以左下角的栅格中心点为原点,在近似有效投影区域P ea上建立正交坐标系ζ,将栅格化后的有效山体投影简化为由这些栅格的中心点构成的点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}。其中,(x 1,y 1),(x 2,y 2),…,(x s,y s)为山体投影栅格化为点集后的点在二维正交坐标系ζ上的离散坐标,0≤x i≤m,0≤y i≤n,1<i<S,S为栅格的中心点的总数量。观察点Ο到点N 1,N 2,…,N s的连线,记为视线L 1,L 2,…,L s。另外,每个栅格的中心点拥有权重w i,其中,0≤w i≤1。若需要对山体上标志性景观进行强调,则可以将与山体上标志性景观相关的点集的权重提高,若不需要,一般地,认为w 1=w 2=…=w s=1。基本栅格单元 的大小需要根据计算环境、数据质量、精度需求进行综合考虑。 Use the projection on the approximate effective projection area P ea to illustrate the following steps. The effective mountain projection is rasterized in m×n rectangular grid areas, with the grid center point in the lower left corner as the origin, an orthogonal coordinate system ζ is established on the approximate effective projection area P ea , and the rasterized The effective hill projection is simplified as a point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )} formed by the center points of these grids. Among them, (x 1 , y 1 ), (x 2 , y 2 ),..., (x s , y s ) are the discrete points in the two-dimensional orthogonal coordinate system ζ after the mountain projection rasterized into a point set Coordinates, 0≤x i ≤m, 0≤y i ≤n, 1<i<S, S is the total number of center points of the grid. The line connecting the observation point Ο to the points N 1 , N 2 ,..., N s is recorded as the line of sight L 1 , L 2 ,..., L s . Further, the center point of each grid ownership weight w i, wherein, 0≤w i ≤1. If it is necessary to emphasize the iconic landscape on the mountain, the weight of the point set related to the iconic landscape on the mountain can be increased. If not, generally, w 1 =w 2 =...=w s =1. The size of the basic grid unit needs to be considered comprehensively according to the computing environment, data quality, and accuracy requirements.
(5.2)视线遮挡计算(5.2) Sight occlusion calculation
对视线有是否被遮挡进行计算,定义一种成为二分视线计算的算法,该算法的步骤为:Calculate whether the line of sight is occluded, and define an algorithm called bisection line of sight calculation. The steps of the algorithm are:
步骤一:step one:
对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为0的点进行检索,记检索出的点构成的子集为{N 1(0,y 1),…,N j(0,y 0max)},其中,j为横坐标为0的点的总数,记横坐标为0的纵坐标最大的点为N 0max,y 0max为N 0max纵坐标的值; For the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )} to retrieve the point with the abscissa of 0, record the retrieved The subset of points is {N 1 (0,y 1 ),...,N j (0,y 0max )}, where j is the total number of points with an abscissa of 0, and the ordinate with an abscissa of 0 is the largest The point of is N 0max , and y 0max is the value of the ordinate of N 0max ;
步骤二:Step two:
判断点N 0max对应的视线L 0max否被遮挡,若视线L 0max被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为0的点对应的视线记为被遮挡;若视线L 0max未被遮挡,则执行步骤三; N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set {N 1 (x 1, y 1), N 2 (x 2, y 2), ..., N s ( x s ,y s )} the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
步骤三:Step three:
以集合{N 1(0,y 1),…,N j(0,y 0max)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历; Set up a balanced binary search tree with the points in the set {N 1 (0,y 1 ),…,N j (0,y 0max )}, and the value of each node in the balanced binary search tree is every Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point;
步骤四:Step 4:
每遍历一个结点,计算该结点对应的视线是否被遮挡,并将该结点对应的视线是否被遮挡这一属性记录在一个列表中;Every time a node is traversed, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
若该结点对应的视线未被遮挡,则继续遍历其左子树,并将该结点和该结点的右子树上的全部点对应的视线定义为未被遮挡;If the line of sight corresponding to the node is not blocked, continue to traverse the left subtree, and define the line of sight corresponding to all points on the node and the right subtree of the node as unblocked;
若该结点对应的视线已被遮挡,则将该结点和该结点的左子树上的全部点对应的视线定义为已被遮挡,并计算该结点的右子结点对应的视线是否被遮挡:If the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
若该结点的右子结点对应的视线未被遮挡,则将其余未被标记的结点对应的视线定义为未被遮挡,并停止遍历;If the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
若该结点的右子结点对应的视线已被遮挡,则继续遍历其右子树;If the line of sight corresponding to the right child node of the node has been blocked, continue to traverse the right child tree;
在遍历结点的过程中,若遇到已标记过对应的视线是否被遮挡的结点,则直接从列表中读取它对应的视线是否被遮挡的结果,当所有结点对应的视线是否被遮挡都以被标记时,停止遍历。In the process of traversing the nodes, if you encounter a node that has been marked whether the corresponding line of sight is blocked, read the result of whether its corresponding line of sight is blocked directly from the list, and when all the nodes correspond to whether the line of sight is blocked Stop traversing when all the occlusions are marked.
步骤五:Step Five:
对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为k的点进行检索,其中,0<k≤m,记检索出的点构成的子集为{N 1(k,y 1),…,N j(k,y kmax)},其中,j为横坐标为k的点的总数,记纵坐标最大的点为N kmax,y kmax为N kmax纵坐标的值。判断点N kmax对应的视线L kmax否被遮挡。若视线L kmax被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为k的点对应的视线记为被遮挡。若视线L kmax未被遮挡,则以集合{N 1(k,y 1),…,N j(k,y kmax)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历,执行步骤四。 For the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),…,N s (x s ,y s )} in the point set with the abscissa k to search, where 0< k≤m, record the subset of retrieved points as {N 1 (k,y 1 ),...,N j (k,y kmax )}, where j is the total number of points with the abscissa k, mark The point with the largest ordinate is N kmax , and y kmax is the value of N kmax . N kmax determination points corresponding to whether the line of sight L kmax is blocked. If the line of sight L kmax is blocked, set all the abscissas in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )} to k The line of sight corresponding to the point of is recorded as blocked. If the line of sight L kmax is not blocked, the points in the set {N 1 (k,y 1 ),…,N j (k,y kmax )} are used to establish a balanced binary search tree, and each of the balanced binary search trees The value of each node is the value of the ordinate of each point in the set. The nodes in the balanced binary search tree are traversed, and step four is executed.
步骤六:分别取k=1,k=2,…,k=m,重复步骤五,完成全部视线L 1,L 2,…,L s是否被遮挡的计算。 Step 6: Take k=1, k=2,...,k=m respectively, repeat step 5 to complete the calculation of whether all the sight lines L 1 , L 2 ,..., L s are blocked.
进一步的,步骤(6)输出观山可视域数据并成像,生成观山可视域地图,具体方法如下:Further, step (6) output and image the viewable field data of the mountain to generate the viewable field map, the specific method is as follows:
(6.1)计算观山可视域数值(6.1) Calculate the value of the view field
对于视线L i∈{L 1,L 2,…,L s},若L i被标记为被遮挡,则赋予L i属性值μ i=0,L i被标记为未被遮挡,则赋予L i属性值μ i=1。定义一个MVF值,
Figure PCTCN2020077050-appb-000009
MVF的取值范围为[0,1],它代表观察者在一定大气能见度约束下,在某一观察点的观山可视率。
Line of sight L i ∈ {L 1, L 2, ..., L s}, if L i is flagged as being occluded, the given attribute value L i μ i = 0, L i is marked as not blocked, then imparting L The i attribute value μ i =1. Define an MVF value,
Figure PCTCN2020077050-appb-000009
The value range of MVF is [0,1], which represents the viewability of the observer at a certain observation point under certain atmospheric visibility constraints.
(6.2)通过颜色成像(6.2) Imaging by color
将三维地图上的一点设置为观察点,输入最大可视距离和观察观察者的视野角度范围,可以实时计算观山可视率的值。另外,设置渐变色条,如以绿色对应1完全看到,以白色代表0完全看不到,根据MVF值的大小析出颜色,经过计算机计算,可对三维地图上多个观察区域进行以观山可视率为特征的颜色渲染,即根据MVF值设置观测点对应栅格的颜色,MVF值越大颜色越深,MVF值越小颜色越浅。Set a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, and you can calculate the value of mountain visibility in real time. In addition, set the gradient color bar, such as green corresponding to 1 to see completely, and white to represent 0 completely invisible. Colors are precipitated according to the size of the MVF value. After computer calculation, multiple observation areas on the three-dimensional map can be viewed. Visibility is a characteristic color rendering, that is, the color of the grid corresponding to the observation point is set according to the MVF value. The larger the MVF value, the darker the color, and the smaller the MVF value, the lighter the color.
(6.3)生成观山可视域地图(6.3) Generate a view of the mountain visual domain map
将富有MVF值颜色属性的观测区域模型重新置入整体的数据库场景,即将上述着色后的颜色栅格放进原来的模型对应的位置。The observation area model with rich MVF value color attributes is re-placed into the overall database scene, that is, the colored grid is placed in the position corresponding to the original model.
优选的,本专利可补充大气能见度约束。记某城市大气能见度数值为a,若某射线距离大于a,则该射线直接记为有物体遮挡。Preferably, this patent can supplement atmospheric visibility constraints. Record the atmospheric visibility value of a city as a. If the distance of a certain ray is greater than a, the ray is directly recorded as obscured by an object.
此外,本发明还提出一种城市观山可视域的测量***,该***包括如下模块:In addition, the present invention also provides a system for measuring the visual domain of urban mountain viewing, which includes the following modules:
整体场景建构模块,采集并建构包含山体及城市区域的实景三维模型场景;The overall scene construction module, which collects and constructs real 3D model scenes including mountains and urban areas;
观测区域全表面栅格化模块,提取观测区域,并对模型表面进行栅格化;The full surface rasterization module of the observation area extracts the observation area and rasterizes the model surface;
观察点球面坐标系创建模块,设定观察点并根据视野边界创建球体坐标系;Observation point spherical coordinate system creation module, set the observation point and create a spherical coordinate system according to the field of view boundary;
山体有效投影面切割模块,在球体坐标系中切割出山体有效投影面;Mountain effective projection surface cutting module, cut out the effective projection surface of the mountain in the spherical coordinate system;
观山视线遮挡计算模块,生成观山视线,并对视线是否被遮挡进行计算;The mountain sight occlusion calculation module generates the sight line of the mountain and calculates whether the sight line is blocked;
数据输出及成像模块,输出观山可视域数据并成像,生成观山可视域地图。The data output and imaging module outputs and images the viewable field data of the mountain to generate a map of the viewable field.
进一步的,所述整体场景建构模块的具体功能如下:Further, the specific functions of the overall scene construction module are as follows:
(1.1)通过实测获取包含山体及城市区域的倾斜摄影数据;(1.1) Obtain oblique photography data including mountains and urban areas through actual measurement;
(1.2)根据获取的倾斜摄影数据生成基于真实影像纹理的实景三维模型;(1.2) According to the acquired oblique photographic data, a real 3D model based on real image texture is generated;
(1.3)通过SuperMap平台加载根据倾斜摄影数据获得的实景三维模型。(1.3) Load the real 3D model obtained from the oblique photography data through the SuperMap platform.
进一步的,所述观测区域全表面栅格化模块具体功能如下:Further, the specific functions of the full-surface rasterization module of the observation area are as follows:
(2.1)观测区域提取,在SuperMap平台加载倾斜摄影获得的实景三维模型中提取观测区域以观测山体;(2.1) Observation area extraction, extract the observation area from the real three-dimensional model obtained by loading oblique photography on the SuperMap platform to observe the mountain;
(2.2)对实景三维模型中的观测区域表面整体栅格化。(2.2) Rasterize the entire surface of the observation area in the real three-dimensional model.
进一步的,所述的观察点球面坐标系创建模块具体功能如下:Further, the specific functions of the observation point spherical coordinate system creation module are as follows:
(3.1)设定观察点坐标,选取每个栅格的几何中心点,作为代表该栅格观察点;(3.1) Set the coordinates of the observation point, and select the geometric center point of each grid as a representative observation point of the grid;
(3.2)创建球体坐标系,将城市空间中的观察者转化为三维空间中的观察点Ο(x o,y o,z o),也即栅格观察点,其中,(x o,y o)为观察者所在的平面坐标值,z o为观察点的水平面高度,以观察点所在高度的水平面V h为平面,以当前环境下的最大可视距离R vmax为半径,作可视半球面,将该半球面定义为标准投影面P s,以观察点Ο(x o,y o,z o)为球心,分别以地 理坐标系中的正北方向和水平面V h的垂直方向为矢基,建立球体坐标系
Figure PCTCN2020077050-appb-000010
(3.2) create a sphere coordinate system, the urban space into viewer viewpoint three-dimensional space Ο (x o, y o, z o), i.e. grid points observed, where, (x o, y o ) Is the coordinate value of the plane where the observer is, z o is the height of the horizontal plane of the observation point, the horizontal plane V h at the height of the observation point is the plane, and the maximum visible distance R vmax in the current environment is the radius, which is the visible hemisphere , the hemispherical surface is defined as a standard projection plane P s, to the viewpoint Ο (x o, y o, z o) is the center of the sphere, respectively, the geographic coordinate system and perpendicular to the direction of true north direction is the horizontal vector V h Base, establish a spherical coordinate system
Figure PCTCN2020077050-appb-000010
(3.3)记该观察点的视野边界与球体坐标系正北方向矢基的夹角值α o和β o(3.3) Record the angle values α o and β o between the field of view boundary of the observation point and the vector base in the north direction of the spherical coordinate system.
进一步的,所述的山体有效投影面切割模块的具体功能如下:Further, the specific functions of the effective projection surface cutting module of the mountain are as follows:
在球面坐标系中作山体在水平面V h上的投影P h,取投影P h中与观察点距离最大的点,记该点坐标为
Figure PCTCN2020077050-appb-000011
其中同时r t为该点到观察点的距离,
Figure PCTCN2020077050-appb-000012
该点与观察点连线与正北方方向坐标轴的夹角,取观察点在水平面V h上的视野边界的角平分线,该角平分线与标准投影面P s相交于点(R vmax,0,0.5(α oo)),若r t≥R vmax,则过点(R vmax,0,0.5(α oo))作与标准投影面P s相切的平面P a,则P a为近似投影平面;若r t<R vmax,则以观察点所在高度的水平面V h为平面,以r t为半径,作参考半球面C v,然后过点
Figure PCTCN2020077050-appb-000013
作与参考半球面C v相切的平面P a,则P a为近似投影平面,在近似投影平面P a上,分别过(min(R vmax,r t),0,α o)和(min(R vmax,r t),0,β o)作垂直于水平面V h的直线,则近似投影平面P a被两条直线切割出的区域为近似有效投影区域P ea,对山体高度2/3以上区域,作其在近似有效投影区域P ea上的投影,该投影为近似有效山体投影。
In the spherical coordinate system, make the projection P h of the mountain on the horizontal plane V h , take the point with the largest distance from the observation point in the projection P h , and record the coordinate of this point as
Figure PCTCN2020077050-appb-000011
Where r t is the distance from the point to the observation point,
Figure PCTCN2020077050-appb-000012
The angle between the line connecting this point and the observation point and the coordinate axis in the true north direction is taken as the angular bisector of the viewing boundary of the observation point on the horizontal plane V h . The angular bisector intersects the standard projection plane P s at the point (R vmax , 0,0.5(α oo )), if r t ≥R vmax , then the crossing point (R vmax ,0,0.5(α oo )) will be the plane P a tangent to the standard projection plane P s , Then P a is the approximate projection plane; if r t <R vmax , take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point
Figure PCTCN2020077050-appb-000013
Draw a plane P a tangent to the reference hemisphere C v , then P a is the approximate projection plane. On the approximate projection plane P a , pass (min(R vmax ,r t ),0,α o ) and (min (R vmax ,r t ),0,β o ) is a straight line perpendicular to the horizontal plane V h , then the approximate projection plane P a is cut by the two straight lines as the approximate effective projection area P ea , which is 2/3 of the height of the mountain The above area is taken as its projection on the approximate effective projection area Pea , which is an approximate effective hill projection.
进一步的,所述的观山视线遮挡计算模块的具体功能如下:Further, the specific functions of the mountain view occlusion calculation module are as follows:
(5.1)生成观山视线,将有效山体投影栅格化在m×n个矩形栅格区域中,以左下角的栅格中心点为原点,在近似有效投影区域P ea上建立正交坐标系ζ,将栅格化后的有效山体投影简化为由这些栅格的中心点构成的点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)},其中,(x 1,y 1),(x 2,y 2),…,(x s,y s)为山体投影栅格化为点集后的点在二维正交坐标系ζ上的离散坐标,0≤x i≤m,0≤y i≤n,1<i<S,S为栅格的中心点的总数量,观察点Ο到点N 1,N 2,…,N s的连线,记为视线L 1,L 2,…,L s,每个栅格的中心点拥有权重w i,其中,0≤w i≤1; (5.1) Generate the view of the mountain, rasterize the effective mountain projection into m×n rectangular grid areas, take the grid center point in the lower left corner as the origin, and establish an orthogonal coordinate system on the approximate effective projection area P ea ζ, the effective hill projection after rasterization is simplified to a point set composed of the center points of these grids {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s ( x s ,y s )}, where (x 1 ,y 1 ),(x 2 ,y 2 ),...,(x s ,y s ) are the points after the hill projection rasterized into a point set in two dimensions Discrete coordinates on the orthogonal coordinate system ζ, 0≤x i ≤m, 0≤y i ≤n, 1<i<S, S is the total number of center points of the grid, observation point Ο to point N 1 ,N The connection of 2 ,...,N s is denoted as the line of sight L 1 ,L 2 ,...,L s . The center point of each grid has a weight w i , where 0≤w i ≤1;
(5.2)视线遮挡计算(5.2) Sight occlusion calculation
步骤一,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为0的点进行检索,记检索出的点构成的子集为{N 1(0,y 1),…,N j(0,y 0max)},其中,j为横坐标为0的点的总数,记横坐标为0的纵坐标最大的点为N 0max,y 0max为N 0max纵坐标的值; Step 1 : Search for the point with the abscissa of 0 in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, record The subset of the retrieved points is {N 1 (0,y 1 ),...,N j (0,y 0max )}, where j is the total number of points with an abscissa of 0, and the abscissa is 0 The point with the largest ordinate is N 0max , and y 0max is the value of N 0max ordinate;
步骤二,判断点N 0max对应的视线L 0max否被遮挡,若视线L 0max被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为0的点对应的视线记为被遮挡;若视线L 0max未被遮挡,则执行步骤三; Step two, N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set {N 1 (x 1, y 1), N 2 (x 2, y 2), ..., In N s (x s ,y s )}, the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
步骤三,以集合{N 1(0,y 1),…,N j(0,y 0max)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历; Step 3: Set up a balanced binary search tree with the points in the set {N 1 (0,y 1 ),...,N j (0,y 0max )}, and the value of each node in the balanced binary search tree Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point in the set;
步骤四,每遍历一个结点,计算该结点对应的视线是否被遮挡,并将该结点对应的视线是否被遮挡这一属性记录在一个列表中;Step 4: When traversing a node, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
若该结点对应的视线未被遮挡,则继续遍历其左子树,并将该结点和该结点的右子树上的全部点对应的视线定义为未被遮挡;If the line of sight corresponding to the node is not blocked, continue to traverse the left subtree, and define the line of sight corresponding to all points on the node and the right subtree of the node as unblocked;
若该结点对应的视线已被遮挡,则将该结点和该结点的左子树上的全部点对应的视线定义为已被遮挡,并计算该结点的右子结点对应的视线是否被遮挡:If the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
若该结点的右子结点对应的视线未被遮挡,则将其余未被标记的结点对应的视线定义为未被遮挡,并停止遍历;If the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
若该结点的右子结点对应的视线已被遮挡,则继续遍历其右子树;If the line of sight corresponding to the right child node of the node has been blocked, continue to traverse the right child tree;
在遍历结点的过程中,若遇到已标记过对应的视线是否被遮挡的结点,则直接从列表中读取它对应的视线是否被遮挡的结果,当所有结点对应的视线是否被遮挡都以被标记时,停止遍历;In the process of traversing the nodes, if you encounter a node that has been marked whether the corresponding line of sight is blocked, read the result of whether its corresponding line of sight is blocked directly from the list, and when all the nodes correspond to whether the line of sight is blocked Stop traversing when all the occlusions are marked;
步骤五,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为k的点进行检索,其中,0<k≤m,记检索出的点构成的子集为{N 1(k,y 1),…,N j(k,y kmax)},其中,j为横坐标为k的点的总数,记纵坐标最大的点为N kmax,y kmax为N kmax纵坐标的值,判断点N kmax对应的视线L kmax是否被遮挡,若视线L kmax被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为k的点对应的视线记为被遮挡;若视线L kmax未被遮挡,则以集合{N 1(k,y 1),…,N j(k,y kmax)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历,执行步骤四; Step 5: Retrieve the point with the abscissa of k in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, where , 0<k≤m, record the subset of the retrieved points as {N 1 (k,y 1 ),...,N j (k,y kmax )}, where j is the point of the abscissa k In total, the point with the largest ordinate is N kmax , and y kmax is the value of N kmax ordinate. It is judged whether the line of sight L kmax corresponding to the point N kmax is blocked. If the line of sight L kmax is blocked, the point set {N 1 ( x 1 ,y 1 ),N 2 (x 2 ,y 2 ),…,N s (x s ,y s )), the line of sight corresponding to all points with the abscissa k is recorded as occluded; if the line of sight L kmax is not If it is occluded, the points in the set {N 1 (k,y 1 ),…,N j (k,y kmax )} are used to build a balanced binary search tree, and the value of each node in the balanced binary search tree Is the value of the ordinate of each point in the set, traverse the nodes in the balanced binary search tree, and perform step four;
步骤六,分别取k=1,k=2,…,k=m,重复步骤五,完成全部视线L 1,L 2,…,L s是否被遮挡的计算。 Step 6, respectively take k=1, k=2,...,k=m, repeat step 5, complete the calculation of whether all the sight lines L 1 , L 2 ,..., L s are blocked.
进一步的,所述数据输出及成像模块的具体功能如下:Further, the specific functions of the data output and imaging module are as follows:
(6.1)计算观山可视域数值,对于视线L i∈{L 1,L 2,…,L s},若L i被标记为被遮挡,则赋予L i属性值μ i=0,L i被标记为未被遮挡,则赋予L i属性值μ i=1,定义一个MVF值,
Figure PCTCN2020077050-appb-000014
MVF的取值范围为[0,1],它代表观察者在一定大气能见度约束下,在某一观察点的观山可视率;
(6.1) Calculate the value of the viewable field of the mountain. For the line of sight L i ∈ {L 1 ,L 2 ,...,L s }, if Li is marked as occluded, the attribute value of L i is assigned μ i = 0, L i is marked as not blocked, the attribute value imparting L i μ i = 1, define a value MVF,
Figure PCTCN2020077050-appb-000014
The value range of MVF is [0,1], which represents the viewability of the observer at a certain observation point under certain atmospheric visibility constraints;
(6.2)通过颜色成像,将三维地图上的一点设置为观察点,输入最大可视距离和观察观察者的视野角度范围,可以实时计算观山可视率的值,根据MVF值的大小设置观测点对应栅格的颜色;(6.2) Through color imaging, set a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, you can calculate the value of mountain visibility in real time, and set the observation according to the MVF value The point corresponds to the color of the grid;
(6.3)生成观山可视域地图,即将上述着色后的颜色栅格放进原模型中对应的位置。(6.3) Generate a view of the mountain visual domain map, that is, put the colored grid into the corresponding position in the original model.
有益效果:与现有技术相比,本发明的技术方案具有以下有益技术效果:Beneficial effects: Compared with the prior art, the technical solution of the present invention has the following beneficial technical effects:
本发明提出的一种城市观山可视域的测量方法,能够在既定城市范围内对包括城市道路、城市街区以内、建筑外立面、建筑屋顶等在内的全域表面作为观察点进行城市观山可视域的测量,避免现有测量技术在观察点选择上的局限性;通过观察点视野边界创建球体坐标系,在球体坐标系中切割出山体有效投影面,并生成观山视线,并对视线是否被遮挡进行计算,有效地提高了观山可视域地测量精度,避免了传统测量方法精度不高、工作效率低下等问题;输出观山可视域数据并成像,最终生成观山可视域地图,效果较为直观,为城市规划设计地进一步分析和决策提供了基础的理性支撑。The present invention proposes a method for measuring the visual field of urban mountain viewing, which can perform urban observations on the entire surface including urban roads, urban blocks, building facades, building roofs, etc. within a given city. The measurement of the mountain visual field avoids the limitations of the existing measurement technology in the selection of observation points; the spherical coordinate system is created through the boundary of the observation point field of view, and the effective projection surface of the mountain is cut out in the spherical coordinate system, and the mountain sight line is generated, and Calculate whether the line of sight is blocked or not, which effectively improves the measurement accuracy of the viewing area of the mountain and avoids the problems of low accuracy and low work efficiency of traditional measurement methods; output and image the data of the viewing area, and finally generate the view of the mountain The visual domain map is more intuitive and provides a basic rational support for further analysis and decision-making in urban planning and design.
附图说明Description of the drawings
图1是本发明的城市观山可视域数字化测度方法技术流程图;Figure 1 is a technical flow chart of the digital measurement method for urban mountain viewing in the visual domain of the present invention;
图2是本发明的根据视线夹角创建球体坐标系图;Figure 2 is a diagram of creating a sphere coordinate system according to the angle of sight of the present invention;
图3是本发明的切割山体有效投影面图;Figure 3 is an effective projection plane view of the cutting mountain of the present invention;
图4是本发明的计算观山视线遮挡程度图。Fig. 4 is a diagram of calculating the degree of obstruction of the view of the mountain in the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明的技术方案作进一步的说明。The technical scheme of the present invention will be further described below in conjunction with the drawings and embodiments.
本发明公开了一种城市观山可视域的测量方法,该方法包括如下步骤:The invention discloses a method for measuring the visual domain of urban mountain viewing, which includes the following steps:
(1)采集并建构包含山体及城市区域的实景三维模型场景;(1) Collect and construct real-life 3D model scenes including mountains and urban areas;
(2)提取观测区域,并对模型表面进行栅格化;(2) Extract the observation area and rasterize the model surface;
(3)设定观察点并根据视线夹角创建球体坐标系;(3) Set the observation point and create a spherical coordinate system according to the angle of sight;
(4)在球体坐标系中切割出山体有效投影面;(4) Cut out the effective projection surface of the mountain in the spherical coordinate system;
(5)生成观山视线,并对视线是否被遮挡进行计算;(5) Generate the sight of the mountain and calculate whether the sight is blocked;
(6)输出观山可视域数据并成像,生成观山可视域地图。(6) Output and image the visual field data of mountain viewing to generate a map of the visual field of mountain viewing.
进一步的,步骤(1)采集并建构包含山体及城市区域的数据库场景,具体方法如下:Further, step (1) collect and construct a database scene including mountains and urban areas, and the specific method is as follows:
(1.1)通过实测获取包含山体及城市区域的倾斜摄影数据(1.1) Obtain tilt photography data including mountain and urban areas through actual measurement
倾斜摄影测量通过在飞行平台上搭载多镜头相机组同时采集1个垂直角度及4个倾斜角度的影像,飞行平台比如多旋翼无人机、固定翼无人机、垂直起降无人机等。Tilt photogrammetry uses a multi-lens camera set on a flying platform to collect images at one vertical angle and four tilt angles at the same time. Flying platforms such as multi-rotor drones, fixed-wing drones, and vertical take-off and landing drones.
(1.2)根据获取的倾斜摄影数据生成基于真实影像纹理的实景三维模型(1.2) Generate a real 3D model based on real image texture according to the acquired oblique photography data
倾斜摄影自动化建模软件几何校正、联合平差、多视影像匹配等一系列处理获得地物全方位信息的数据以生成实景三维模型;自动化建模软件可以是法国DIGINEXT公司研发VirtualGeo软件、美国Pictometry公司的EFSElectronic Field Study软件等。Oblique photography automated modeling software geometric correction, joint adjustment, multi-view image matching and other data processing to obtain all-round information of ground features to generate real-world 3D models; automated modeling software can be the VirtualGeo software developed by the French DIGINEXT company, and the US Pictometry The company’s EFSelectronic Field Study software, etc.
(1.3)通过SuperMap平台加载根据倾斜摄影数据获得的实景三维模型(1.3) Load the real 3D model obtained from the oblique photography data through the SuperMap platform
SuperMap平台运用LOD(Level of Detail)优化调度,仅占用较少硬件资源,保障稳定的海量数据承载能力,并同时支持直接加载任意剖分类型的倾斜摄影模型,包括.osg/.osgb、.x、.dae、.obj等格式,平台通过生成配置文件功能可将存放在多个文件夹的多个*.osgb格式的倾斜摄影模型数据生成为*.scp格式文件,该文件记录了倾斜摄影模型文件的相对路径、名称、***点位置及坐标系信息等模型配置内容,平台通过加载*.scp格式的三维模型缓存文件的方式,实现了OSGB模型数据的直接批量加载与浏览。The SuperMap platform uses LOD (Level of Detail) to optimize scheduling, occupies less hardware resources, guarantees a stable mass data carrying capacity, and supports direct loading of oblique photography models of any subdivision type, including .osg/.osgb, .x , .Dae, .obj and other formats, the platform can generate multiple *.osgb format oblique photography model data stored in multiple folders into *.scp format files through the configuration file generation function, which records the oblique photography model The relative path, name, insertion point position and coordinate system information of the file and other model configuration content, the platform realizes the direct bulk loading and browsing of OSGB model data by loading the *.scp format 3D model cache file.
进一步的,步骤(2)提取观测区域,并对模型表面进行栅格化,具体方法如下:Further, in step (2), the observation area is extracted and the model surface is rasterized. The specific method is as follows:
(2.1)观测区域提取,在SuperMap平台加载倾斜摄影获得的实景三维模型中提取观测区域,此处是从大区域中选择所要观测的区域,从观测区域观测山体。(2.1) Observation area extraction, extract the observation area from the real 3D model obtained by loading the oblique photography on the SuperMap platform, here is to select the area to be observed from the large area, and observe the mountain from the observation area.
(2.2)对实景三维模型中的观测区域表面整体栅格化,栅格的方法是对实景三维模型中的三维城市模型的包括地面、建筑立面、屋顶以单位平方米进行栅格化,在栅格转化的过程中,栅格单元的尺寸选择是非常关键的:栅格单元尺寸过大,则分析精度下降;反之,栅格单元尺寸过小,则后续的可视域分析时间消耗代价将上升。因此,需要根据收集到的数据体量、数据精度及目标分析精度来综合确定栅格基本单元的大小。实际操作中,比如可以选择单位平方米为基本单元精度。(2.2) Rasterize the surface of the observation area in the real 3D model as a whole. The grid method is to rasterize the ground, building facade, and roof of the 3D city model in the real 3D model in units of square meters. In the process of raster conversion, the selection of the size of the raster unit is very critical: if the size of the raster unit is too large, the analysis accuracy will be reduced; on the contrary, if the size of the raster unit is too small, the subsequent visual field analysis time will cost rise. Therefore, it is necessary to comprehensively determine the size of the basic grid cell based on the collected data volume, data accuracy and target analysis accuracy. In actual operation, for example, the unit square meter can be selected as the basic unit accuracy.
进一步的,步骤(3)设定观察点并根据视线夹角创建球体坐标系,具体方法如下:Further, step (3) sets the observation point and creates a spherical coordinate system according to the angle of the line of sight. The specific method is as follows:
(3.1)设定观察点坐标,选取每个栅格的几何中心点,作为代表该栅格观察点;(3.1) Set the coordinates of the observation point, and select the geometric center point of each grid as a representative observation point of the grid;
(3.2)创建球体坐标系。将城市空间中的观察者转化为三维空间中的观察点Ο(x o,y o,z o),也即栅格观察点。其中,(x o,y o)为观察者所在的平面坐标值,z o为观察点的水平面高度。以观察点所在高度的水平面V h为平面,以当前环境下的最大可视距离R vmax为半径, 作可视半球面,将该半球面定义为标准投影面P s。以观察点Ο(x o,y o,z o)为球心,分别以地理坐标系中的正北方向和水平面V h的垂直方向为矢基,建立球体坐标系
Figure PCTCN2020077050-appb-000015
所述当前环境可以是当前空气、阳光等环境。
(3.2) Create a spherical coordinate system. Urban space into viewer viewing point three-dimensional space Ο (x o, y o, z o), i.e. observation grid points. Among them, (x o , y o ) is the plane coordinate value of the observer, and z o is the horizontal plane height of the observation point. Taking the horizontal plane V h at the height of the observation point as the plane, and the maximum visible distance R vmax in the current environment as the radius, the visible hemisphere is defined as the standard projection surface P s . Take the observation point Ο (x o , y o , z o ) as the center of the sphere, and use the true north direction in the geographic coordinate system and the vertical direction of the horizontal plane V h as the vector bases to establish a spherical coordinate system
Figure PCTCN2020077050-appb-000015
The current environment may be the current environment such as air and sunlight.
(3.3)确定视野边界。设定观察点Ο的观察范围受到障碍物或者其他客观原因的限制,造成在该观察点的观察者只能观察到某个角度范围内的景观。这个角度范围被定义为视野边界。记该视野边界与球体坐标系正北方向矢基的夹角值α o和β o(3.3) Determine the boundary of the field of view. The observation range of the set observation point Ο is restricted by obstacles or other objective reasons, so that the observer at the observation point can only observe the landscape within a certain angle range. This angular range is defined as the field of view boundary. Record the angle values α o and β o between the boundary of the field of view and the vector base in the north direction of the spherical coordinate system.
例如,某观察点的视野范围为正北方到正南方之间,那么该观察点的属性值为(0,π)。For example, if the field of view of an observation point is between true north and true south, the attribute value of the observation point is (0,π).
进一步的,步骤(4)在球体坐标系中切割出山体有效投影面,具体方法如下:Further, step (4) cuts out the effective projection surface of the mountain in the spherical coordinate system, and the specific method is as follows:
在该球面坐标系下,过点(R vmax,0,α o)和(0,0,0)作与水平面V h垂直的平面
Figure PCTCN2020077050-appb-000016
同理,过点(R vmax,0,β o)和(0,0,0)作与水平面V h的平面
Figure PCTCN2020077050-appb-000017
将标准投影面P s被平面
Figure PCTCN2020077050-appb-000018
和平面
Figure PCTCN2020077050-appb-000019
切割出的区域定义为标准有效投影区域P e。作山体在标准有效投影区域P e上的投影,该投影为标准有效山体投影。
In this spherical coordinate system, the crossing points (R vmax ,0,α o ) and (0,0,0) are planes perpendicular to the horizontal plane V h
Figure PCTCN2020077050-appb-000016
In the same way, the crossing points (R vmax ,0,β o ) and (0,0,0) are used as the plane with the horizontal plane V h
Figure PCTCN2020077050-appb-000017
The standard projection plane P s is plane
Figure PCTCN2020077050-appb-000018
And plane
Figure PCTCN2020077050-appb-000019
The cut area is defined as the standard effective projection area P e . Make the projection of the hill on the standard effective projection area P e , which is the standard effective hill projection.
应该注意的是,由于复杂曲面投影到球面这一过程计算量的限制,在实际应用中,往往会对标准投影面作一定程度上的近似。在球面坐标系中作山体在水平面V h上的投影P h,取投影P h中与观察点距离最大的点,记该点坐标为
Figure PCTCN2020077050-appb-000020
其中同时r t为该点到观察点的距离,
Figure PCTCN2020077050-appb-000021
该点与观察点连线与正北方方向坐标轴的夹角。取观察点在水平面V h上的视野边界的角平分线,该角平分线与标准投影面P s相交于点(R vmax,0,0.5(α oo))。若r t≥R vmax,则过点(R vmax,0,0.5(α oo))作与标准投影面P s相切的平面P a,则P a为近似投影平面;若r t<R vmax,则以观察点所在高度的水平面V h为平面,以r t为半径,作参考半球面C v,然后过点
Figure PCTCN2020077050-appb-000022
作与参考半球面C v相切的平面P a,则P a为近似投影平面。在近似投影平面P a上,分别过(min(R vmax,r t),0,α o)和(min(R vmax,r t),0,β o)作垂直于水平面V h的直线,则近似投影平面P a被两条直线切割出的区域为近似有效投影区域P ea。对山体高度2/3以上区域,作其在近似有效投影区域P ea上的投影,该投影为近似有效山体投影。
It should be noted that due to the limitation of calculation amount in the process of projecting complex curved surfaces onto spherical surfaces, in practical applications, standard projection surfaces are often approximated to a certain extent. In the spherical coordinate system, make the projection P h of the mountain on the horizontal plane V h , take the point with the largest distance from the observation point in the projection P h , and record the coordinate of this point as
Figure PCTCN2020077050-appb-000020
Where r t is the distance from the point to the observation point,
Figure PCTCN2020077050-appb-000021
The angle between the line connecting this point and the observation point and the coordinate axis in the true north direction. Take the angular bisector of the visual field boundary of the observation point on the horizontal plane V h , which intersects the standard projection plane P s at the point (R vmax ,0,0.5(α oo )). If r t ≥ R vmax , then the crossing point (R vmax ,0,0.5(α oo )) is used as a plane P a tangent to the standard projection plane P s , then P a is an approximate projection plane; if r t <R vmax , then take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point
Figure PCTCN2020077050-appb-000022
Draw a plane P a tangent to the reference hemisphere C v , then P a is an approximate projection plane. On the approximate projection plane P a , pass (min(R vmax ,r t ),0,α o ) and (min(R vmax ,r t ),0,β o ) to make straight lines perpendicular to the horizontal plane V h respectively, Then the area cut by the two straight lines of the approximate projection plane P a is the approximate effective projection area P ea . For the area above 2/3 of the height of the mountain, make its projection on the approximate effective projection area P ea , which is an approximate effective mountain projection.
进一步的,步骤(5)生成观山视线,并对视线是否被遮挡进行计算,具体方法如下:Further, step (5) generates the sight line of the mountain, and calculates whether the sight line is blocked, the specific method is as follows:
(5.1)生成观山视线(5.1) Generating mountain sight
使用近似有效投影区域P ea上的投影来阐述下面的步骤。将有效山体投影栅格化在m×n个矩形栅格区域中,以左下角的栅格中心点为原点,在近似有效投影区域P ea上建立正交坐标系ζ,将栅格化后的有效山体投影简化为由这些栅格的中心点构成的点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}。其中,(x 1,y 1),(x 2,y 2),…,(x s,y s)为山体投影栅格化为点集后的点在二维正交坐标系ζ上的离散坐标,0≤x i≤m,0≤y i≤n,1<i<S,S为栅格的中心点的总数量。观察点Ο到点N 1,N 2,…,N s的连线,记为视线L 1,L 2,…,L s。另外,每个栅格的中心点拥有权重w i,其中,0≤w i≤1。若需要对山体上标志性景观进行强调,则可以将与山体上标志性景观相关的点集的权重提高,若不需要,一般地,认为w 1=w 2=…=w s=1。基本栅格单元的大小需要根据计算环境、数据质量、精度需求进行综合考虑。 Use the projection on the approximate effective projection area P ea to illustrate the following steps. The effective mountain projection is rasterized in m×n rectangular grid areas, with the grid center point in the lower left corner as the origin, an orthogonal coordinate system ζ is established on the approximate effective projection area P ea , and the rasterized The effective hill projection is simplified as a point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )} formed by the center points of these grids. Among them, (x 1 , y 1 ), (x 2 , y 2 ),..., (x s , y s ) are the discrete points in the two-dimensional orthogonal coordinate system ζ after the mountain projection rasterized into a point set Coordinates, 0≤x i ≤m, 0≤y i ≤n, 1<i<S, S is the total number of center points of the grid. The line connecting the observation point Ο to the points N 1 , N 2 ,..., N s is recorded as the line of sight L 1 , L 2 ,..., L s . Further, the center point of each grid ownership weight w i, wherein, 0≤w i ≤1. If it is necessary to emphasize the iconic landscape on the mountain, the weight of the point set related to the iconic landscape on the mountain can be increased. If not, generally, w 1 =w 2 =...=w s =1. The size of the basic grid unit needs to be considered comprehensively according to the computing environment, data quality, and accuracy requirements.
(5.2)视线遮挡计算(5.2) Sight occlusion calculation
对视线有是否被遮挡进行计算,定义一种成为二分视线计算的算法,该算法的步 骤为:Calculate whether the line of sight is occluded, and define an algorithm called a binary line of sight calculation. The steps of the algorithm are:
步骤一:step one:
对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为0的点进行检索,记检索出的点构成的子集为{N 1(0,y 1),…,N j(0,y 0max)},其中,j为横坐标为0的点的总数,记横坐标为0的纵坐标最大的点为N 0max,y 0max为N 0max纵坐标的值; For the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )} to retrieve the point with the abscissa of 0, record the retrieved The subset of points is {N 1 (0,y 1 ),...,N j (0,y 0max )}, where j is the total number of points with an abscissa of 0, and the ordinate with an abscissa of 0 is the largest The point of is N 0max , and y 0max is the value of the ordinate of N 0max ;
步骤二:Step two:
判断点N 0max对应的视线L 0max否被遮挡,若视线L 0max被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为0的点对应的视线记为被遮挡;若视线L 0max未被遮挡,则执行步骤三; N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set {N 1 (x 1, y 1), N 2 (x 2, y 2), ..., N s ( x s ,y s )} the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
步骤三:Step three:
以集合{N 1(0,y 1),…,N j(0,y 0max)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历; Set up a balanced binary search tree with the points in the set {N 1 (0,y 1 ),…,N j (0,y 0max )}, and the value of each node in the balanced binary search tree is every Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point;
步骤四:Step 4:
每遍历一个结点,计算该结点对应的视线是否被遮挡,并将该结点对应的视线是否被遮挡这一属性记录在一个列表中;Every time a node is traversed, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
若该结点对应的视线未被遮挡,则继续遍历其左子树,并将该结点和该结点的右子树上的全部点对应的视线定义为未被遮挡;If the line of sight corresponding to the node is not blocked, continue to traverse the left subtree, and define the line of sight corresponding to all points on the node and the right subtree of the node as unblocked;
若该结点对应的视线已被遮挡,则将该结点和该结点的左子树上的全部点对应的视线定义为已被遮挡,并计算该结点的右子结点对应的视线是否被遮挡:If the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
若该结点的右子结点对应的视线未被遮挡,则将其余未被标记的结点对应的视线定义为未被遮挡,并停止遍历;If the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
若该结点的右子结点对应的视线已被遮挡,则继续遍历其右子树;If the line of sight corresponding to the right child node of the node has been blocked, continue to traverse the right child tree;
在遍历结点的过程中,若遇到已标记过对应的视线是否被遮挡的结点,则直接从列表中读取它对应的视线是否被遮挡的结果,当所有结点对应的视线是否被遮挡都以被标记时,停止遍历。In the process of traversing the nodes, if you encounter a node that has been marked whether the corresponding line of sight is blocked, read the result of whether its corresponding line of sight is blocked directly from the list, and when all the nodes correspond to whether the line of sight is blocked Stop traversing when all the occlusions are marked.
步骤五:Step Five:
对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为k的点进行检索,其中,0<k≤m,记检索出的点构成的子集为{N 1(k,y 1),…,N j(k,y kmax)},其中,j为横坐标为k的点的总数,记纵坐标最大的点为N kmax,y kmax为N kmax纵坐标的值。判断点N kmax对应的视线L kmax否被遮挡。若视线L kmax被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为k的点对应的视线记为被遮挡。若视线L kmax未被遮挡,则以集合{N 1(k,y 1),…,N j(k,y kmax)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历,执行步骤四。 For the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),…,N s (x s ,y s )} in the point set with the abscissa k to search, where 0< k≤m, record the subset of retrieved points as {N 1 (k,y 1 ),...,N j (k,y kmax )}, where j is the total number of points with the abscissa k, mark The point with the largest ordinate is N kmax , and y kmax is the value of N kmax . N kmax determination points corresponding to whether the line of sight L kmax is blocked. If the line of sight L kmax is blocked, set all the abscissas in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )} to k The line of sight corresponding to the point of is recorded as blocked. If the line of sight L kmax is not blocked, the points in the set {N 1 (k,y 1 ),…,N j (k,y kmax )} are used to establish a balanced binary search tree, and each of the balanced binary search trees The value of each node is the value of the ordinate of each point in the set. The nodes in the balanced binary search tree are traversed, and step four is executed.
步骤六:分别取k=1,k=2,…,k=m,重复步骤五,完成全部视线L 1,L 2,…,L s是否被遮挡的计算。 Step 6: Take k=1, k=2,...,k=m respectively, repeat step 5 to complete the calculation of whether all the sight lines L 1 , L 2 ,..., L s are blocked.
进一步的,步骤(6)输出观山可视域数据并成像,生成观山可视域地图,具体方法如下:Further, step (6) output and image the viewable field data of the mountain to generate the viewable field map, the specific method is as follows:
(6.1)计算观山可视域数值(6.1) Calculate the value of the view field
对于视线L i∈{L 1,L 2,…,L s},若L i被标记为被遮挡,则赋予L i属性值μ i=0,L i被标记为未被遮挡,则赋予L i属性值μ i=1。定义一个MVF值,
Figure PCTCN2020077050-appb-000023
MVF的取值范围为[0,1],它代表观察者在一定大气能见度约束下,在某一观察点的观山可视率。
Line of sight L i ∈ {L 1, L 2, ..., L s}, if L i is flagged as being occluded, the given attribute value L i μ i = 0, L i is marked as not blocked, then imparting L The i attribute value μ i =1. Define an MVF value,
Figure PCTCN2020077050-appb-000023
The value range of MVF is [0,1], which represents the viewability of the observer at a certain observation point under certain atmospheric visibility constraints.
(6.2)通过颜色成像(6.2) Imaging by color
将三维地图上的一点设置为观察点,输入最大可视距离和观察观察者的视野角度范围,可以实时计算观山可视率的值。另外,设置渐变色条,如以绿色对应1完全看到,以白色代表0完全看不到,设置0-1之间不同数值对应不同的颜色,如从白色到绿色的渐变,根据MVF值的大小析出颜色,经过计算机计算,可对三维地图上多个观察区域进行以观山可视率为特征的颜色渲染,即根据MVF值设置观测点对应栅格的颜色,MVF值越大颜色越深,MVF值越小颜色越浅。Set a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, and you can calculate the value of mountain visibility in real time. In addition, set the gradient color bar, such as green corresponding to 1 completely visible, white representing 0 completely invisible, setting different values between 0-1 to correspond to different colors, such as the gradient from white to green, according to the MVF value The size of the precipitation color, after computer calculation, the color rendering of multiple observation areas on the three-dimensional map can be characterized by the viewability of the mountain, which is to set the color of the grid corresponding to the observation point according to the MVF value. , The smaller the MVF value, the lighter the color.
(6.3)生成观山可视域地图(6.3) Generate a view of the mountain visual domain map
将富有MVF值颜色属性的观测区域模型重新置入整体的数据库场景,即将上述着色后的颜色栅格放进原来的模型对应的位置。The observation area model with rich MVF value color attributes is re-placed into the overall database scene, that is, the colored grid is placed in the position corresponding to the original model.
优选的,本专利可补充大气能见度约束。记某城市大气能见度数值为a,若某射线距离大于a,则该射线直接记为有物体遮挡。Preferably, this patent can supplement atmospheric visibility constraints. Record the atmospheric visibility value of a city as a. If the distance of a certain ray is greater than a, the ray is directly recorded as obscured by an object.
此外,本发明还提出一种城市观山可视域的测量***,该***包括如下模块:In addition, the present invention also provides a system for measuring the visual domain of urban mountain viewing, which includes the following modules:
整体场景建构模块,采集并建构包含山体及城市区域的实景三维模型场景;The overall scene construction module, which collects and constructs real 3D model scenes including mountains and urban areas;
观测区域全表面栅格化模块,提取观测区域,并对模型表面进行栅格化;The full surface rasterization module of the observation area extracts the observation area and rasterizes the model surface;
观察点球面坐标系创建模块,设定观察点并根据视野边界创建球体坐标系;Observation point spherical coordinate system creation module, set the observation point and create a spherical coordinate system according to the field of view boundary;
山体有效投影面切割模块,在球体坐标系中切割出山体有效投影面;Mountain effective projection surface cutting module, cut out the effective projection surface of the mountain in the spherical coordinate system;
观山视线遮挡计算模块,生成观山视线,并对视线是否被遮挡进行计算;The mountain sight occlusion calculation module generates the sight line of the mountain and calculates whether the sight line is blocked;
数据输出及成像模块,输出观山可视域数据并成像,生成观山可视域地图。The data output and imaging module outputs and images the viewable field data of the mountain to generate a map of the viewable field.
进一步的,所述整体场景建构模块的具体功能如下:Further, the specific functions of the overall scene construction module are as follows:
(1.1)通过实测获取包含山体及城市区域的倾斜摄影数据;(1.1) Obtain oblique photography data including mountains and urban areas through actual measurement;
(1.2)根据获取的倾斜摄影数据生成基于真实影像纹理的实景三维模型;(1.2) According to the acquired oblique photographic data, a real 3D model based on real image texture is generated;
(1.3)通过SuperMap平台加载根据倾斜摄影数据获得的实景三维模型。(1.3) Load the real 3D model obtained from the oblique photography data through the SuperMap platform.
进一步的,所述观测区域全表面栅格化模块具体功能如下:Further, the specific functions of the full-surface rasterization module of the observation area are as follows:
(2.1)观测区域提取,在SuperMap平台加载倾斜摄影获得的实景三维模型中提取观测区域以观测山体;(2.1) Observation area extraction, extract the observation area from the real three-dimensional model obtained by loading oblique photography on the SuperMap platform to observe the mountain;
(2.2)对实景三维模型中的观测区域表面整体栅格化。(2.2) Rasterize the entire surface of the observation area in the real three-dimensional model.
进一步的,所述的观察点球面坐标系创建模块具体功能如下:Further, the specific functions of the observation point spherical coordinate system creation module are as follows:
(3.1)设定观察点坐标,选取每个栅格的几何中心点,作为代表该栅格观察点;(3.1) Set the coordinates of the observation point, and select the geometric center point of each grid as a representative observation point of the grid;
(3.2)创建球体坐标系,将城市空间中的观察者转化为三维空间中的观察点Ο(x o,y o,z o),也即栅格观察点,其中,(x o,y o)为观察者所在的平面坐标值,z o为观察点的水平面高度,以观察点所在高度的水平面V h为平面,以当前环境下的最大可视距离R vmax为半径,作可视半球面,将该半球面定义为标准投影面P s,以观察点Ο(x o,y o,z o)为球心,分别以地理坐标系中的正北方向和水平面V h的垂直方向为矢基,建立球体坐标系
Figure PCTCN2020077050-appb-000024
(3.2) create a sphere coordinate system, the urban space into viewer viewpoint three-dimensional space Ο (x o, y o, z o), i.e. grid points observed, where, (x o, y o ) Is the coordinate value of the plane where the observer is, z o is the height of the horizontal plane of the observation point, the horizontal plane V h at the height of the observation point is the plane, and the maximum visible distance R vmax in the current environment is the radius, which is the visible hemisphere , the hemispherical surface is defined as a standard projection plane P s, to the viewpoint Ο (x o, y o, z o) is the center of the sphere, respectively, the geographic coordinate system and perpendicular to the direction of true north direction is the horizontal vector V h Base, establish a spherical coordinate system
Figure PCTCN2020077050-appb-000024
(3.3)记该观察点的视野边界与球体坐标系正北方向矢基的夹角值α o和β o(3.3) Record the angle values α o and β o between the field of view boundary of the observation point and the vector base in the north direction of the spherical coordinate system.
进一步的,所述的山体有效投影面切割模块的具体功能如下:Further, the specific functions of the effective projection surface cutting module of the mountain are as follows:
在球面坐标系中作山体在水平面V h上的投影P h,取投影P h中与观察点距离最大的点,记该点坐标为
Figure PCTCN2020077050-appb-000025
其中同时r t为该点到观察点的距离,
Figure PCTCN2020077050-appb-000026
该点与观察点连线与正北方方向坐标轴的夹角,取观察点在水平面V h上的视野边界的角平分线,该角平分线与标准投影面P s相交于点(R vmax,0,0.5(α oo)),若r t≥R vmax,则过点(R vmax,0,0.5(α oo))作与标准投影面P s相切的平面P a,则P a为近似投影平面;若r t<R vmax,则以观察点所在高度的水平面V h为平面,以r t为半径,作参考半球面C v,然后过点
Figure PCTCN2020077050-appb-000027
作与参考半球面C v相切的平面P a,则P a为近似投影平面,在近似投影平面P a上,分别过(min(R vmax,r t),0,α o)和(min(R vmax,r t),0,β o)作垂直于水平面V h的直线,则近似投影平面P a被两条直线切割出的区域为近似有效投影区域P ea,对山体高度2/3以上区域,作其在近似有效投影区域P ea上的投影,该投影为近似有效山体投影。
In the spherical coordinate system, make the projection P h of the mountain on the horizontal plane V h , take the point with the largest distance from the observation point in the projection P h , and record the coordinate of this point as
Figure PCTCN2020077050-appb-000025
Where r t is the distance from the point to the observation point,
Figure PCTCN2020077050-appb-000026
The angle between the line connecting this point and the observation point and the coordinate axis in the true north direction is taken as the angular bisector of the viewing boundary of the observation point on the horizontal plane V h . The angular bisector intersects the standard projection plane P s at the point (R vmax , 0,0.5(α oo )), if r t ≥R vmax , then the crossing point (R vmax ,0,0.5(α oo )) will be the plane P a tangent to the standard projection plane P s , Then P a is the approximate projection plane; if r t <R vmax , take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point
Figure PCTCN2020077050-appb-000027
Draw a plane P a tangent to the reference hemisphere C v , then P a is the approximate projection plane. On the approximate projection plane P a , pass (min(R vmax ,r t ),0,α o ) and (min (R vmax ,r t ),0,β o ) is a straight line perpendicular to the horizontal plane V h , then the approximate projection plane P a is cut by the two straight lines as the approximate effective projection area P ea , which is 2/3 of the height of the mountain The above area is taken as its projection on the approximate effective projection area Pea , which is an approximate effective hill projection.
进一步的,所述的观山视线遮挡计算模块的具体功能如下:Further, the specific functions of the mountain view occlusion calculation module are as follows:
(5.1)生成观山视线,将有效山体投影栅格化在m×n个矩形栅格区域中,以左下角的栅格中心点为原点,在近似有效投影区域P ea上建立正交坐标系ζ,将栅格化后的有效山体投影简化为由这些栅格的中心点构成的点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)},其中,(x 1,y 1),(x 2,y 2),…,(x s,y s)为山体投影栅格化为点集后的点在二维正交坐标系ζ上的离散坐标,0≤x i≤m,0≤y i≤n,1<i<S,S为栅格的中心点的总数量,观察点Ο到点N 1,N 2,…,N s的连线,记为视线L 1,L 2,…,L s,每个栅格的中心点拥有权重w i,其中,0≤w i≤1; (5.1) Generate the view of the mountain, rasterize the effective mountain projection into m×n rectangular grid areas, take the grid center point in the lower left corner as the origin, and establish an orthogonal coordinate system on the approximate effective projection area P ea ζ, the effective hill projection after rasterization is simplified to a point set composed of the center points of these grids {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s ( x s ,y s )}, where (x 1 ,y 1 ),(x 2 ,y 2 ),...,(x s ,y s ) are the points after the hill projection rasterized into a point set in two dimensions Discrete coordinates on the orthogonal coordinate system ζ, 0≤x i ≤m, 0≤y i ≤n, 1<i<S, S is the total number of center points of the grid, observation point Ο to point N 1 ,N The connection of 2 ,...,N s is denoted as the line of sight L 1 ,L 2 ,...,L s . The center point of each grid has a weight w i , where 0≤w i ≤1;
(5.2)视线遮挡计算(5.2) Sight occlusion calculation
步骤一,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为0的点进行检索,记检索出的点构成的子集为{N 1(0,y 1),…,N j(0,y 0max)},其中,j为横坐标为0的点的总数,记横坐标为0的纵坐标最大的点为N 0max,y 0max为N 0max纵坐标的值; Step 1 : Search for the point with the abscissa of 0 in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, record The subset of the retrieved points is {N 1 (0,y 1 ),...,N j (0,y 0max )}, where j is the total number of points with an abscissa of 0, and the abscissa is 0 The point with the largest ordinate is N 0max , and y 0max is the value of N 0max ordinate;
步骤二,判断点N 0max对应的视线L 0max否被遮挡,若视线L 0max被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为0的点对应的视线记为被遮挡;若视线L 0max未被遮挡,则执行步骤三; Step two, N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set {N 1 (x 1, y 1), N 2 (x 2, y 2), ..., In N s (x s ,y s )}, the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
步骤三,以集合{N 1(0,y 1),…,N j(0,y 0max)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历; Step 3: Set up a balanced binary search tree with the points in the set {N 1 (0,y 1 ),...,N j (0,y 0max )}, and the value of each node in the balanced binary search tree Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point in the set;
步骤四,每遍历一个结点,计算该结点对应的视线是否被遮挡,并将该结点对应的视线是否被遮挡这一属性记录在一个列表中;Step 4: When traversing a node, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
若该结点对应的视线未被遮挡,则继续遍历其左子树,并将该结点和该结点的右子树上的全部点对应的视线定义为未被遮挡;If the line of sight corresponding to the node is not blocked, continue to traverse the left subtree, and define the line of sight corresponding to all points on the node and the right subtree of the node as unblocked;
若该结点对应的视线已被遮挡,则将该结点和该结点的左子树上的全部点对应的视线定义为已被遮挡,并计算该结点的右子结点对应的视线是否被遮挡:If the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
若该结点的右子结点对应的视线未被遮挡,则将其余未被标记的结点对应的视线定义为未被遮挡,并停止遍历;If the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
若该结点的右子结点对应的视线已被遮挡,则继续遍历其右子树;If the line of sight corresponding to the right child node of the node has been blocked, continue to traverse the right child tree;
在遍历结点的过程中,若遇到已标记过对应的视线是否被遮挡的结点,则直接从 列表中读取它对应的视线是否被遮挡的结果,当所有结点对应的视线是否被遮挡都以被标记时,停止遍历;In the process of traversing the nodes, if you encounter a node that has been marked whether the corresponding line of sight is blocked, read the result of whether its corresponding line of sight is blocked directly from the list, and when all the nodes correspond to whether the line of sight is blocked Stop traversing when all the occlusions are marked;
步骤五,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为k的点进行检索,其中,0<k≤m,记检索出的点构成的子集为{N 1(k,y 1),…,N j(k,y kmax)},其中,j为横坐标为k的点的总数,记纵坐标最大的点为N kmax,y kmax为N kmax纵坐标的值,判断点N kmax对应的视线L kmax是否被遮挡,若视线L kmax被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为k的点对应的视线记为被遮挡;若视线L kmax未被遮挡,则以集合{N 1(k,y 1),…,N j(k,y kmax)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历,执行步骤四; Step 5: Retrieve the point with the abscissa of k in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, where , 0<k≤m, record the subset of the retrieved points as {N 1 (k,y 1 ),...,N j (k,y kmax )}, where j is the point of the abscissa k In total, the point with the largest ordinate is N kmax , and y kmax is the value of N kmax ordinate. It is judged whether the line of sight L kmax corresponding to the point N kmax is blocked. If the line of sight L kmax is blocked, the point set {N 1 ( x 1 ,y 1 ),N 2 (x 2 ,y 2 ),…,N s (x s ,y s )), the line of sight corresponding to all points with the abscissa k is recorded as occluded; if the line of sight L kmax is not If it is occluded, the points in the set {N 1 (k,y 1 ),…,N j (k,y kmax )} are used to build a balanced binary search tree, and the value of each node in the balanced binary search tree Is the value of the ordinate of each point in the set, traverse the nodes in the balanced binary search tree, and perform step four;
步骤六,分别取k=1,k=2,…,k=m,重复步骤五,完成全部视线L 1,L 2,…,L s是否被遮挡的计算。 Step 6, respectively take k=1, k=2,...,k=m, repeat step 5, complete the calculation of whether all the sight lines L 1 , L 2 ,..., L s are blocked.
进一步的,所述数据输出及成像模块的具体功能如下:Further, the specific functions of the data output and imaging module are as follows:
(6.1)计算观山可视域数值,对于视线L i∈{L 1,L 2,…,L s},若L i被标记为被遮挡,则赋予L i属性值μ i=0,L i被标记为未被遮挡,则赋予L i属性值μ i=1,定义一个MVF值,
Figure PCTCN2020077050-appb-000028
MVF的取值范围为[0,1],它代表观察者在一定大气能见度约束下,在某一观察点的观山可视率;
(6.1) Calculate the value of the viewable field of the mountain. For the line of sight L i ∈ {L 1 ,L 2 ,...,L s }, if Li is marked as occluded, the attribute value of L i is assigned μ i = 0, L i is marked as not blocked, the attribute value imparting L i μ i = 1, define a value MVF,
Figure PCTCN2020077050-appb-000028
The value range of MVF is [0,1], which represents the viewability of the observer at a certain observation point under certain atmospheric visibility constraints;
(6.2)通过颜色成像,将三维地图上的一点设置为观察点,输入最大可视距离和观察观察者的视野角度范围,可以实时计算观山可视率的值,根据MVF值的大小设置观测点对应栅格的颜色;(6.2) Through color imaging, set a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, you can calculate the value of mountain visibility in real time, and set the observation according to the MVF value The point corresponds to the color of the grid;
(6.3)生成观山可视域地图,即将上述着色后的颜色栅格放进原模型中对应的位置。(6.3) Generate a view of the mountain visual domain map, that is, put the colored grid into the corresponding position in the original model.

Claims (14)

  1. 一种城市观山可视域的测量方法,其特征在于,该方法包括以下步骤:A method for measuring the visual field of urban mountain viewing, characterized in that the method includes the following steps:
    (1)采集并建构包含山体及城市区域的实景三维模型场景;(1) Collect and construct real-life 3D model scenes including mountains and urban areas;
    (2)提取观测区域,并对模型表面进行栅格化;(2) Extract the observation area and rasterize the model surface;
    (3)设定观察点并根据视野边界创建球体坐标系;(3) Set the observation point and create a spherical coordinate system according to the boundary of the field of view;
    (4)在球体坐标系中切割出山体有效投影面;(4) Cut out the effective projection surface of the mountain in the spherical coordinate system;
    (5)生成观山视线,并对视线是否被遮挡进行计算;(5) Generate the sight of the mountain and calculate whether the sight is blocked;
    (6)输出观山可视域数据并成像,生成观山可视域地图。(6) Output and image the visual field data of mountain viewing to generate a map of the visual field of mountain viewing.
  2. 根据权利要求1所述的一种城市观山可视域的测量方法,其特征在于,步骤(1)中,采集并建构包含山体及城市区域的实景三维模型场景的方法如下:The method for measuring the visual domain of urban mountain viewing according to claim 1, wherein in step (1), the method of collecting and constructing a real three-dimensional model scene including the mountain and the urban area is as follows:
    (1.1)通过实测获取包含山体及城市区域的倾斜摄影数据;(1.1) Obtain oblique photography data including mountains and urban areas through actual measurement;
    (1.2)根据获取的倾斜摄影数据生成基于真实影像纹理的实景三维模型;(1.2) According to the acquired oblique photographic data, a real 3D model based on real image texture is generated;
    (1.3)通过SuperMap平台加载根据倾斜摄影数据获得的实景三维模型。(1.3) Load the real 3D model obtained from the oblique photography data through the SuperMap platform.
  3. 根据权利要求1或2所述的一种城市观山可视域的高精度测度方法,其特征在于,步骤(2)中,提取观测区域,并对模型表面进行栅格化的方法如下:A high-precision measurement method of the visual domain of urban mountain viewing according to claim 1 or 2, characterized in that, in step (2), the method of extracting the observation area and rasterizing the model surface is as follows:
    (2.1)在实景三维模型中提取观测区域;(2.1) Extract the observation area from the real 3D model;
    (2.2)对实景三维模型中的观测区域表面整体栅格化。(2.2) Rasterize the entire surface of the observation area in the real three-dimensional model.
  4. 根据权利要求3所述的一种城市观山可视域的测量方法,其特征在于,步骤(3)中,设定观察点并根据视线夹角创建球体坐标系的方法如下:The method for measuring the visual domain of urban mountain viewing according to claim 3, wherein in step (3), the method of setting the observation point and creating a spherical coordinate system according to the angle of sight is as follows:
    (3.1)设定观察点坐标,选取每个栅格的几何中心点,作为代表该栅格的观察点;(3.1) Set the coordinates of the observation point, and select the geometric center point of each grid as the observation point representing the grid;
    (3.2)创建球体坐标系,将城市空间中的观察者转化为三维空间中的观察点Ο(x o,y o,z o),也即栅格观察点,其中,(x o,y o)为观察者所在的平面坐标值,z o为观察点的水平面高度,以观察点所在高度的水平面V h为平面,以当前环境下的最大可视距离R vmax为半径,作可视半球面,将该半球面定义为标准投影面P s,以观察点Ο(x o,y o,z o)为球心,分别以地理坐标系中的正北方向和水平面V h的垂直方向为矢基,建立球体坐标系
    Figure PCTCN2020077050-appb-100001
    (3.2) create a sphere coordinate system, the urban space into viewer viewpoint three-dimensional space Ο (x o, y o, z o), i.e. grid points observed, where, (x o, y o ) Is the coordinate value of the plane where the observer is, z o is the height of the horizontal plane of the observation point, the horizontal plane V h at the height of the observation point is the plane, and the maximum visible distance R vmax in the current environment is the radius, which is the visible hemisphere , the hemispherical surface is defined as a standard projection plane P s, to the viewpoint Ο (x o, y o, z o) is the center of the sphere, respectively, the geographic coordinate system and perpendicular to the direction of true north direction is the horizontal vector V h Base, establish a spherical coordinate system
    Figure PCTCN2020077050-appb-100001
    (3.3)记该观察点的视野边界与球体坐标系正北方向矢基的夹角值α o和β o(3.3) Record the angle values α o and β o between the field of view boundary of the observation point and the vector base in the north direction of the spherical coordinate system.
  5. 根据权利要求4所述的一种城市观山可视域的测量方法,其特征在于,步骤(4)中,在球体坐标系中切割出山体有效投影面方法如下:The method for measuring the visual domain of urban mountain viewing according to claim 4, wherein, in step (4), the method of cutting out the effective projection surface of the mountain in the spherical coordinate system is as follows:
    在球面坐标系中作山体在水平面V h上的投影P h,取投影P h中与观察点距离最大的点,记该点坐标为
    Figure PCTCN2020077050-appb-100002
    其中同时r t为该点到观察点的距离,
    Figure PCTCN2020077050-appb-100003
    该点与观察点连线与正北方方向坐标轴的夹角,取观察点在水平面V h上的视野边界的角平分线,该角平分线与标准投影面P s相交于点(R vmax,0,0.5(α oo)),若r t≥R vmax,则过点(R vmax,0,0.5(α oo))作与标准投影面P s相切的平面P a,则P a为近似投影平面;若r t<R vmax,则以观察点所在高度的水平面V h为平面,以r t为半径,作参考半球面C v,然后过点
    Figure PCTCN2020077050-appb-100004
    作与参考半球面C v相切的平面P a,则P a为近似投影平面,在近似投影平面P a上,分别过(min(R vmax,r t),0,α o)和(min(R vmax,r t),0,β o)作垂直于水平面V h的直线,则近似投影平面P a被两条直线切割出的区域为近似有效投影区域P ea,对山体高度2/3以上区域,作其在近似有效投影区域P ea上的投影,该投影为近似有效山体投影。
    In the spherical coordinate system, make the projection P h of the mountain on the horizontal plane V h , take the point with the largest distance from the observation point in the projection P h , and record the coordinate of this point as
    Figure PCTCN2020077050-appb-100002
    Where r t is the distance from the point to the observation point,
    Figure PCTCN2020077050-appb-100003
    The angle between the line connecting this point and the observation point and the coordinate axis in the true north direction is taken as the angular bisector of the viewing boundary of the observation point on the horizontal plane V h . The angular bisector intersects the standard projection plane P s at the point (R vmax , 0,0.5(α oo )), if r t ≥R vmax , then the crossing point (R vmax ,0,0.5(α oo )) will be the plane P a tangent to the standard projection plane P s , Then P a is the approximate projection plane; if r t <R vmax , take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point
    Figure PCTCN2020077050-appb-100004
    Draw a plane P a tangent to the reference hemisphere C v , then P a is the approximate projection plane. On the approximate projection plane P a , pass (min(R vmax ,r t ),0,α o ) and (min (R vmax ,r t ),0,β o ) is a straight line perpendicular to the horizontal plane V h , then the approximate projection plane P a is cut by the two straight lines as the approximate effective projection area P ea , which is 2/3 of the height of the mountain The above area is taken as its projection on the approximate effective projection area Pea , which is an approximate effective hill projection.
  6. 根据权利要求5所述的一种城市观山可视域的高精度测度方法,其特征在于,步骤 (5)生成观山视线,并对视线是否被遮挡进行计算,具体方法如下:A high-precision measurement method for the visual domain of urban mountain viewing according to claim 5, wherein step (5) generates the mountain viewing line of sight, and calculates whether the line of sight is blocked, the specific method is as follows:
    (5.1)生成观山视线,将有效山体投影栅格化在m×n个矩形栅格区域中,以左下角的栅格中心点为原点,在近似有效投影区域P ea上建立正交坐标系ζ,将栅格化后的有效山体投影简化为由这些栅格的中心点构成的点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)},其中,(x 1,y 1),(x 2,y 2),…,(x s,y s)为山体投影栅格化为点集后的点在二维正交坐标系ζ上的离散坐标,0≤x i≤m,0≤y i≤n,1<i<S,S为栅格的中心点的总数量,观察点Ο到点N 1,N 2,…,N s的连线,记为视线L 1,L 2,…,L s,每个栅格的中心点拥有权重w i,其中,0≤w i≤1; (5.1) Generate the view of the mountain, rasterize the effective mountain projection into m×n rectangular grid areas, take the grid center point in the lower left corner as the origin, and establish an orthogonal coordinate system on the approximate effective projection area P ea ζ, the effective hill projection after rasterization is simplified to a point set composed of the center points of these grids {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s ( x s ,y s )}, where (x 1 ,y 1 ),(x 2 ,y 2 ),...,(x s ,y s ) are the points after the hill projection rasterized into a point set in two dimensions Discrete coordinates on the orthogonal coordinate system ζ, 0≤x i ≤m, 0≤y i ≤n, 1<i<S, S is the total number of center points of the grid, observation point Ο to point N 1 ,N The connection of 2 ,...,N s is denoted as the line of sight L 1 ,L 2 ,...,L s . The center point of each grid has a weight w i , where 0≤w i ≤1;
    (5.2)视线遮挡计算(5.2) Sight occlusion calculation
    步骤一,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为0的点进行检索,记检索出的点构成的子集为{N 1(0,y 1),…,N j(0,y 0max)},其中,j为横坐标为0的点的总数,记横坐标为0的纵坐标最大的点为N 0max,y 0max为N 0max纵坐标的值; Step 1 : Search for the point with the abscissa of 0 in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, record The subset of the retrieved points is {N 1 (0,y 1 ),...,N j (0,y 0max )}, where j is the total number of points with an abscissa of 0, and the abscissa is 0 The point with the largest ordinate is N 0max , and y 0max is the value of N 0max ordinate;
    步骤二,判断点N 0max对应的视线L 0max否被遮挡,若视线L 0max被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为0的点对应的视线记为被遮挡;若视线L 0max未被遮挡,则执行步骤三; Step two, N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set {N 1 (x 1, y 1), N 2 (x 2, y 2), ..., In N s (x s ,y s )}, the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
    步骤三,以集合{N 1(0,y 1),…,N j(0,y 0max)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历; Step 3: Set up a balanced binary search tree with the points in the set {N 1 (0,y 1 ),...,N j (0,y 0max )}, and the value of each node in the balanced binary search tree Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point in the set;
    步骤四,每遍历一个结点,计算该结点对应的视线是否被遮挡,并将该结点对应的视线是否被遮挡这一属性记录在一个列表中;Step 4: When traversing a node, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
    若该结点对应的视线未被遮挡,则继续遍历其左子树,并将该结点和该结点的右子树上的全部点对应的视线定义为未被遮挡;If the line of sight corresponding to the node is not blocked, continue to traverse the left subtree, and define the line of sight corresponding to all points on the node and the right subtree of the node as unblocked;
    若该结点对应的视线已被遮挡,则将该结点和该结点的左子树上的全部点对应的视线定义为已被遮挡,并计算该结点的右子结点对应的视线是否被遮挡:If the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
    若该结点的右子结点对应的视线未被遮挡,则将其余未被标记的结点对应的视线定义为未被遮挡,并停止遍历;If the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
    若该结点的右子结点对应的视线已被遮挡,则继续遍历其右子树;If the line of sight corresponding to the right child node of the node has been blocked, continue to traverse the right child tree;
    在遍历结点的过程中,若遇到已标记过对应的视线是否被遮挡的结点,则直接从列表中读取它对应的视线是否被遮挡的结果,当所有结点对应的视线是否被遮挡都以被标记时,停止遍历;In the process of traversing the nodes, if you encounter a node that has been marked whether the corresponding line of sight is blocked, read the result of whether its corresponding line of sight is blocked directly from the list, and when all the nodes correspond to whether the line of sight is blocked Stop traversing when all the occlusions are marked;
    步骤五,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为k的点进行检索,其中,0<k≤m,记检索出的点构成的子集为{N 1(k,y 1),…,N j(k,y kmax)},其中,j为横坐标为k的点的总数,记纵坐标最大的点为N kmax,y kmax为N kmax纵坐标的值,判断点N kmax对应的视线L kmax是否被遮挡,若视线L kmax被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为k的点对应的视线记为被遮挡;若视线L kmax未被遮挡,则以集合{N 1(k,y 1),…,N j(k,y kmax)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历,执行步骤四; Step 5: Retrieve the point with the abscissa of k in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, where , 0<k≤m, record the subset of the retrieved points as {N 1 (k,y 1 ),...,N j (k,y kmax )}, where j is the point of the abscissa k In total, the point with the largest ordinate is N kmax , and y kmax is the value of N kmax ordinate. It is judged whether the line of sight L kmax corresponding to the point N kmax is blocked. If the line of sight L kmax is blocked, the point set {N 1 ( x 1 ,y 1 ),N 2 (x 2 ,y 2 ),…,N s (x s ,y s )), the line of sight corresponding to all points with the abscissa k is recorded as occluded; if the line of sight L kmax is not If it is occluded, the points in the set {N 1 (k,y 1 ),…,N j (k,y kmax )} are used to build a balanced binary search tree, and the value of each node in the balanced binary search tree Is the value of the ordinate of each point in the set, traverse the nodes in the balanced binary search tree, and perform step four;
    步骤六,分别取k=1,k=2,…,k=m,重复步骤五,完成全部视线L 1,L 2,…,L s是否被遮挡的计算。 Step 6, respectively take k=1, k=2,...,k=m, repeat step 5, complete the calculation of whether all the sight lines L 1 , L 2 ,..., L s are blocked.
  7. 根据权利要求6所述的一种城市观山可视域的测量方法,其特征在于,步骤(6)输出 观山可视域数据并成像,生成观山可视域地图,具体方法如下:The method for measuring the visual area of urban mountain viewing according to claim 6, wherein step (6) outputs and images the visual field of mountain viewing data to generate a map of the visual field of mountain viewing. The specific method is as follows:
    (6.1)计算观山可视域数值,对于视线L i∈{L 1,L 2,…,L s},若L i被标记为被遮挡,则赋予L i属性值μ i=0,L i被标记为未被遮挡,则赋予L i属性值μ i=1,定义一个MVF值,
    Figure PCTCN2020077050-appb-100005
    MVF的取值范围为[0,1],它代表观察者在一定大气能见度约束下,在某一观察点的观山可视率;
    (6.1) Calculate the value of the viewable field of the mountain. For the line of sight L i ∈ {L 1 ,L 2 ,...,L s }, if Li is marked as occluded, the attribute value of L i is assigned μ i = 0, L i is marked as not blocked, the attribute value imparting L i μ i = 1, define a value MVF,
    Figure PCTCN2020077050-appb-100005
    The value range of MVF is [0,1], which represents the viewability of the observer at a certain observation point under certain atmospheric visibility constraints;
    (6.2)通过颜色成像,将三维地图上的一点设置为观察点,输入最大可视距离和观察观察者的视野角度范围,可以实时计算观山可视率的值,根据MVF值的大小设置观测点对应栅格的颜色;(6.2) Through color imaging, set a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, you can calculate the value of mountain visibility in real time, and set the observation according to the MVF value The point corresponds to the color of the grid;
    (6.3)生成观山可视域地图,即将上述着色后的颜色栅格放进原模型中对应的位置。(6.3) Generate a view of the mountain visual domain map, that is, put the colored grid into the corresponding position in the original model.
  8. 一种城市观山可视域的测量***,其特征在于,该***包括如下模块:A measurement system for urban mountain viewing visual domain, which is characterized in that the system includes the following modules:
    整体场景建构模块,采集并建构包含山体及城市区域的实景三维模型场景;The overall scene construction module, which collects and constructs real 3D model scenes including mountains and urban areas;
    观测区域全表面栅格化模块,提取观测区域,并对模型表面进行栅格化;The full surface rasterization module of the observation area extracts the observation area and rasterizes the model surface;
    观察点球面坐标系创建模块,设定观察点并根据视野边界创建球体坐标系;Observation point spherical coordinate system creation module, set the observation point and create a spherical coordinate system according to the field of view boundary;
    山体有效投影面切割模块,在球体坐标系中切割出山体有效投影面;Mountain effective projection surface cutting module, cut out the effective projection surface of the mountain in the spherical coordinate system;
    观山视线遮挡计算模块,生成观山视线,并对视线是否被遮挡进行计算;The mountain sight occlusion calculation module generates the sight line of the mountain and calculates whether the sight line is blocked;
    数据输出及成像模块,输出观山可视域数据并成像,生成观山可视域地图。The data output and imaging module outputs and images the viewable field data of the mountain to generate a map of the viewable field.
  9. 根据权利要求8所述的一种城市观山可视域的测量***,其特征在于,整体场景建构模块的具体功能如下:The measurement system for the visual domain of urban mountain viewing according to claim 8, wherein the specific functions of the overall scene building module are as follows:
    (1.1)通过实测获取包含山体及城市区域的倾斜摄影数据;(1.1) Obtain oblique photography data including mountains and urban areas through actual measurement;
    (1.2)根据获取的倾斜摄影数据生成基于真实影像纹理的实景三维模型;(1.2) According to the acquired oblique photographic data, a real 3D model based on real image texture is generated;
    (1.3)通过SuperMap平台加载根据倾斜摄影数据获得的实景三维模型。(1.3) Load the real 3D model obtained from the oblique photography data through the SuperMap platform.
  10. 根据权利要求8或9所述的一种城市观山可视域的测量***,其特征在于,观测区域全表面栅格化模块具体功能如下:The measurement system for the visual area of urban mountain viewing according to claim 8 or 9, wherein the specific functions of the full surface rasterization module of the observation area are as follows:
    (2.1)在实景三维模型中提取观测区域;(2.1) Extract the observation area from the real 3D model;
    (2.2)对实景三维模型中的观测区域表面整体栅格化。(2.2) Rasterize the entire surface of the observation area in the real three-dimensional model.
  11. 根据权利要求10所述的一种城市观山可视域的测量***,其特征在于,观察点球面坐标系创建模块具体功能如下:The measurement system for urban mountain viewing visual domain according to claim 10, wherein the specific functions of the observation point spherical coordinate system creation module are as follows:
    (3.1)设定观察点坐标,选取每个栅格的几何中心点,作为代表该栅格观察点;(3.1) Set the coordinates of the observation point, and select the geometric center point of each grid as a representative observation point of the grid;
    (3.2)创建球体坐标系,将城市空间中的观察者转化为三维空间中的观察点Ο(x o,y o,z o),也即栅格观察点,其中,(x o,y o)为观察者所在的平面坐标值,z o为观察点的水平面高度,以观察点所在高度的水平面V h为平面,以当前环境下的最大可视距离R vmax为半径,作可视半球面,将该半球面定义为标准投影面P s,以观察点Ο(x o,y o,z o)为球心,分别以地理坐标系中的正北方向和水平面V h的垂直方向为矢基,建立球体坐标系
    Figure PCTCN2020077050-appb-100006
    (3.2) create a sphere coordinate system, the urban space into viewer viewpoint three-dimensional space Ο (x o, y o, z o), i.e. grid points observed, where, (x o, y o ) Is the coordinate value of the plane where the observer is, z o is the height of the horizontal plane of the observation point, the horizontal plane V h at the height of the observation point is the plane, and the maximum visible distance R vmax in the current environment is the radius, which is the visible hemisphere , the hemispherical surface is defined as a standard projection plane P s, to the viewpoint Ο (x o, y o, z o) is the center of the sphere, respectively, the geographic coordinate system and perpendicular to the direction of true north direction is the horizontal vector V h Base, establish a spherical coordinate system
    Figure PCTCN2020077050-appb-100006
    (3.3)记该观察点的视野边界与球体坐标系正北方向矢基的夹角值α o和β o(3.3) Record the angle values α o and β o between the field of view boundary of the observation point and the vector base in the north direction of the spherical coordinate system.
  12. 根据权利要求11所述的一种城市观山可视域的测量***,其特征在于,山体有效投影面切割模块的具体功能如下:The measurement system for the visual domain of urban mountain viewing according to claim 11, wherein the specific functions of the mountain effective projection surface cutting module are as follows:
    在球面坐标系中作山体在水平面V h上的投影P h,取投影P h中与观察点距离最大的点,记该点坐标为
    Figure PCTCN2020077050-appb-100007
    其中同时r t为该点到观察点的距离,
    Figure PCTCN2020077050-appb-100008
    该点与观察点连线与正北方 方向坐标轴的夹角,取观察点在水平面V h上的视野边界的角平分线,该角平分线与标准投影面P s相交于点(R vmax,0,0.5(α oo)),若r t≥R vmax,则过点(R vmax,0,0.5(α oo))作与标准投影面P s相切的平面P a,则P a为近似投影平面;若r t<R vmax,则以观察点所在高度的水平面V h为平面,以r t为半径,作参考半球面C v,然后过点
    Figure PCTCN2020077050-appb-100009
    作与参考半球面C v相切的平面P a,则P a为近似投影平面,在近似投影平面P a上,分别过(min(R vmax,r t),0,α o)和(min(R vmax,r t),0,β o)作垂直于水平面V h的直线,则近似投影平面P a被两条直线切割出的区域为近似有效投影区域P ea,对山体高度2/3以上区域,作其在近似有效投影区域P ea上的投影,该投影为近似有效山体投影。
    In the spherical coordinate system, make the projection P h of the mountain on the horizontal plane V h , take the point with the largest distance from the observation point in the projection P h , and record the coordinate of this point as
    Figure PCTCN2020077050-appb-100007
    Where r t is the distance from the point to the observation point,
    Figure PCTCN2020077050-appb-100008
    The angle between the line connecting this point and the observation point and the coordinate axis in the true north direction is taken as the angular bisector of the viewing boundary of the observation point on the horizontal plane V h . The angular bisector intersects the standard projection plane P s at the point (R vmax , 0,0.5(α oo )), if r t ≥R vmax , then the crossing point (R vmax ,0,0.5(α oo )) will be the plane P a tangent to the standard projection plane P s , Then P a is the approximate projection plane; if r t <R vmax , take the horizontal plane V h at the height of the observation point as the plane, and take r t as the radius, as the reference hemisphere C v , and then pass the point
    Figure PCTCN2020077050-appb-100009
    Draw a plane P a tangent to the reference hemisphere C v , then P a is the approximate projection plane. On the approximate projection plane P a , pass (min(R vmax ,r t ),0,α o ) and (min (R vmax ,r t ),0,β o ) is a straight line perpendicular to the horizontal plane V h , then the approximate projection plane P a is cut by the two straight lines as the approximate effective projection area P ea , which is 2/3 of the height of the mountain The above area is taken as its projection on the approximate effective projection area Pea , which is an approximate effective hill projection.
  13. 根据权利要求12所述的一种城市观山可视域的测量***,其特征在于,观山视线遮挡计算模块的具体功能如下:The system for measuring the visual area of urban mountain viewing according to claim 12, wherein the specific functions of the mountain viewing occlusion calculation module are as follows:
    (5.1)生成观山视线,将有效山体投影栅格化在m×n个矩形栅格区域中,以左下角的栅格中心点为原点,在近似有效投影区域P ea上建立正交坐标系ζ,将栅格化后的有效山体投影简化为由这些栅格的中心点构成的点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)},其中,(x 1,y 1),(x 2,y 2),…,(x s,y s)为山体投影栅格化为点集后的点在二维正交坐标系ζ上的离散坐标,0≤x i≤m,0≤y i≤n,1<i<S,S为栅格的中心点的总数量,观察点Ο到点N 1,N 2,…,N s的连线,记为视线L 1,L 2,…,L s,每个栅格的中心点拥有权重w i,其中,0≤w i≤1; (5.1) Generate the view of the mountain, rasterize the effective mountain projection into m×n rectangular grid areas, take the grid center point in the lower left corner as the origin, and establish an orthogonal coordinate system on the approximate effective projection area P ea ζ, the effective hill projection after rasterization is simplified to a point set composed of the center points of these grids {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s ( x s ,y s )}, where (x 1 ,y 1 ),(x 2 ,y 2 ),...,(x s ,y s ) are the points after the hill projection rasterized into a point set in two dimensions Discrete coordinates on the orthogonal coordinate system ζ, 0≤x i ≤m, 0≤y i ≤n, 1<i<S, S is the total number of center points of the grid, observation point Ο to point N 1 ,N The connection of 2 ,...,N s is denoted as the line of sight L 1 ,L 2 ,...,L s . The center point of each grid has a weight w i , where 0≤w i ≤1;
    (5.2)视线遮挡计算(5.2) Sight occlusion calculation
    步骤一,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为0的点进行检索,记检索出的点构成的子集为{N 1(0,y 1),…,N j(0,y 0max)},其中,j为横坐标为0的点的总数,记横坐标为0的纵坐标最大的点为N 0max,y 0max为N 0max纵坐标的值; Step 1 : Search for the point with the abscissa of 0 in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, record The subset of the retrieved points is {N 1 (0,y 1 ),...,N j (0,y 0max )}, where j is the total number of points with an abscissa of 0, and the abscissa is 0 The point with the largest ordinate is N 0max , and y 0max is the value of N 0max ordinate;
    步骤二,判断点N 0max对应的视线L 0max否被遮挡,若视线L 0max被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为0的点对应的视线记为被遮挡;若视线L 0max未被遮挡,则执行步骤三; Step two, N 0max determination points corresponding to the line of sight is blocked L 0max NO, if the line of sight L 0max is blocked, then the point set {N 1 (x 1, y 1), N 2 (x 2, y 2), ..., In N s (x s ,y s )}, the line of sight corresponding to all the points with the abscissa of 0 is recorded as blocked; if the line of sight L 0max is not blocked, go to step 3;
    步骤三,以集合{N 1(0,y 1),…,N j(0,y 0max)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历; Step 3: Set up a balanced binary search tree with the points in the set {N 1 (0,y 1 ),...,N j (0,y 0max )}, and the value of each node in the balanced binary search tree Traverse the nodes in the balanced binary search tree with the value of the ordinate of each point in the set;
    步骤四,每遍历一个结点,计算该结点对应的视线是否被遮挡,并将该结点对应的视线是否被遮挡这一属性记录在一个列表中;Step 4: When traversing a node, calculate whether the line of sight corresponding to the node is occluded, and record the attribute of whether the line of sight corresponding to the node is occluded in a list;
    若该结点对应的视线未被遮挡,则继续遍历其左子树,并将该结点和该结点的右子树上的全部点对应的视线定义为未被遮挡;If the line of sight corresponding to the node is not blocked, continue to traverse the left subtree, and define the line of sight corresponding to all points on the node and the right subtree of the node as unblocked;
    若该结点对应的视线已被遮挡,则将该结点和该结点的左子树上的全部点对应的视线定义为已被遮挡,并计算该结点的右子结点对应的视线是否被遮挡:If the line of sight corresponding to the node has been occluded, the line of sight corresponding to the node and all points on the left subtree of the node is defined as occluded, and the line of sight corresponding to the right sub-node of the node is calculated Is it blocked:
    若该结点的右子结点对应的视线未被遮挡,则将其余未被标记的结点对应的视线定义为未被遮挡,并停止遍历;If the line of sight corresponding to the right child node of the node is not blocked, the line of sight corresponding to the remaining unmarked nodes is defined as unblocked, and the traversal is stopped;
    若该结点的右子结点对应的视线已被遮挡,则继续遍历其右子树;If the line of sight corresponding to the right child node of the node has been blocked, continue to traverse the right child tree;
    在遍历结点的过程中,若遇到已标记过对应的视线是否被遮挡的结点,则直接从列表中读取它对应的视线是否被遮挡的结果,当所有结点对应的视线是否被遮挡都以被标记时,停止遍历;In the process of traversing the nodes, if you encounter a node that has been marked whether the corresponding line of sight is blocked, read the result of whether its corresponding line of sight is blocked directly from the list, and when all the nodes correspond to whether the line of sight is blocked Stop traversing when all the occlusions are marked;
    步骤五,对于点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中横坐标为k的点进行检索,其 中,0<k≤m,记检索出的点构成的子集为{N 1(k,y 1),…,N j(k,y kmax)},其中,j为横坐标为k的点的总数,记纵坐标最大的点为N kmax,y kmax为N kmax纵坐标的值,判断点N kmax对应的视线L kmax是否被遮挡,若视线L kmax被遮挡,则将点集{N 1(x 1,y 1),N 2(x 2,y 2),…,N s(x s,y s)}中所有横坐标为k的点对应的视线记为被遮挡;若视线L kmax未被遮挡,则以集合{N 1(k,y 1),…,N j(k,y kmax)}中的点建立平衡二叉搜索树,平衡二叉搜索树的中每个结点的值为集合中每个点的纵坐标的值,对该平衡二叉搜索树中的结点进行遍历,执行步骤四; Step 5: Retrieve the point with the abscissa of k in the point set {N 1 (x 1 ,y 1 ),N 2 (x 2 ,y 2 ),...,N s (x s ,y s )}, where , 0<k≤m, record the subset of the retrieved points as {N 1 (k,y 1 ),...,N j (k,y kmax )}, where j is the point of the abscissa k In total, the point with the largest ordinate is N kmax , and y kmax is the value of N kmax ordinate. It is judged whether the line of sight L kmax corresponding to the point N kmax is blocked. If the line of sight L kmax is blocked, the point set {N 1 ( x 1 ,y 1 ),N 2 (x 2 ,y 2 ),…,N s (x s ,y s )), the line of sight corresponding to all points with the abscissa k is recorded as occluded; if the line of sight L kmax is not If it is occluded, the points in the set {N 1 (k,y 1 ),…,N j (k,y kmax )} are used to build a balanced binary search tree, and the value of each node in the balanced binary search tree Is the value of the ordinate of each point in the set, traverse the nodes in the balanced binary search tree, and perform step four;
    步骤六,分别取k=1,k=2,…,k=m,重复步骤五,完成全部视线L 1,L 2,…,L s是否被遮挡的计算。 Step 6, respectively take k=1, k=2,...,k=m, repeat step 5, complete the calculation of whether all the sight lines L 1 , L 2 ,..., L s are blocked.
  14. 根据权利要求13所述的一种城市观山可视域的测量***,其特征在于,数据输出及成像模块的具体功能如下:The measurement system for the visual domain of urban mountain viewing according to claim 13, wherein the specific functions of the data output and imaging module are as follows:
    (6.1)计算观山可视域数值,对于视线L i∈{L 1,L 2,…,L s},若L i被标记为被遮挡,则赋予L i属性值μ i=0,L i被标记为未被遮挡,则赋予L i属性值μ i=1,定义一个MVF值,
    Figure PCTCN2020077050-appb-100010
    MVF的取值范围为[0,1],它代表观察者在一定大气能见度约束下,在某一观察点的观山可视率;
    (6.1) Calculate the value of the viewable field of the mountain. For the line of sight L i ∈ {L 1 ,L 2 ,...,L s }, if Li is marked as occluded, the attribute value of L i is assigned μ i = 0, L i is marked as not blocked, the attribute value imparting L i μ i = 1, define a value MVF,
    Figure PCTCN2020077050-appb-100010
    The value range of MVF is [0,1], which represents the viewability of the observer at a certain observation point under certain atmospheric visibility constraints;
    (6.2)通过颜色成像,将三维地图上的一点设置为观察点,输入最大可视距离和观察观察者的视野角度范围,可以实时计算观山可视率的值,根据MVF值的大小设置观测点对应栅格的颜色;(6.2) Through color imaging, set a point on the three-dimensional map as an observation point, enter the maximum visible distance and the observer's field of view angle range, you can calculate the value of mountain visibility in real time, and set the observation according to the MVF value The point corresponds to the color of the grid;
    (6.3)生成观山可视域地图,即将上述着色后的颜色栅格放进原模型中对应的位置。(6.3) Generate a view of the mountain visual domain map, that is, put the colored grid into the corresponding position in the original model.
PCT/CN2020/077050 2019-03-28 2020-02-27 Method and system for measuring urban mountain viewing visible range WO2020192355A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910242831.2A CN109883401B (en) 2019-03-28 2019-03-28 Method and system for measuring visual field of city mountain watching
CN201910242831.2 2019-03-28

Publications (1)

Publication Number Publication Date
WO2020192355A1 true WO2020192355A1 (en) 2020-10-01

Family

ID=66934904

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2019/104993 WO2020192026A1 (en) 2019-03-28 2019-09-09 Measurement method and system for urban mountain-viewing visible range
PCT/CN2020/077050 WO2020192355A1 (en) 2019-03-28 2020-02-27 Method and system for measuring urban mountain viewing visible range

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104993 WO2020192026A1 (en) 2019-03-28 2019-09-09 Measurement method and system for urban mountain-viewing visible range

Country Status (3)

Country Link
CN (1) CN109883401B (en)
LU (1) LU102117B1 (en)
WO (2) WO2020192026A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109883401B (en) * 2019-03-28 2021-03-02 东南大学 Method and system for measuring visual field of city mountain watching
CN110728652B (en) * 2019-09-04 2021-09-14 中国地质大学(武汉) Two-dimensional rule vector space data-oriented visual field analysis method and device
CN111859489B (en) * 2020-07-27 2024-04-16 深圳市纵维立方科技有限公司 Support structure generation method and device, electronic equipment and storage medium
CN112230759B (en) * 2020-09-10 2021-10-29 东南大学 Dynamic interactive urban viewing corridor identification and planning simulation method
CN112325857A (en) * 2020-10-22 2021-02-05 中国电子科技集团公司第五十四研究所 Unmanned aerial vehicle obstacle early warning method based on oblique photography
CN113379914A (en) * 2021-07-02 2021-09-10 中煤航测遥感集团有限公司 Generation method and device of visual corridor analysis chart and computer equipment
CN113920144B (en) * 2021-09-30 2022-09-13 广东省国土资源测绘院 Real-scene photo ground vision field analysis method and system
CN114398707B (en) * 2022-01-15 2023-03-21 清华大学 Method, device and equipment for determining space shielding information
CN114494598B (en) * 2022-01-25 2023-03-21 南京师范大学 Method for optimizing urban three-dimensional visual space ratio index
CN115129291B (en) * 2022-08-31 2022-11-22 中国人民解放军国防科技大学 Three-dimensional oblique photography measurement model visualization optimization method, device and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374391B1 (en) * 2010-04-16 2013-02-12 The Boeing Company Model of visibility of targets
CN103093505A (en) * 2012-12-17 2013-05-08 天津大学 Method for realizing layer tinting effect of mountain model
CN105469410A (en) * 2015-12-03 2016-04-06 广州市城市规划勘测设计研究院 Landscape vision field analysis method based on GIS
CN105677890A (en) * 2016-01-29 2016-06-15 东南大学 Urban greening quantity digital map manufacturing and displaying method
CN105761310A (en) * 2016-02-03 2016-07-13 东南大学 Simulated analysis and image display method of digital map of sky visible range
CN106652024A (en) * 2016-12-21 2017-05-10 华东师范大学 Quick estimation and three-dimensional display method for visual green land areas of city floors
CN106703438A (en) * 2017-01-12 2017-05-24 重庆大学 Urban spatial layout method applicable to mountain topography
CN107016221A (en) * 2017-05-26 2017-08-04 吴志强 A kind of auxiliary design method based on city intelligent model
CN107944089A (en) * 2017-10-31 2018-04-20 上海市政工程设计研究总院(集团)有限公司 A kind of plot limit for height analysis system and its analysis method for regarding corridor because of the present circumstance
CN109883401A (en) * 2019-03-28 2019-06-14 东南大学 The measurement method and system of a kind of city outlook mountain visible range

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06265619A (en) * 1993-03-12 1994-09-22 Mitsubishi Electric Corp Target searching and detecting apparatus
CN102254338B (en) * 2011-06-15 2012-11-28 西安交通大学 Automatic obtaining method of three-dimensional scene optimal view angle based on maximized visual information
KR101661708B1 (en) * 2015-05-11 2016-10-04 주식회사 로보멕 System for observing seasons based on images and the method thereof
CN105571572B (en) * 2016-02-03 2018-05-08 东南大学 A kind of standard method of measurement of sky visible range
CN107316344B (en) * 2017-05-18 2020-08-14 深圳市佳创视讯技术股份有限公司 Method for planning roaming path in virtual-real fusion scene
CN109118583B (en) * 2018-08-23 2022-09-13 中国科学院电子学研究所苏州研究院 High-speed parallel terrain shading calculation method based on CPU and GPU mixing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374391B1 (en) * 2010-04-16 2013-02-12 The Boeing Company Model of visibility of targets
CN103093505A (en) * 2012-12-17 2013-05-08 天津大学 Method for realizing layer tinting effect of mountain model
CN105469410A (en) * 2015-12-03 2016-04-06 广州市城市规划勘测设计研究院 Landscape vision field analysis method based on GIS
CN105677890A (en) * 2016-01-29 2016-06-15 东南大学 Urban greening quantity digital map manufacturing and displaying method
CN105761310A (en) * 2016-02-03 2016-07-13 东南大学 Simulated analysis and image display method of digital map of sky visible range
CN106652024A (en) * 2016-12-21 2017-05-10 华东师范大学 Quick estimation and three-dimensional display method for visual green land areas of city floors
CN106703438A (en) * 2017-01-12 2017-05-24 重庆大学 Urban spatial layout method applicable to mountain topography
CN107016221A (en) * 2017-05-26 2017-08-04 吴志强 A kind of auxiliary design method based on city intelligent model
CN107944089A (en) * 2017-10-31 2018-04-20 上海市政工程设计研究总院(集团)有限公司 A kind of plot limit for height analysis system and its analysis method for regarding corridor because of the present circumstance
CN109883401A (en) * 2019-03-28 2019-06-14 东南大学 The measurement method and system of a kind of city outlook mountain visible range

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MIAO, LYULIN: "Visual evaluation of urban hillside landscape based on visualization analysis", FUJIAN ARCHITECTURE & CONSTRUCTION, no. 12, 31 December 2018 (2018-12-31), DOI: 20200524233751Y *
ZHU, YAN: "Research on the Recognition Method of Locations of Mountain View in Cities Based on GIS Visibility Analysis", INTELLIGENT BUILDING & SMART CITY, no. 10, 25 October 2018 (2018-10-25), DOI: 9480300 *

Also Published As

Publication number Publication date
CN109883401B (en) 2021-03-02
LU102117A1 (en) 2020-10-19
WO2020192026A1 (en) 2020-10-01
CN109883401A (en) 2019-06-14
LU102117B1 (en) 2021-02-18

Similar Documents

Publication Publication Date Title
WO2020192355A1 (en) Method and system for measuring urban mountain viewing visible range
Miao et al. Review of methods used to estimate the sky view factor in urban street canyons
US11222465B2 (en) Embedded urban design scene emulation method and system
WO2020156273A1 (en) Method for digital surveying and mapping and three-dimensional visualization in garden space
CN111737790B (en) Method and equipment for constructing simulated city model
CN110660125B (en) Three-dimensional modeling device for power distribution network system
CN110488871A (en) A kind of unmanned plane path dynamic programming method based on two three-dimensional integratedization
CN115937461B (en) Multi-source fusion model construction and texture generation method, device, medium and equipment
CN113379901A (en) Method and system for establishing house live-action three-dimension by utilizing public self-photographing panoramic data
US8395760B2 (en) Unified spectral and geospatial information model and the method and system generating it
Rau A line-based 3D roof model reconstruction algorithm: Tin-merging and reshaping (TMR)
CN110322541A (en) A method of selecting optimal metope texture from five inclined cameras
KR101079475B1 (en) A system for generating 3-dimensional urban spatial information using point cloud filtering
Frommholz et al. Inlining 3d reconstruction, multi-source texture mapping and semantic analysis using oblique aerial imagery
Zwolinski et al. Computing and monitoring potential of public spaces by shading analysis using 3d Lidar data and advanced image analysis
McAlinden et al. Procedural reconstruction of simulation terrain using drones
Cui et al. A Review of Indoor Automation Modeling Based on Light Detection and Ranging Point Clouds.
Zhu A pipeline of 3D scene reconstruction from point clouds
Habib et al. Integration of lidar and airborne imagery for realistic visualization of 3d urban environments
Erving et al. Data integration from different sources to create 3D virtual model
Dong et al. Quality inspection and analysis of three-dimensional geographic information model based on oblique photogrammetry
Tunc et al. 3D city reconstruction by different technologies to manage and reorganize the current situation
Zheng The Application Research of Oblique Photogrammetry Technology in Road Planning
Cheng Methods of 3D modeling in GIS
Chen et al. Development of 3D building models using multi-source data: A study of high-density urban area in Hong Kong

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20777918

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20777918

Country of ref document: EP

Kind code of ref document: A1