CN111862292A - Data rendering method and device for power transmission line corridor and computer equipment - Google Patents

Data rendering method and device for power transmission line corridor and computer equipment Download PDF

Info

Publication number
CN111862292A
CN111862292A CN202010742816.7A CN202010742816A CN111862292A CN 111862292 A CN111862292 A CN 111862292A CN 202010742816 A CN202010742816 A CN 202010742816A CN 111862292 A CN111862292 A CN 111862292A
Authority
CN
China
Prior art keywords
point cloud
cloud data
data
transmission line
power transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010742816.7A
Other languages
Chinese (zh)
Other versions
CN111862292B (en
Inventor
余文辉
吴争荣
雷伟刚
吉堂书
朱昌宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Digital Grid Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN202010742816.7A priority Critical patent/CN111862292B/en
Publication of CN111862292A publication Critical patent/CN111862292A/en
Application granted granted Critical
Publication of CN111862292B publication Critical patent/CN111862292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Image Generation (AREA)

Abstract

The application relates to a data rendering method and device for a power transmission line corridor, computer equipment and a storage medium. The method comprises the steps of obtaining point cloud data to be processed corresponding to a power transmission line corridor, dividing the point cloud data into preset tree-shaped data structures to obtain divided multilayer point cloud data, performing thinning processing on the multilayer point cloud data based on repeated resampling to obtain thinned point cloud data, caching the thinned point cloud data to obtain multilayer cached point cloud data, and rendering the point cloud data corresponding to the power transmission line corridor in a layered mode according to the level of the point cloud data. Compared with the traditional mode of classifying point clouds based on the same blocking marking, the scheme utilizes the tree-shaped data structure to layer point cloud data, and performs layered rendering after rarefying processing is performed on the basis of multi-layer point cloud data, so that the point cloud data rendering efficiency is not changed along with the data volume, and the effect of improving the point cloud data rendering efficiency of the power transmission line corridor is realized.

Description

Data rendering method and device for power transmission line corridor and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data rendering method and apparatus for a power transmission line corridor, a computer device, and a storage medium.
Background
The electric power is one of important energy sources for ensuring normal life of people, the production, transmission and management of the electric power are usually realized by an electric power system, the electric power is usually transmitted through a high-voltage transmission line after production, the high-voltage transmission line can form a corresponding transmission line corridor, the data of the transmission line corridor is usually required to be processed in order to ensure the operation safety of the transmission line, and particularly, the point cloud data of the transmission line corridor is processed. At present, a method for rendering data of a point cloud power transmission line corridor of a power transmission line corridor generally classifies the point cloud according to uniform partitioning labels, but the method has low efficiency for point cloud visualization rendering.
Therefore, the current point cloud data rendering of the power transmission line corridor has the defect of low processing efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a data rendering method, apparatus, computer device and storage medium for a power transmission line corridor, which can improve processing efficiency.
A method of data rendering of a power transmission line corridor, the method comprising:
acquiring point cloud data to be processed corresponding to the power transmission line corridor;
dividing the point cloud data into a preset tree-shaped data structure to obtain divided point cloud data; the divided point cloud data comprises a plurality of layers of point cloud data;
performing thinning treatment on the multi-layer point cloud data based on repeated resampling to obtain thinned point cloud data;
caching the point cloud data after thinning to obtain multi-layer cached point cloud data, and rendering the point cloud data corresponding to the power transmission line corridor in a layered mode according to the hierarchy of the point cloud data.
In one embodiment, the dividing the point cloud data into a preset tree-like data structure further includes, before obtaining the divided point cloud data:
dividing the region where the point cloud data to be processed is located into a plurality of grids to obtain point cloud data of the grids;
the dividing the point cloud data into a preset tree-shaped data structure to obtain the divided point cloud data comprises the following steps:
and dividing the point cloud data in each grid into a preset tree-shaped data structure to obtain the divided point cloud data in each grid.
In one embodiment, the segmenting the region where the point cloud data to be processed is located into a plurality of grids to obtain point cloud data of the plurality of grids includes:
and dividing the region into a plurality of multi-layer spherical grids according to the shape of the earth surface corresponding to the region where the point cloud data to be processed is located, so as to obtain the point cloud data of the plurality of grids.
In one embodiment, the dividing the point cloud data in each grid into a preset tree-like data structure to obtain the divided point cloud data in each grid includes:
and dividing the point cloud data in each grid into a quadtree or an octree to obtain the divided point cloud data in each grid.
In one embodiment, the multi-layer point cloud data comprises: point cloud data of a plurality of LOD levels; the point cloud data of the plurality of levels are associated through the quadtree or the octree;
based on repeated resampling, the multi-layer point cloud data is subjected to rarefying treatment to obtain rarefied point cloud data, and the method comprises the following steps:
taking the point cloud data of each node at the bottommost layer of the plurality of LOD levels as point cloud data to be sampled;
resampling each point cloud data to be sampled to obtain a father node corresponding to each node;
judging whether the father nodes corresponding to each node are the same or not;
if not, taking the point cloud data of the father node corresponding to each node as new point cloud data to be sampled, and returning to the step of resampling the point cloud data to be sampled to obtain the father node corresponding to each node;
if yes, finishing the resampling to obtain the point cloud data after rarefaction.
In one embodiment, the caching the diluted point cloud data to obtain a plurality of layers of cached point cloud data includes:
and caching the point cloud data after thinning according to the number of layers of the multilayer point cloud data to obtain cached point cloud data corresponding to each layer.
In one embodiment, the step of rendering the point cloud data corresponding to the power transmission line corridor in a layered manner according to the hierarchy of the point cloud data includes:
according to the level of the point cloud data, performing three-dimensional processing on the cached point cloud data of each layer through a hypergraph;
and rendering the point cloud data corresponding to the power transmission line corridor subjected to the three-dimensional processing in the hypergraph in a layered manner.
An apparatus for rendering data in a power transmission line corridor, the apparatus comprising:
the acquisition module is used for acquiring point cloud data to be processed corresponding to the power transmission line corridor;
the dividing module is used for dividing the point cloud data into a preset tree-shaped data structure to obtain divided point cloud data; the divided point cloud data comprises a plurality of layers of point cloud data;
the processing module is used for performing rarefaction processing on the multilayer point cloud data based on repeated resampling to obtain rarefaction point cloud data;
and the rendering module is used for caching the point cloud data after thinning to obtain a plurality of layers of cached point cloud data, and rendering the point cloud data corresponding to the power transmission line corridor in a layering manner according to the hierarchy of the point cloud data.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the data rendering method, the data rendering device, the computer equipment and the storage medium of the power transmission line corridor, the point cloud data to be processed corresponding to the power transmission line corridor are obtained, the point cloud data are divided into the preset tree-shaped data structure, the divided multi-layer point cloud data are obtained, thinning processing is carried out on the multi-layer point cloud data on the basis of repeated resampling, the thinned point cloud data are obtained, the thinned point cloud data are cached, the multi-layer cached point cloud data are obtained, and the point cloud data corresponding to the power transmission line corridor are rendered in a layered mode according to the hierarchy of the point cloud data. Compared with the traditional mode of classifying point clouds based on the same blocking marking, the scheme utilizes the tree-shaped data structure to layer point cloud data, and performs layered rendering after rarefying processing is performed on the basis of multi-layer point cloud data, so that the point cloud data rendering efficiency is not changed along with the data volume, and the effect of improving the point cloud data rendering efficiency of the power transmission line corridor is realized.
Drawings
FIG. 1 is a diagram of an application environment of a data rendering method of a power transmission line corridor in an embodiment;
FIG. 2 is a flow chart of a data rendering method of a power transmission line corridor according to an embodiment;
FIG. 3 is a diagram illustrating a structure of a predetermined tree data structure according to an embodiment;
FIG. 4 is a schematic diagram of a point cloud data cache of a power transmission line corridor in one embodiment;
FIG. 5 is a schematic diagram of an interface for rendering point cloud data of a power transmission line corridor in one embodiment;
FIG. 6 is a block diagram showing a configuration of a data rendering apparatus for a power transmission line corridor in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data rendering method of the power transmission line corridor can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 can acquire point cloud data to be processed corresponding to the power transmission line corridor from the server 104, the terminal 102 can divide the point cloud data into preset tree structures to obtain divided multilayer point cloud data, the terminal 102 can further perform thinning processing on the multilayer point cloud data based on repeated resampling to obtain thinned point cloud data, the thinned point cloud data can be cached to obtain the multilayer cached point cloud data, and then the point cloud data corresponding to the power transmission line corridor is rendered in a layered mode according to the hierarchy of the point cloud data. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a data rendering method for a power transmission line corridor is provided, which is described by taking the method as an example for being applied to the terminal in fig. 1, and includes the following steps:
and S202, acquiring point cloud data to be processed corresponding to the power transmission line corridor.
The power transmission line corridor may refer to a strip-shaped area below the line, which extends along a high-voltage overhead power line roadside conductor to two sides by a specified width, and in which the public is allowed to enter or engage in basic agriculture and other limited production activities. The point cloud data may be recorded in the form of points, each point includes three-dimensional coordinates, some data may include color information or reflection intensity information, and the point cloud data may include various formats, such as las, txt, xyz, ply, laz, and so on. The point cloud data to be processed may be point cloud data to be rendered, and the terminal 102 may process and render the point cloud data of multiple formats corresponding to the power transmission line corridor. The terminal 102 may obtain point cloud data to be processed corresponding to the power transmission line corridor, specifically, the terminal 102 may obtain the point cloud data to be processed corresponding to the power transmission line corridor from the server 104, and the terminal 102 may be in communication connection with the server 104 through a network. The point cloud data to be processed acquired by the terminal 102 may include point cloud data corresponding to a plurality of power transmission line corridors, and the plurality of power transmission line corridors may be power transmission line corridors in different regions.
Step S204, dividing the point cloud data into a preset tree-shaped data structure to obtain divided point cloud data; the divided point cloud data includes a plurality of layers of point cloud data.
The point cloud data can be corresponding to the power transmission line corridor, and can comprise data in various formats; the tree data structure may be a set including a plurality of nodes, wherein the set may include a root node, a parent node, a leaf node, and the like, and the predetermined tree data structure may be a tree structure in the form of a multi-way tree. The terminal 102 may divide the point cloud data into a predetermined tree structure, for example, the multi-way tree form, to obtain the divided point cloud data. The preset tree data structure may be a structure including a plurality of hierarchies, each hierarchy may have one or more nodes, and the nodes may be used to represent the point cloud data, that is, the divided point cloud data may include a plurality of layers of point cloud data.
And S206, performing rarefaction treatment on the multi-layer point cloud data based on repeated resampling to obtain the rarefaction point cloud data.
The resampling may be an image data processing method, which refers to a process of interpolating information of one type of pixel according to information of another type of pixel. Since the divided point cloud data includes multiple layers of point cloud data, the terminal 102 may perform thinning processing on the multiple layers of point cloud data through repeated resampling, so as to obtain thinned point cloud data. Specifically, the multi-layer point cloud data may be point cloud data in a preset tree-like data structure, and the terminal 102 may perform multiple resampling based on the preset tree-like data structure, and perform thinning on the multi-layer point cloud data in the preset tree-like data structure, so as to obtain a corresponding root node.
And S208, caching the diluted point cloud data to obtain multi-layer cached point cloud data, and rendering the point cloud data corresponding to the power transmission line corridor in a layered manner according to the hierarchy of the point cloud data.
The point cloud data after thinning may be the point cloud data after the repeated resampling, the point cloud data may be represented by the preset tree-like data structure, and the terminal 102 may cache the point cloud data after thinning, so as to obtain a plurality of layers of cached point cloud data. The point cloud data after the multi-layer caching can be cached based on the preset tree-shaped data structure. The terminal 102 may also render the point cloud data corresponding to the power transmission line corridor in a layered manner according to the hierarchy of the point cloud data. The layered rendering of the point cloud data may be performed in a three-dimensional form, that is, the rendered point cloud data may be displayed in a layered manner in a three-dimensional form, and the rendering may be implemented by using a target rendering application in the terminal 102.
According to the data rendering method of the power transmission line corridor, the point cloud data to be processed corresponding to the power transmission line corridor is obtained, the point cloud data is divided into the preset tree-shaped data structures, the divided multi-layer point cloud data is obtained, thinning processing is conducted on the multi-layer point cloud data based on repeated resampling, the thinned point cloud data is obtained, caching is conducted on the thinned point cloud data, the multi-layer cached point cloud data is obtained, and the point cloud data corresponding to the power transmission line corridor is rendered in a layered mode according to the level of the point cloud data. Compared with the traditional mode of classifying point clouds based on the same blocking marking, the scheme utilizes the tree-shaped data structure to layer point cloud data, and performs layered rendering after rarefying processing is performed on the basis of multi-layer point cloud data, so that the point cloud data rendering efficiency is not changed along with the data volume, and the effect of improving the point cloud data rendering efficiency of the power transmission line corridor is realized.
In one embodiment, the dividing the point cloud data into a preset tree data structure further includes, before obtaining the divided point cloud data: and dividing the region where the point cloud data to be processed is located into a plurality of grids to obtain the point cloud data of the grids.
In this embodiment, the point cloud data to be processed may be point cloud data in a region, for example, a region where the point cloud data corresponding to a certain power transmission line corridor is located, and the terminal 102 may segment the region where the point cloud data to be processed is located into a plurality of grids, so as to obtain the point cloud data of the plurality of grids, so that the terminal 102 may process the point cloud data in each grid. Wherein the plurality of grids may be grids comprising multiple levels, each grid may comprise a plurality of point cloud data. Specifically, the point cloud data may be divided into grids based on a global partition.
Through this embodiment, the terminal 102 may divide the point cloud data to be processed into a plurality of grids, and process the point cloud data to be processed based on each grid, thereby achieving an effect of improving the point cloud data rendering efficiency of the power transmission line corridor.
In one embodiment, dividing the point cloud data into a preset tree data structure to obtain divided point cloud data includes: and dividing the point cloud data in each grid into a preset tree-shaped data structure to obtain the divided point cloud data in each grid.
In this embodiment, the preset tree data structure may be represented in the form of a multi-branch tree, specifically, may be a quadtree or an octree, where the quadtree may be a tree data structure, and each node has four sub-blocks, and the quadtree is usually applied to analysis and classification of two-dimensional spatial data, and divides data into four quadrants, and the data range may be a square, a rectangle, or any other shape; an octree is also a tree-like data structure that can be a tree-like data structure that describes a three-dimensional space, each node of the octree representing a cubic volume element, each node having eight child nodes, the volume elements represented by the eight child nodes being added together to equal the volume of the parent node. As shown in fig. 3, fig. 3 is a schematic structural diagram of a preset tree data structure in an embodiment. The tree data structure shown in fig. 3 is a quadtree. The terminal 102 may use a quadtree data structure to divide the point cloud data of the power transmission line corridor, and represent the point cloud data in the designated range in a tile form by layers and blocks. Wherein, PatCHLOD represents LOD (Levels of Detail) level, and the following numbers identify the LOD level of the tile data in the tree structure, and the larger the LOD level is, the higher the fineness is.
The terminal 102 may divide the point cloud data in each mesh according to the preset tree data structure based on the plurality of divided meshes to obtain the divided point cloud data in each mesh. That is, the preset tree data structure may exist in each grid, the point cloud data in each grid may be represented by the preset tree data structure, and the terminal 102 may perform rendering processing on the point cloud data after being divided in each grid.
Through this embodiment, terminal 102 can represent point cloud data in every grid with the form of predetermineeing arborescent data structure to can render the processing to the point cloud data in each grid, thereby can realize improving the effect of the point cloud data rendering efficiency in transmission line corridor.
In one embodiment, segmenting a region where point cloud data to be processed is located into a plurality of grids, and obtaining point cloud data of the plurality of grids, includes: and dividing the region into a plurality of multi-layer spherical grids according to the shape of the earth surface corresponding to the region where the point cloud data to be processed is located, so as to obtain the point cloud data of the plurality of grids.
In this embodiment, the terminal 102 may divide the region where the point cloud data to be processed is located into a plurality of grids, so as to obtain the point cloud data in the plurality of grids. The terminal 102 may divide the region into a plurality of layers of spherical grids according to the shape of the earth surface corresponding to the region where the point cloud data to be processed is located, so as to obtain the point cloud data of the plurality of grids. Specifically, the terminal 102 may segment the region based on a global partitioning principle, and the terminal 102 may partition the point cloud data to be processed in a global partitioning manner to generate point cloud data of a plurality of grid units. The global subdivision is to divide the earth surface into multi-layer, seamless and fitting spherical grid units according to a certain principle, wherein each grid unit represents a space region with different scales and has a unique subdivision code corresponding to the grid unit.
Through the embodiment, the terminal 102 can perform segmentation processing on the point cloud data to be processed by using a global subdivision mode, so that the point cloud data to be processed can be rendered based on each grid, and the effect of rendering efficiency of the point cloud data of the power transmission line corridor is improved.
In one embodiment, the thinning processing is performed on the multi-layer point cloud data based on multiple resampling, and the thinned point cloud data is obtained, including: taking the point cloud data of each node at the bottommost layer of the LOD levels as point cloud data to be sampled; resampling each point cloud data to be sampled to obtain a father node corresponding to each node; judging whether the father nodes corresponding to each node are the same or not; if not, taking the point cloud data of the father node corresponding to each node as new point cloud data to be sampled, and returning to the step of resampling the point cloud data to be sampled to obtain the father node corresponding to each node; if yes, the resampling is finished, and point cloud data after rarefaction is obtained.
In this embodiment, the multi-layer point cloud data includes: point cloud data of a plurality of LOD levels; wherein multiple levels of point cloud data are associated by the quadtree or the octree; the LOD is a process for determining the resource allocation of object rendering according to the position and the importance of the node of the object model in the display environment, and reducing the number of faces and the detail of non-important objects so as to obtain high-efficiency rendering operation. As further shown in fig. 3, each layer of the LOD hierarchy may correspond to a corresponding level in a preset tree data structure, for example, in the quadtree in fig. 3, each LOD hierarchy may have one or more quadtree nodes, and the nodes may include the point cloud data of the power transmission line corridor.
The terminal 102 may use the point cloud data of each node data at the bottommost layer of the plurality of LOD hierarchies as point cloud data to be sampled, and may perform the resampling on each point cloud data to be sampled to obtain a parent node corresponding to each node, the terminal 102 may determine whether the parent node corresponding to each node in the resampling is the same, that is, whether the parent node is a root node, if not, the terminal 102 may use the point cloud data of the parent node corresponding to each node as new point cloud data to be sampled, and return to the step of resampling on each point cloud data to be sampled to obtain a parent node corresponding to each node; if so, that is, the terminal 102 obtains the root node, the terminal 102 may end the resampling, so as to obtain the diluted point cloud data. Specifically, after the global subdivision processing is performed on the point cloud data to be processed, the terminal 102 may process the point cloud data in each grid in sequence, the terminal 102 may divide the point cloud data in each grid according to a quadtree or an octree as shown in fig. 3, and then may resample the divided data to obtain parent node data, and the terminal 102 may repeat this process until the root node layer, and so on until all sampling is completed. As shown in FIG. 3, each PatCHLOD has one or more branches in the lateral direction of the tree, each branch being denoted by Patch. Each Patch has zero or one parent Patch and zero or more child Patchs; the spatial range of the parent Patch is the union of the spatial ranges of the child patches. The parent-child relationships of Patch constitute a tree structure.
Through the embodiment, the terminal 102 can perform repeated sampling on the point cloud data in a mode of searching for the root node, so that the point cloud data after rarefaction can be obtained, and the effect of improving the point cloud data rendering efficiency of the power transmission line corridor is realized.
In one embodiment, caching the thinned point cloud data to obtain a plurality of layers of cached point cloud data, including: and caching the point cloud data after thinning according to the number of layers of the multi-layer point cloud data to obtain cached point cloud data corresponding to each layer.
In this embodiment, the terminal 102 may cache the diluted point cloud data, and the cached point cloud data may be multi-layer point cloud data. The terminal 102 may cache the diluted point cloud data according to the number of layers of the point cloud data after the thinning process, so as to obtain cached point cloud data corresponding to each layer. Specifically, as shown in fig. 4, fig. 4 is a schematic structural diagram of a point cloud data cache of a power transmission line corridor in an embodiment. The terminal 102 may cache the point cloud data after rarefaction according to the hierarchical structure of the LOD, where the cache of the point cloud data by the terminal 102 may be a three-dimensional slice cache, the three-dimensional slice cache data conforms to the group standard T/cagi 1-2019 "spatial three-dimensional model data format", and the basic components of the cache data are a description file (. scp file) and a data file (. s3mb file).
Through the embodiment, the terminal 102 can cache each layer of point cloud data according to the LOD hierarchy, so that the point cloud data can be rendered by utilizing the cache, and the effect of improving the point cloud data rendering efficiency of the power transmission line corridor is realized.
In one embodiment, the step of rendering the point cloud data corresponding to the power transmission line corridor in a layered mode according to the hierarchy of the point cloud data comprises the following steps: according to the level of the point cloud data, performing three-dimensional processing on the cached point cloud data of each layer through a hypergraph; and performing layered rendering on the point cloud data corresponding to the power transmission line corridor after the three-dimensional processing in the hypergraph.
In this embodiment, the terminal 102 may perform the three-dimensional processing on each layer of the cached point cloud data by using the hypergraph application according to the level of the point cloud data in the LOD, and may render the point cloud data corresponding to the power transmission line corridor after the three-dimensional processing in a layered manner. Specifically, as shown in fig. 5, fig. 5 is an interface schematic diagram of rendering point cloud data of a power transmission line corridor in one embodiment. The terminal 102 may publish the cached point cloud data of each hierarchy to a three-dimensional service based on the hypergraph SuperMap iServer, and may load the point cloud data through an interface corresponding to the hypergraph iClient for WebGL, thereby displaying the point cloud data of the power transmission line corridor.
Through the embodiment, the terminal 102 can perform rendering processing and displaying on the cached point cloud data through a plurality of rendering interfaces and rendering services, so that the effect of improving the point cloud data rendering efficiency of the power transmission line corridor can be realized.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 6, there is provided a data rendering apparatus for a power transmission line corridor, including: an acquisition module 500, a partitioning module 502, a processing module 504, and a rendering module 506, wherein:
the acquiring module 500 is configured to acquire point cloud data to be processed corresponding to the power transmission line corridor.
A dividing module 502, configured to divide the point cloud data into a preset tree-like data structure, so as to obtain divided point cloud data; the divided point cloud data includes a plurality of layers of point cloud data.
The processing module 504 is configured to perform rarefaction processing on the multi-layer point cloud data based on multiple resampling, so as to obtain rarefied point cloud data.
And the rendering module 506 is configured to cache the diluted point cloud data to obtain multiple layers of cached point cloud data, and render the point cloud data corresponding to the power transmission line corridor in a layered manner according to the hierarchy of the point cloud data.
In one embodiment, the above apparatus further comprises: and the segmentation module is used for segmenting the region where the point cloud data to be processed is located into a plurality of grids to obtain the point cloud data of the grids.
In an embodiment, the dividing module 502 is specifically configured to divide the point cloud data in each mesh into a preset tree-like data structure, so as to obtain the divided point cloud data in each mesh.
In an embodiment, the segmentation module is specifically configured to divide the region into a plurality of multi-layered spherical grids according to a shape of an earth surface corresponding to the region where the point cloud data to be processed is located, so as to obtain the point cloud data of the plurality of grids.
In an embodiment, the dividing module 502 is specifically configured to divide the point cloud data in each mesh into a quadtree or an octree, so as to obtain the divided point cloud data in each mesh.
In an embodiment, the processing module 504 is specifically configured to use point cloud data of each node at the bottommost layer of the plurality of LOD levels as point cloud data to be sampled; resampling each point cloud data to be sampled to obtain a father node corresponding to each node; judging whether the father nodes corresponding to each node are the same or not; if not, taking the point cloud data of the father node corresponding to each node as new point cloud data to be sampled, and returning to the step of resampling the point cloud data to be sampled to obtain the father node corresponding to each node; if yes, the resampling is finished, and point cloud data after rarefaction is obtained.
In an embodiment, the rendering module 506 is specifically configured to cache the diluted point cloud data according to the number of layers of the multi-layer point cloud data, so as to obtain cached point cloud data corresponding to each layer.
In an embodiment, the rendering module 506 is specifically configured to perform three-dimensional processing on the cached point cloud data of each layer through a hypergraph according to the hierarchy of the point cloud data; and performing layered rendering on the point cloud data corresponding to the power transmission line corridor after the three-dimensional processing in the hypergraph.
For specific limitations of the data rendering device for the power transmission line corridor, reference may be made to the above limitations of the data rendering method for the power transmission line corridor, and details are not described herein again. All or part of each module in the data rendering device of the power transmission line corridor can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of rendering data in a power transmission line corridor. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the data rendering method of the power transmission line corridor when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the above-mentioned data rendering method for a power transmission line corridor.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A data rendering method of a power transmission line corridor is characterized by comprising the following steps:
acquiring point cloud data to be processed corresponding to the power transmission line corridor;
dividing the point cloud data into a preset tree-shaped data structure to obtain divided point cloud data; the divided point cloud data comprises a plurality of layers of point cloud data;
performing thinning treatment on the multi-layer point cloud data based on repeated resampling to obtain thinned point cloud data;
caching the point cloud data after thinning to obtain multi-layer cached point cloud data, and rendering the point cloud data corresponding to the power transmission line corridor in a layered mode according to the hierarchy of the point cloud data.
2. The method of claim 1, wherein before the step of dividing the point cloud data into a predetermined tree-like data structure and obtaining the divided point cloud data, the method further comprises:
dividing the region where the point cloud data to be processed is located into a plurality of grids to obtain point cloud data of the grids;
the dividing the point cloud data into a preset tree-shaped data structure to obtain the divided point cloud data comprises the following steps:
and dividing the point cloud data in each grid into a preset tree-shaped data structure to obtain the divided point cloud data in each grid.
3. The method according to claim 2, wherein the segmenting the region where the point cloud data to be processed is located into a plurality of grids, and obtaining point cloud data of the plurality of grids comprises:
and dividing the region into a plurality of multi-layer spherical grids according to the shape of the earth surface corresponding to the region where the point cloud data to be processed is located, so as to obtain the point cloud data of the plurality of grids.
4. The method of claim 2, wherein the dividing the point cloud data in each mesh into a predetermined tree data structure to obtain the divided point cloud data in each mesh comprises:
and dividing the point cloud data in each grid into a quadtree or an octree to obtain the divided point cloud data in each grid.
5. The method of claim 4, wherein the multi-layer point cloud data comprises: point cloud data of a plurality of LOD levels; the point cloud data of the plurality of levels are associated through the quadtree or the octree;
based on repeated resampling, the multi-layer point cloud data is subjected to rarefying treatment to obtain rarefied point cloud data, and the method comprises the following steps:
taking the point cloud data of each node at the bottommost layer of the plurality of LOD levels as point cloud data to be sampled;
resampling each point cloud data to be sampled to obtain a father node corresponding to each node;
judging whether the father nodes corresponding to each node are the same or not;
if not, taking the point cloud data of the father node corresponding to each node as new point cloud data to be sampled, and returning to the step of resampling the point cloud data to be sampled to obtain the father node corresponding to each node;
if yes, finishing the resampling to obtain the point cloud data after rarefaction.
6. The method according to any one of claims 1 to 5, wherein the caching the thinned point cloud data to obtain a plurality of layers of cached point cloud data comprises:
and caching the point cloud data after thinning according to the number of layers of the multilayer point cloud data to obtain cached point cloud data corresponding to each layer.
7. The method according to claim 1, wherein the step of rendering the point cloud data corresponding to the power transmission line corridor in a hierarchical manner according to the hierarchy of the point cloud data comprises the following steps:
according to the level of the point cloud data, performing three-dimensional processing on the cached point cloud data of each layer through a hypergraph;
and rendering the point cloud data corresponding to the power transmission line corridor subjected to the three-dimensional processing in the hypergraph in a layered manner.
8. A data rendering apparatus for a power transmission line corridor, the apparatus comprising:
the acquisition module is used for acquiring point cloud data to be processed corresponding to the power transmission line corridor;
the dividing module is used for dividing the point cloud data into a preset tree-shaped data structure to obtain divided point cloud data; the divided point cloud data comprises a plurality of layers of point cloud data;
the processing module is used for performing rarefaction processing on the multilayer point cloud data based on repeated resampling to obtain rarefaction point cloud data;
and the rendering module is used for caching the point cloud data after thinning to obtain a plurality of layers of cached point cloud data, and rendering the point cloud data corresponding to the power transmission line corridor in a layering manner according to the hierarchy of the point cloud data.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010742816.7A 2020-07-29 2020-07-29 Data rendering method and device for transmission line corridor and computer equipment Active CN111862292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010742816.7A CN111862292B (en) 2020-07-29 2020-07-29 Data rendering method and device for transmission line corridor and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010742816.7A CN111862292B (en) 2020-07-29 2020-07-29 Data rendering method and device for transmission line corridor and computer equipment

Publications (2)

Publication Number Publication Date
CN111862292A true CN111862292A (en) 2020-10-30
CN111862292B CN111862292B (en) 2024-04-26

Family

ID=72944933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010742816.7A Active CN111862292B (en) 2020-07-29 2020-07-29 Data rendering method and device for transmission line corridor and computer equipment

Country Status (1)

Country Link
CN (1) CN111862292B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112365570A (en) * 2020-11-13 2021-02-12 广东电网有限责任公司 Method, device and equipment for quickly displaying point cloud of power line channel
CN112489177A (en) * 2020-11-30 2021-03-12 深圳供电局有限公司 Point cloud data rendering and displaying method and system
CN112558100A (en) * 2021-02-25 2021-03-26 山东广域科技有限责任公司 Three-dimensional visual intelligent monitoring device for high-voltage transmission line
CN113034682A (en) * 2021-04-13 2021-06-25 阿波罗智联(北京)科技有限公司 Point cloud data processing method, device, equipment and storage medium
CN114863157A (en) * 2022-05-07 2022-08-05 高德软件有限公司 Data processing method and device, electronic equipment and computer program product
CN115080680A (en) * 2022-07-19 2022-09-20 高德软件有限公司 Laser point cloud data processing method, device and equipment for high-precision map
CN115100364A (en) * 2022-08-25 2022-09-23 广东电网有限责任公司 Visualization method, device, equipment and medium for laser point cloud data of power transmission line
CN116226131A (en) * 2023-03-07 2023-06-06 易智瑞信息技术有限公司 Multi-temporal three-dimensional slice data storage method and device under multi-tree structure
CN116610746A (en) * 2023-07-17 2023-08-18 南京壹波云信息科技有限公司 WebGIS-based weather lattice point data slicing display method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798721A (en) * 2016-08-31 2018-03-13 北京四维图新科技股份有限公司 A kind of processing method and processing device of cloud data and point cloud rendering intent and device
CN108470374A (en) * 2018-04-08 2018-08-31 中煤航测遥感集团有限公司 Mass cloud data processing method and processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798721A (en) * 2016-08-31 2018-03-13 北京四维图新科技股份有限公司 A kind of processing method and processing device of cloud data and point cloud rendering intent and device
CN108470374A (en) * 2018-04-08 2018-08-31 中煤航测遥感集团有限公司 Mass cloud data processing method and processing device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112365570A (en) * 2020-11-13 2021-02-12 广东电网有限责任公司 Method, device and equipment for quickly displaying point cloud of power line channel
CN112489177B (en) * 2020-11-30 2024-04-09 深圳供电局有限公司 Point cloud data rendering and displaying method and system
CN112489177A (en) * 2020-11-30 2021-03-12 深圳供电局有限公司 Point cloud data rendering and displaying method and system
CN112558100A (en) * 2021-02-25 2021-03-26 山东广域科技有限责任公司 Three-dimensional visual intelligent monitoring device for high-voltage transmission line
CN112558100B (en) * 2021-02-25 2021-04-27 山东广域科技有限责任公司 Three-dimensional visual intelligent monitoring device for high-voltage transmission line
CN113034682A (en) * 2021-04-13 2021-06-25 阿波罗智联(北京)科技有限公司 Point cloud data processing method, device, equipment and storage medium
CN114863157A (en) * 2022-05-07 2022-08-05 高德软件有限公司 Data processing method and device, electronic equipment and computer program product
CN115080680A (en) * 2022-07-19 2022-09-20 高德软件有限公司 Laser point cloud data processing method, device and equipment for high-precision map
CN115080680B (en) * 2022-07-19 2022-11-25 高德软件有限公司 Laser point cloud data processing method, device and equipment for high-precision map
CN115100364B (en) * 2022-08-25 2022-12-13 广东电网有限责任公司 Visualization method, device, equipment and medium for laser point cloud data of power transmission line
CN115100364A (en) * 2022-08-25 2022-09-23 广东电网有限责任公司 Visualization method, device, equipment and medium for laser point cloud data of power transmission line
CN116226131A (en) * 2023-03-07 2023-06-06 易智瑞信息技术有限公司 Multi-temporal three-dimensional slice data storage method and device under multi-tree structure
CN116226131B (en) * 2023-03-07 2024-03-19 易智瑞信息技术有限公司 Multi-temporal three-dimensional slice data storage method and device under multi-tree structure
CN116610746A (en) * 2023-07-17 2023-08-18 南京壹波云信息科技有限公司 WebGIS-based weather lattice point data slicing display method

Also Published As

Publication number Publication date
CN111862292B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN111862292B (en) Data rendering method and device for transmission line corridor and computer equipment
CN110321443B (en) Three-dimensional live-action model database construction method and device and data service system
US11703352B2 (en) Vector tile pyramiding
WO2017206484A1 (en) Geographic data presentation method and apparatus
CN107507275B (en) Method and device for determining trip influence range of power transmission line based on big data
CN112329789B (en) Point cloud extraction method and device, computer equipment and storage medium
CN112528508A (en) Electromagnetic visualization method and device
Mustafa et al. Dynamic simplification and visualization of large maps
CN110990612A (en) Method and terminal for rapidly displaying vector big data
CN114241358A (en) Equipment state display method, device and equipment based on digital twin transformer substation
CN111899323A (en) Three-dimensional earth drawing method and device
CN114925043A (en) Application method and device based on space-time grid block data and electronic equipment
CN114969153A (en) Personnel distribution data determination method and device
CN111870953A (en) Height map generation method, device, equipment and storage medium
US10255720B1 (en) Hybrid mesh from 2.5D and 3D point data
CN111898276B (en) Model processing method, device, computer equipment and medium for overhead line
CN112734900B (en) Baking method, device and equipment for shadow map and computer readable storage medium
CN111583268B (en) Point cloud virtual selection and cutting method, device and equipment
CN115908318A (en) Power line sag determination method, device, equipment, medium and product
CN116797747A (en) Underwater detection data visualization method, device, computer equipment and storage medium
CN115906254A (en) Shockproof disaster reduction data management system based on digital twins
CN105282751B (en) A kind of method and apparatus showing wireless network planning result
CN110827400B (en) Method and device for generating model of object in three-dimensional scene and terminal
CN114238528A (en) Map loading method and device, electronic equipment and storage medium
CN114092656A (en) Remote sensing big data slicing method, device and equipment based on hexagon

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant after: CHINA SOUTHERN POWER GRID Co.,Ltd.

Applicant after: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: China

Applicant before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20240319

Address after: Full Floor 14, Unit 3, Building 2, No. 11, Middle Spectra Road, Huangpu District, Guangzhou, Guangdong 510700

Applicant after: China Southern Power Grid Digital Grid Technology (Guangdong) Co.,Ltd.

Country or region after: China

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: China

Applicant before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant