A processing method and system for classified laser point cloud data
Morten coding and Trie indexing technology solve the problems of low query efficiency and poor scalability in laser point cloud data processing, achieve efficient laser point cloud data processing and three-dimensional visualization, and support real-time monitoring and high-precision positioning.
Patent Information
- Application Number
- CN202410954263.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-17
AI Technical Summary
When processing different categories of laser point cloud data, the existing octree index has problems such as low query efficiency, unbalanced storage, and difficulty in dynamic updating. It is especially difficult to meet the needs in multi-user concurrent query and real-time monitoring scenarios.
Using a method based on Morten coding, the laser point cloud data is converted into spatially encoded data, and is continuously mapped and stored in the sequential space in a spatial neighbor manner. By constructing a Trie index and Morten coding search mechanism, efficient point cloud data query and range can be achieved Query.
It improves the query efficiency of laser point cloud data and the scalability of the system, can quickly respond to users' visualization needs, supports high-precision three-dimensional exploration and analysis, and reduces the burden of power grid distance calculation.
Smart Images

Figure CN118503471B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of live working safety protection, and more specifically, to a processing method and system for classified laser point cloud data. Background Art
[0002] The point data set of the product appearance surface obtained by measuring instruments such as radar laser scanning is called point cloud. Laser scanning technology has made great progress and has been widely used in fields such as CAD / CAM. The scanned spatial data point set, including information such as three-dimensional coordinates and colors, has the characteristics of scattered distribution and large data volume. The data storage occupies a large space and the query efficiency is low, which makes it difficult to meet the needs of concurrent continuous queries by multiple users.
[0003] In recent years, the safety of my country's ultra-high voltage (UHV) and extra-high voltage (EHV) power grids is an important aspect of ensuring the stable operation of the power system and the reliability of power supply. In order to reconstruct the live operation site and conduct rapid measurement and real-time monitoring based on the on-site three-dimensional information, laser point cloud data has been widely used in power grid operation monitoring. Laser point clouds are widely used in operation safety assurance at different altitudes, different surface environments and different power transmission scenarios. Laser scanners can quickly obtain point cloud data of power lines, including towers, conductors, insulators, etc. By analyzing and processing point cloud data, problems such as deflection, hanging points, and broken wires of wires, as well as defects such as deformation and corrosion of towers can be detected. Using laser scanners to obtain point cloud data of towers, the generation of facades, cross-sections and three-dimensional models of towers can be realized. By analyzing point cloud data, the structural health of towers, such as cracks, corrosion, and tower tilt, can be detected. The above-mentioned different types of power facility information obtained by laser point cloud can be used as a reference for distance-based protection of operating personnel obtained in real time.
[0004] Point cloud data obtained by three-dimensional measurement equipment such as radar, laser scanning, and stereo cameras has the characteristics of large data volume and uneven distribution. As an important data source in the three-dimensional field, point cloud data mainly represents a large number of point sets on the target surface, and does not have the set topological information of traditional grid data. Therefore, the most core issue in point cloud data processing is to establish the topological relationship between discrete points and realize fast search based on neighborhood relationship. Establishing spatial indexes has been widely used in point cloud data processing. Common spatial indexes are generally various spatial index structures that divide space from top to bottom. The more representative ones include BSP tree, KD tree, KDB tree, R tree, R+ tree, CELL tree, quadtree and octree index structures. Among these structures, KD tree and octree are widely used in 3D point cloud data organization. Using octree to index different categories of laser point clouds may face some challenges, especially in achieving system scalability. The following analyzes the problems that may be encountered when using octree to index different categories of laser point clouds.
[0005] Different categories of laser point clouds may have uneven spatial distribution, resulting in uneven segmentation of the octree index. This may result in some nodes containing a large number of point clouds, while other nodes have few or no point clouds. This will lead to imbalance in the query process and cause inefficiency. The octree index needs to store a large amount of node information, including the coordinates, index pointers, and other metadata of the nodes. When the number of laser point clouds of different categories varies greatly, it will lead to an imbalance in the number of nodes and memory overhead of different categories. When querying, different categories of laser point clouds may require different query strategies, and the octree index may not provide customized query support for different categories. This may lead to inefficient queries, especially when the query involves multiple categories. In addition, in practical applications, laser point cloud data may change dynamically, and real-time data updates and index expansions need to be supported. However, when using octrees to index different categories of laser point clouds, dynamic updates and scalability may be limited.
[0006] Using octrees to index different categories of laser point clouds may face some challenges in terms of system scalability. Therefore, a processing method for classified laser point cloud data is needed to properly optimize and adjust the laser point cloud to achieve efficient query and processing. Summary of the invention
[0007] The present invention provides a processing method and system for classified laser point cloud data to solve the problem of how to process laser point cloud data.
[0008] In order to solve the above problem, according to one aspect of the present invention, a method for processing classified laser point cloud data is provided, the method comprising:
[0009] Perform data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data;
[0010] Continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage;
[0011] Based on the given target type, target level and query center point coordinate information, the laser point cloud spatial coding data corresponding to the query center point is obtained, and based on the laser point cloud spatial coding data corresponding to the query center point, a search is performed to determine the grid unit corresponding to the query center point.
[0012] Preferably, the data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data includes:
[0013] For any laser point cloud data, data conversion is performed by converting it into 7-bit classification code, 6-bit hierarchical code and 115-bit Morten code to obtain the laser point cloud spatial coding data corresponding to the any laser point cloud data; wherein, the 115-bit Morten code includes: 46-bit x-coordinate information, 46-bit y-coordinate information and 23-bit z-coordinate information.
[0014] Preferably, the step of continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage comprises:
[0015] Use the laser point cloud spatial coding data as the main code or file path to determine the grid identification;
[0016] The grid identifier is used as the primary key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as a tuple or Value to continuously store the point cloud data in spatially adjacent grids of the same type and level.
[0017] Preferably, the searching based on the laser point cloud spatial encoding data corresponding to the query center point to determine the grid unit corresponding to the query center point includes:
[0018] According to the level of each type of object, the number of objects on the level where the query center point is located is searched in turn; if the number of objects in the level where the unit is located is greater than 1, other three-dimensional unit grids in the same level are filtered according to the maximum distance from the current level to the query center point;
[0019] Iterate and search the 8 child nodes of the current grid based on the Morton code of the level where the query center point is located, take any object in the grid closest to the query object, calculate the distance between the arbitrary object and the query object, and use the minimum distance between the Morton code and the query center point as a filter to filter the child nodes in other unit grids, and jump to the previous step to iterate until the deepest node is reached;
[0020] Calculate the distance between all child nodes and the query node, and retain the spatial point output with the smallest distance to obtain the grid cell corresponding to the query center;
[0021] Among them, a prefix is built on the Morton code to quickly locate the valid spatial area closest to the query center point during the traversal process.
[0022] Preferably, the method further comprises:
[0023] By constructing a Trie index and querying the equipotential laser point cloud data and the ground potential laser point cloud data respectively, the minimum equipotential distance and the minimum ground potential distance are obtained, and the minimum combined gap distance is obtained by summing the minimum equipotential distance and the minimum ground potential distance.
[0024] Preferably, during the query process, the search process for obtaining the minimum distance in three-dimensional space includes:
[0025] (1) Determine the three-dimensional code (cx, cy, cz) of the query center point and calculate its symmetric code, including: for any two dimensions, determine the corresponding symmetric grid according to the parity of the third dimension code; among them, if cx and cy are fixed, if cz is an even number, then determine (cx, cy, cz-1) as the corresponding grid; if cz is an odd number, then determine (cx, cy, cz+1) as the corresponding grid, so as to obtain three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), and then expand them to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy, cz') and (cx', cy', cz'), and a total of 7 groups of symmetric units of the original code are obtained;
[0026] (2) Perform range search on the original code and the seven groups of symmetric units. For each unit, find the three units closest to the left and right boundaries, for a total of 48 units. If there is overlap, remove the overlapping units. After removing the overlap, a maximum of 27 units can be searched.
[0027] (3) Perform range filtering on the cells in the candidate set, including: first find the point closest to the query center point in the original cell, determine the minimum distance mind, and filter other cells based on the minimum distance mind, determine the distance of each cell from the query center in three dimensions in turn and obtain the maximum value of the three, and filter out the grids whose three-dimensional maximum value is greater than mind;
[0028] (4) Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only retain the points with the smallest distance;
[0029] (5) Calculating the minimum equipotential distance, including: setting the prefix of the query point conversion code to the equipotential code, and then executing steps (1) to (4) to obtain the minimum equipotential distance;
[0030] (6) Calculating the minimum ground potential distance, including: setting the prefix of the query point conversion code to the ground potential code, and then executing steps (1) to (4) to obtain the minimum ground potential distance;
[0031] (7) Calculating the minimum combined gap distance, including: adding the minimum equipotential distance and the small equipotential distance to obtain the minimum combined gap distance.
[0032] According to another aspect of the present invention, a processing system for classifying laser point cloud data is provided, the system comprising:
[0033] An encoding module, used for performing data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data;
[0034] A storage module, used for continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage;
[0035] The search module is used to obtain the laser point cloud spatial coding data corresponding to the query center point based on the given target type, target level and query center point coordinate information, and to search based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point.
[0036] Preferably, the encoding module performs data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data, including:
[0037] For any laser point cloud data, data conversion is performed by converting it into 7-bit classification code, 6-bit hierarchical code and 115-bit Morten code to obtain the laser point cloud spatial coding data corresponding to the any laser point cloud data; wherein, the 115-bit Morten code includes: 46-bit x-coordinate information, 46-bit y-coordinate information and 23-bit z-coordinate information.
[0038] Preferably, the storage module maps the laser point cloud spatial encoding data continuously in a sequential space in a spatial neighbor manner for storage, including:
[0039] Use the laser point cloud spatial coding data as the main code or file path to determine the grid identification;
[0040] The grid identifier is used as the primary key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as a tuple or Value to continuously store the point cloud data in spatially adjacent grids of the same type and level.
[0041] Preferably, the search module searches based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point, including:
[0042] According to the level of each type of object, the number of objects on the level where the query center point is located is searched in turn; if the number of objects in the level where the unit is located is greater than 1, other three-dimensional unit grids in the same level are filtered according to the maximum distance from the current level to the query center point;
[0043] Iterate and search the 8 child nodes of the current grid based on the Morton code of the level where the query center point is located, take any object in the grid closest to the query object, calculate the distance between the arbitrary object and the query object, and use the minimum distance between the Morton code and the query center point as a filter to filter the child nodes in other unit grids, and jump to the previous step to iterate until the deepest node is reached;
[0044] Calculate the distance between all child nodes and the query node, and retain the spatial point output with the smallest distance to obtain the grid cell corresponding to the query center;
[0045] Among them, a prefix is built on the Morton code to quickly locate the valid spatial area closest to the query center point during the traversal process.
[0046] Preferably, the search module further comprises:
[0047] By constructing a Trie index and querying the equipotential laser point cloud data and the ground potential laser point cloud data respectively, the minimum equipotential distance and the minimum ground potential distance are obtained, and the minimum combined gap distance is obtained by summing the minimum equipotential distance and the minimum ground potential distance.
[0048] Preferably, the search module, during the query process, searches for the minimum distance in three-dimensional space, including:
[0049] (1) Determine the three-dimensional code (cx, cy, cz) of the query center point and calculate its symmetric code, including: for any two dimensions, determine the corresponding symmetric grid according to the parity of the third dimension code; among them, if cx and cy are fixed, if cz is an even number, then determine (cx, cy, cz-1) as the corresponding grid; if cz is an odd number, then determine (cx, cy, cz+1) as the corresponding grid, so as to obtain three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), and then expand them to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy, cz') and (cx', cy', cz'), and a total of 7 groups of symmetric units of the original code are obtained;
[0050] (2) Perform range search on the original code and the seven groups of symmetric units. For each unit, find the three units closest to the left and right boundaries, for a total of 48 units. If there is overlap, remove the overlapping units. After removing the overlap, a maximum of 27 units can be searched.
[0051] (3) Perform range filtering on the cells in the candidate set, including: first find the point closest to the query center point in the original cell, determine the minimum distance mind, and filter other cells based on the minimum distance mind, determine the distance of each cell from the query center in three dimensions in turn and obtain the maximum value of the three, and filter out the grids whose three-dimensional maximum value is greater than mind;
[0052] (4) Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only retain the points with the smallest distance;
[0053] (5) Calculating the minimum equipotential distance, including: setting the prefix of the query point conversion code to the equipotential code, and then executing steps (1) to (4) to obtain the minimum equipotential distance;
[0054] (6) Calculating the minimum ground potential distance, including: setting the prefix of the query point conversion code to the ground potential code, and then executing steps (1) to (4) to obtain the minimum ground potential distance;
[0055] (7) Calculating the minimum combined gap distance, including: adding the minimum equipotential distance and the minimum ground potential distance to obtain the minimum combined gap distance.
[0056] The present invention provides a processing method and system for classified laser point cloud data, including: performing data conversion based on the type, level and coordinate information of the laser point cloud data to obtain laser point cloud spatial coding data; continuously mapping the laser point cloud spatial coding data in a sequential space in a spatial neighbor manner for storage; obtaining the laser point cloud spatial coding data corresponding to the query center point based on the given target type, target level and query center point coordinate information, and searching based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point. The method of the present invention uses Morten coding to map the three-dimensional coordinates of the space into a one-dimensional coordinate system, and accelerates the data aggregation access efficiency in relational databases, KeyValue distributed storage and file systems by combining with the primary key or file path under KeyValue, so that efficient point queries and range queries can be quickly responded to on the basis of coding; and can automatically determine the point cloud range and level to be displayed according to the user's visualization needs, playing an important role in three-dimensional visualization exploration, detection and analysis, etc., and can also be combined with RTK high-precision positioning methods to quickly obtain the distance between given coordinates and laser point clouds in different grids. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:
[0058] Figure 1 is a flowchart of a method 100 for processing classified laser point cloud data according to an embodiment of the present invention;
[0059] Figure 2 A schematic diagram of grid inclusion relationships at different levels of a space partitioning octree according to an embodiment of the present invention;
[0060] Figure 3 A schematic diagram of a Morton-based encoding process according to an embodiment of the present invention;
[0061] Figure 4 A schematic diagram of a nearest neighbor query based on Morton coding according to an embodiment of the present invention;
[0062] Figure 5 Schematic diagram of the structure of a system 500 for processing classified laser point cloud data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0063] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0064] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0065] The present invention optimizes the segmentation and coding design of laser point cloud classification data, and provides an optimized coding method with an altitude below 10 km, a spatial resolution of 0.001 mm, and a height resolution of 1 mm. Combined with the arbitrary spatial point sampling method, the method of the present invention can ensure that the point cloud set in the three-dimensional space continuous space unit at any level within the hierarchical range can be stored continuously; and can ensure that the point cloud set in multiple spatially adjacent grid units at any level can be stored continuously in segments; at the same time, it can ensure that given any power facility category, point cloud level and query center point position, the method can directly locate the storage location of the nearest spatial unit corresponding to the query center point, so that the method can be applied to traditional relational databases, distributed KeyValue storage and file storage contexts.
[0066] Figure 1 FIG. 1 is a flowchart of a method 100 for processing classified laser point cloud data according to an embodiment of the present invention. Figure 1 As shown, the processing method of classified laser point cloud data provided by the embodiment of the present invention uses Morten coding to map the three-dimensional coordinates of the space to a one-dimensional coordinate system, and accelerates the data aggregation access efficiency in the relational database, KeyValue distributed storage and file system by combining with the primary key or file path under KeyValue, so that efficient point query and range query can be quickly responded to on the basis of coding; and can automatically determine the point cloud range and level to be displayed according to the user's visualization needs, playing an important role in three-dimensional visualization exploration, investigation and analysis, etc., and can be combined with RTK high-precision positioning methods to quickly obtain the distance between given coordinates and laser point clouds in different grids. The processing method 100 of classified laser point cloud data provided by the embodiment of the present invention starts from step 101. In step 101, data conversion is performed based on the type, level and coordinate information of the laser point cloud data to obtain laser point cloud spatial encoding data.
[0067] Preferably, the data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data includes:
[0068] For any laser point cloud data, data conversion is performed by converting it into 7-bit classification code, 6-bit hierarchical code and 115-bit Morten code to obtain the laser point cloud spatial coding data corresponding to the any laser point cloud data; wherein, the 115-bit Morten code includes: 46-bit x-coordinate information, 46-bit y-coordinate information and 23-bit z-coordinate information.
[0069] Morton code is a code that converts multidimensional data into one-dimensional data. Morton code defines a Z-shaped space-filling curve, so Morton code is often also called Z-order curve. In N-dimensional space, coordinates that are close to each other have close Morton codes, which can be used to generate a unique index for an integer pair. Decimal encoding rules: First, the row and column numbers are converted to binary (starting from row 0 and column 0); then the row and column numbers are arranged crosswise (yxyx...); finally, the binary result is converted to decimal. Morton code is a natural encoding of each grid starting from 0 in the order of upper left, upper right, lower left, and lower right.
[0070] In the present invention, after obtaining the laser point cloud data of the classified power facilities, it is encoded according to the category, level and coordinate information, and the type, point cloud level and longitude and latitude information are encapsulated in a 128-bit code to ensure that the point cloud can be aggregated into the encoded one-dimensional space.
[0071] Specifically, the three-dimensional data of the specified category and level are mapped to a 128-bit double-long integer space to meet the global latitude and longitude coverage requirements and the coordinate description requirements within 10km elevation. Specifically, 115 bits are used to represent the three-dimensional coordinates, of which the x and y coordinate information are encoded using 46 bits respectively, and the z coordinate is encoded using 23 bits. Based on the calculation that the x and y global information covers 41,000km (mm) respectively, the accuracy that the coding method given in the application can express is mm; based on the conversion within 10km elevation, the accuracy that the given coding method can express is mm.
[0072] Among them, 7-bit classification code, 6-bit level code, and 115-bit Morten code (cross-coding the three-dimensional coordinates of space x, y, and z) are used to obtain the spatial code. The 128-bit code is used as the unit center code of a given category, a given level, and a given octree to identify the point cloud dataset contained in any spatial grid.
[0073] Among them, the above-mentioned encoding can realize hierarchical access and automatic determination of scope and level. Specifically, the hierarchical characteristics are taken into account in the encoding process to determine the spatial grid of a given scale and a given position by first level and then encoding. When the user zooms in on a given grid level, the grid Morten code can be determined based on the grid center point of the zoomed level; the query level is updated according to the degree of user zoom.
[0074] In step 102, the laser point cloud spatially encoded data is continuously mapped in a sequential space in a spatial neighbor manner for storage.
[0075] Preferably, the step of continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage comprises:
[0076] Use the laser point cloud spatial coding data as the main code or file path to determine the grid identification;
[0077] The grid identifier is used as the primary key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as a tuple or Value to continuously store the point cloud data in spatially adjacent grids of the same type and level.
[0078] In the present invention, the 128-bit code obtained by mixing the classification, hierarchical level, and longitude and latitude coordinate information is used as the primary code or file path, which is referred to as the grid identifier below; the grid identifier is then used as the primary code / Key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as the tuple or Value to ensure that the point cloud objects in the same type and level grids that are spatially adjacent can be stored approximately continuously in the medium.
[0079] When a point / range query is given, it is first converted into the grid identifier or its segment set, and then a query is performed on the data, KeyValue storage or file system to achieve data extraction and reduce the complexity of subsequent distance calculations for the laser point cloud inside the grid.
[0080] In step 103, based on the given target type, target level and query center point coordinate information, the laser point cloud spatial coding data corresponding to the query center point is obtained, and based on the laser point cloud spatial coding data corresponding to the query center point, a search is performed to determine the grid unit corresponding to the query center point.
[0081] Preferably, the searching based on the laser point cloud spatial encoding data corresponding to the query center point to determine the grid unit corresponding to the query center point includes:
[0082] According to the level of each type of object, the number of objects on the level where the query center point is located is searched in turn; if the number of objects in the level where the unit is located is greater than 1, other three-dimensional unit grids in the same level are filtered according to the maximum distance from the current level to the query center point;
[0083] Iterate and search the 8 child nodes of the current grid based on the Morton code of the level where the query center point is located, take any object in the grid closest to the query object, calculate the distance between the arbitrary object and the query object, and use the minimum distance between the Morton code and the query center point as a filter to filter the child nodes in other unit grids, and jump to the previous step to iterate until the deepest node is reached;
[0084] Calculate the distance between all child nodes and the query node, and retain the spatial point output with the smallest distance to obtain the grid cell corresponding to the query center;
[0085] Among them, a prefix is built on the Morton code to quickly locate the valid spatial area closest to the query center point during the traversal process.
[0086] Preferably, the method further comprises:
[0087] By constructing a Trie index and querying the equipotential laser point cloud data and the ground potential laser point cloud data respectively, the minimum equipotential distance and the minimum ground potential distance are obtained, and the minimum combined gap distance is obtained by summing the minimum equipotential distance and the minimum ground potential distance.
[0088] Preferably, during the query process, the search process for obtaining the minimum distance in three-dimensional space includes:
[0089] (1) Determine the three-dimensional code (cx, cy, cz) of the query center point and calculate its symmetric code, including: for any two dimensions, determine the corresponding symmetric grid according to the parity of the third dimension code; among them, if cx and cy are fixed, if cz is an even number, then determine (cx, cy, cz-1) as the corresponding grid; if cz is an odd number, then determine (cx, cy, cz+1) as the corresponding grid, so as to obtain three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), and then expand them to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy, cz') and (cx', cy', cz'), and a total of 7 groups of symmetric units of the original code are obtained;
[0090] (2) Perform range search on the original code and the seven groups of symmetric units. For each unit, find the three units closest to the left and right boundaries, for a total of 48 units. If there is overlap, remove the overlapping units. After removing the overlap, a maximum of 27 units can be searched.
[0091] (3) Perform range filtering on the cells in the candidate set, including: first find the point closest to the query center point in the original cell, determine the minimum distance mind, and filter other cells based on the minimum distance mind, determine the distance of each cell from the query center in three dimensions in turn and obtain the maximum value of the three, and filter out the grids whose three-dimensional maximum value is greater than mind;
[0092] (4) Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only retain the points with the smallest distance;
[0093] (5) Calculating the minimum equipotential distance, including: setting the prefix of the query point conversion code to the equipotential code, and then executing steps (1) to (4) to obtain the minimum equipotential distance;
[0094] (6) Calculating the minimum ground potential distance, including: setting the prefix of the query point conversion code to the ground potential code, and then executing steps (1) to (4) to obtain the minimum ground potential distance;
[0095] (7) Calculating the minimum combined gap distance, including: adding the minimum equipotential distance and the minimum ground potential distance to obtain the minimum combined gap distance.
[0096] In the present invention, the laser point cloud can be queried based on the laser point cloud spatial coding data. According to the given target type, target level and query center point coordinate information, the laser point cloud spatial coding data corresponding to the query center point is obtained, and the grid unit corresponding to the query center point is determined based on the laser point cloud spatial coding data corresponding to the query center point.
[0097] In order to efficiently support the calculation of the minimum equipotential distance, the minimum safety distance of ground potential, the minimum distance between adjacent phases and the combined gap distance, it is necessary to distinguish the point cloud categories. Among them, the minimum grounding distance and the ground potential safety distance need to be calculated based on the current position (sequence) of the planned operator to the nearest grounding distance and equipotential distance to the current given position; the minimum distance between adjacent phases needs to determine the distance of the operator's adjacent phase conductor based on the current position; the combined gap distance needs to determine the combined gap between the charged body and the zero potential based on any given position. In response to this demand, the laser point cloud is divided into 3 categories:
[0098] 1. Insulation laser point cloud: laser point cloud of non-conductive field objects such as insulator strings
[0099] 2. Equipotential laser point cloud: including equipotential transmission line laser point cloud of transmission lines
[0100] 3. Ground potential laser point cloud: laser point cloud of ground potential objects including transmission towers, ground and other non-powered facilities with ground potential.
[0101] In the present invention, after classifying and hierarchically encoding the point cloud, given any classification, level and query center point coordinates, the Morten code corresponding to the query center point is found; since the query center point and the grid share the same Morten code, the grid cell corresponding to the query center point can be quickly found in a given level based on the Morten code. In the present invention, the encoding process based on Morten is as follows Figure 3 shown.
[0102] In the present invention, during the query process, the minimum distance from the query center point to the mapped grid unit can be directly calculated, and the Morten codes of the adjacent spatially adjacent grids can be quickly obtained.
[0103] Specifically, the method comprises: step 1, searching the number of objects on the level where the query center point is located in turn according to the level of each type of object; if the number of objects in the level where the unit is located is greater than 1, filtering other three-dimensional unit grids in the same level according to the maximum distance from the current level to the query center point;
[0104] Step 2. Iterate and search for the 8 children of the current grid based on the Morton code segment of the level where the query center point is located. Take any object in the grid closest to the query object, calculate the distance between the object and the query object, use the minimum distance between the Morton code and the query center point as a filter, filter the child nodes in other previous high-level unit grids, and jump 1 iteration until the deepest node is reached; calculate the distance between all children and the query node, and retain the spatial point with the smallest distance as the output.
[0105] The key to this process is the traversal of the hierarchical Morton. Figure 3 As shown in the figure, by building a prefix on the Morton code, the valid spatial area closest to the query center point can be quickly located during the traversal process. The prefix built layer by layer has the inclusion property, so the lower grid containing the query center point can be heuristically found from the query center point. The two prerequisites of this process are:
[0106] 1. Branches based on prefix encoding (such as Trie structure) always contain valid data, so the layer-by-layer traversal process can always find the three-dimensional outer rectangle closest to the query center point at each layer
[0107] 2. The leaf nodes are close enough to the query center point during the above traversal process, so the candidate set of the subsequent range query and its verification process can always be small enough.
[0108] The above process is as follows Figure 4 As shown in the figure, assuming that the highest level of data is L, based on the Morton code of the query center point, the leaf unit (reference unit) closest to the query center point (and whose Morton code is smaller than the Morton code of the given query center point) can be obtained. Considering the nature of the filling curve, the nearest point must be within the spatial distance range between the query center point and the reference unit closest to the query center point. Based on this distance, a range query is performed to obtain the data point closest to the query center point globally as output.
[0109] The present invention constructs a Trie index and executes the above process for the equipotential laser point cloud and the ground potential laser point cloud respectively, so as to obtain the minimum equipotential distance and the minimum ground potential distance, and obtain the minimum combined gap distance by summing the two. The query of this process takes the code of the area where the given query center point is located as the query object, and searches for points in the minimum spatial unit of the front and rear positions of the target position.
[0110] In two-dimensional space, assume that the two-dimensional space encoding of the query center point p is C2(p) = (cx, cy), calculate the encoding of the three symmetric units of C2(p); then use the current unit and the three symmetric units as references to obtain the reference point coordinates, and perform a one-dimensional index range query. In this process, considering that each unit contains the spatial points belonging to the unit, the corresponding point set can be encoded to finally complete the minimum distance calculation.
[0111] In the present invention, facing the three-dimensional space, the search process is as follows:
[0112] 1. Assuming that the xyz code corresponding to the three-dimensional code of the query center point is (cx, cy, cz), perform symmetric code calculation (each unit in two-dimensional space has three symmetric codes and each unit in three-dimensional space has 7 symmetric codes):
[0113] a. Fix two of the three dimensional codes cx, cy, and cz in turn, and consider the other dimension (for example, fix cx and cy, and consider cz): if the dimension (cz) is an even number, consider the grid corresponding to (cx, cy, cz-1); if it is a cardinality, consider the grid corresponding to (cx, cy, cz+1);
[0114] b. According to the above steps, after obtaining three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), they are expanded to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy, cz'), and (cx', cy', cz'), a total of 7 groups of original coded symmetric units;
[0115] 2. Perform range search on the original code and 7 groups of symmetric cells. For each cell, find the 3 cells closest to the left and right boundaries, a total of 48 cells. If the laser points are distributed in each cell, the 48 cells must overlap. After removing the overlap, there are at most 27 cells.
[0116] 3. Perform range filtering on the cells in 2, including: finding the point closest to the query center point in the original cell, determining the minimum distance mind, and filtering other cells based on the minimum distance mind, determining the distance of each cell from the query center in three dimensions in turn and obtaining the maximum value of the three, filtering out the grids whose three-dimensional maximum value is greater than mind;
[0117] 4. Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only keep the points with the smallest distance;
[0118] Based on the above algorithm, the calculation method of three types of live working distances is as follows:
[0119] 5. Minimum equipotential distance: Set the prefix of the query center point conversion code to the equipotential code, and then execute the above query to obtain the minimum equipotential distance;
[0120] 6. Minimum ground potential distance: Set the prefix of the query center point conversion code to the ground potential code, and then execute the above query to obtain the minimum ground potential distance;
[0121] 7. Minimum combined gap distance: Perform steps 5 and 6 separately, and then add the two together to get the minimum combined gap distance.
[0122] Since the spatial coding used in the above method has self-similarity, given the minimum coding level, the above method can be applied to the calculation of three types of live distance safety distances.
[0123] The method of the present invention has the following advantages: 1. Mapping three-dimensional data to a 128-bit long integer space to meet the accuracy requirements of live working space; 2. Using Morten coding technology to ensure the proximity of stored data; 3. After querying data from the big data platform, spatial sampling of data is performed to save bandwidth, and the query range and level are automatically updated following the user's operation, reducing the burden of power grid distance calculation. The patent of the present invention can automatically determine the range and level of the point cloud to be displayed according to the user's visualization needs, and plays an important role in three-dimensional visualization exploration, detection and analysis. At the same time, it can be combined with RTK high-precision positioning methods to quickly obtain the distance between given coordinates and laser point clouds in different grids.
[0124] The method of the present invention obtains the spatial position of the target object by acquiring the three-dimensional point cloud data of the spatial information of the transmission line, and automatically calculates the minimum distance of the typical equipotential body entry and exit method (including the minimum grounding distance, the minimum equipotential distance and the minimum combined gap distance, etc.) based on the calculated spatial position information, forming a core technology and system for safe distance protection for the operation process. Instead of solving the real-time distance protection problem during the operation process by the operation type and the typical entry and exit equipotential body method, efficient distance measurement is performed based on the classification to which the laser point cloud belongs, providing automated and high-precision real-time distance protection, solving the technical problems of the existing single distance calculation or static safety area detection method lacking full-process protection, low timeliness and poor application scale scalability.
[0125] Experimental results show that the coding-based distance calculation method can ensure that the distance calculation efficiency is less than 100 milliseconds for tens of millions of laser point cloud data. In addition, the introduction of power facility identification can ensure that the system data scale is scalable.
[0126] Figure 5 FIG. 5 is a schematic diagram of a system 500 for processing classified laser point cloud data according to an embodiment of the present invention. Figure 5 As shown, the processing system 500 for classifying laser point cloud data provided by the embodiment of the present invention includes: an encoding module 501 , a storage module 502 and a search module 503 .
[0127] Preferably, the encoding module 501 is used to perform data conversion based on the type, level and coordinate information of the laser point cloud data to obtain laser point cloud spatial encoding data.
[0128] Preferably, the encoding module 501 performs data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data, including:
[0129] For any laser point cloud data, data conversion is performed by converting it into 7-bit classification code, 6-bit hierarchical code and 115-bit Morten code to obtain the laser point cloud spatial coding data corresponding to the any laser point cloud data; wherein, the 115-bit Morten code includes: 46-bit x-coordinate information, 46-bit y-coordinate information and 23-bit z-coordinate information.
[0130] Preferably, the storage module 502 is used to continuously map the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage.
[0131] Preferably, the storage module 502 maps the laser point cloud spatially encoded data continuously in a sequential space in a spatial neighbor manner for storage, including:
[0132] Use the laser point cloud spatial coding data as the main code or file path to determine the grid identification;
[0133] The grid identifier is used as the primary key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as a tuple or Value to continuously store the point cloud data in spatially adjacent grids of the same type and level.
[0134] Preferably, the search module 503 is used to obtain the laser point cloud spatial coding data corresponding to the query center point based on the given target type, target level and query center point coordinate information, and to search based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point.
[0135] Preferably, the search module 503 searches based on the laser point cloud spatial encoding data corresponding to the query center point to determine the grid unit corresponding to the query center point, including:
[0136] According to the level of each type of object, the number of objects on the level where the query center point is located is searched in turn; if the number of objects in the level where the unit is located is greater than 1, other three-dimensional unit grids in the same level are filtered according to the maximum distance from the current level to the query center point;
[0137] Iterate and search the 8 child nodes of the current grid based on the Morton code of the level where the query center point is located, take any object in the grid closest to the query object, calculate the distance between the arbitrary object and the query object, and use the minimum distance between the Morton code and the query center point as a filter to filter the child nodes in other unit grids, and jump to the previous step to iterate until the deepest node is reached;
[0138] Calculate the distance between all child nodes and the query node, and retain the spatial point output with the smallest distance to obtain the grid cell corresponding to the query center;
[0139] Among them, a prefix is built on the Morton code to quickly locate the valid spatial area closest to the query center point during the traversal process.
[0140] Preferably, the search module 503 further includes:
[0141] By constructing a Trie index and querying the equipotential laser point cloud data and the ground potential laser point cloud data respectively, the minimum equipotential distance and the minimum ground potential distance are obtained, and the minimum combined gap distance is obtained by summing the minimum equipotential distance and the minimum ground potential distance.
[0142] Preferably, the search module 503, during the query process, searches for the minimum distance in three-dimensional space, including:
[0143] (1) Determine the three-dimensional code (cx, cy, cz) of the query center point and calculate its symmetric code, including: for any two dimensions, determine the corresponding symmetric grid according to the parity of the third dimension code; among them, if cx and cy are fixed, if cz is an even number, then determine (cx, cy, cz-1) as the corresponding grid; if cz is an odd number, then determine (cx, cy, cz+1) as the corresponding grid, so as to obtain three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), and then expand them to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy, cz') and (cx', cy', cz'), and a total of 7 groups of symmetric units of the original code are obtained;
[0144] (2) Perform range search on the original code and the seven groups of symmetric units. For each unit, find the three units closest to the left and right boundaries, for a total of 48 units. If there is overlap, remove the overlapping units. After removing the overlap, a maximum of 27 units can be searched.
[0145] (3) Perform range filtering on the cells in the candidate set, including: first find the point closest to the query center point in the original cell, determine the minimum distance mind, and filter other cells based on the minimum distance mind, determine the distance of each cell from the query center in three dimensions in turn and obtain the maximum value of the three, and filter out the grids whose three-dimensional maximum value is greater than mind;
[0146] (4) Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only retain the points with the smallest distance;
[0147] (5) Calculating the minimum equipotential distance, including: setting the prefix of the query point conversion code to the equipotential code, and then executing steps (1) to (4) to obtain the minimum equipotential distance;
[0148] (6) Calculating the minimum ground potential distance, including: setting the prefix of the query point conversion code to the ground potential code, and then executing steps (1) to (4) to obtain the minimum ground potential distance;
[0149] (7) Calculating the minimum combined gap distance, including: adding the minimum equipotential distance and the minimum ground potential distance to obtain the minimum combined gap distance.
[0150] The system 500 for processing classified laser point cloud data according to the embodiment of the present invention corresponds to the method 100 for processing classified laser point cloud data according to another embodiment of the present invention, and will not be described in detail herein.
[0151] The present invention has been described with reference to a few embodiments. However, it is known to those skilled in the art that other embodiments than the one disclosed above are equally within the scope of the present invention.
[0152] Generally, all terms used in the present invention are interpreted according to their ordinary meaning in the technical field, unless otherwise explicitly defined therein. All references to "a / said / the [device, component, etc.]" are open to interpretation as at least one instance of the device, component, etc., unless otherwise explicitly stated. The steps of any method disclosed herein do not necessarily have to be performed in the exact order disclosed, unless explicitly stated.
[0153] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0154] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0155] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the present invention.
Claims
1. A method for processing classified laser point cloud data for live working distance calculation, characterized in that: The method comprises: Perform data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data; Continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage; Based on the given target type, target level and query center point coordinate information, obtain the laser point cloud spatial coding data corresponding to the query center point, and search based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point; The data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data includes: For any laser point cloud data, data conversion is performed by converting it into 7-bit classification code, 6-bit hierarchical code and 115-bit Morten code to obtain the laser point cloud spatial coding data corresponding to any laser point cloud data; wherein, the 115-bit Morten code includes: 46-bit x coordinate information, 46-bit y coordinate information and 23-bit z coordinate information; The step of continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage includes: Use the laser point cloud spatial coding data as the main code or file path to determine the grid identification; The grid identifier is used as the primary key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as the tuple or Value to continuously store the point cloud data in spatially adjacent grids of the same type and level; The searching based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point includes: According to the level of each type of object, the number of objects on the level where the query center point is located is searched in turn; if the number of objects in the level where the unit is located is greater than 1, other three-dimensional unit grids in the same level are filtered according to the maximum distance from the current level to the query center point; Iterate and search the 8 child nodes of the current grid based on the Morton code of the level where the query center point is located, take any object in the grid closest to the query object, calculate the distance between the arbitrary object and the query object, and use the minimum distance between the Morton code and the query center point as a filter to filter the child nodes in other unit grids, and jump to the previous step to iterate until the deepest node is reached; Calculate the distance between all child nodes and the query node, and retain the spatial point output with the smallest distance to obtain the grid cell corresponding to the query center; Among them, a prefix is constructed on the Morton code to quickly locate the valid spatial area closest to the query center point during the traversal process; Wherein, the method further comprises: By constructing a Trie index, and querying the equipotential laser point cloud data and the ground potential laser point cloud data respectively, the minimum equipotential distance and the minimum ground potential distance are obtained, and the minimum combined gap distance is obtained by summing the minimum equipotential distance and the minimum ground potential distance. Among them, during the query process, the search process for obtaining the minimum distance in three-dimensional space includes: (1) Determine the three-dimensional code (cx, cy, cz) of the query center point and calculate its symmetric code, including: for any two dimensions, determine the corresponding symmetric grid according to the parity of the third dimension code; among them, if cx and cy are fixed, if cz is an even number, then determine (cx, cy, cz-1) as the corresponding grid; if cz is an odd number, then determine (cx, cy, cz+1) as the corresponding grid, so as to obtain three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), and then expand them to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy', cz') and (cx', cy', cz'), a total of 7 groups of symmetric units of the original code; (2) Perform range search on the original code and the seven groups of symmetric units. For each unit, find the three units closest to the left and right boundaries, for a total of 48 units. If there is overlap, remove the overlapping units. After removing the overlap, a maximum of 27 units can be searched. (3) Range filtering of cells in the candidate set, including: first finding the point closest to the query center point in the original cell, determining the minimum distance mind, and filtering other cells based on the minimum distance mind, successively determining the distance of each cell from the query center in three dimensions and obtaining the maximum value of the three, and filtering out grids whose three-dimensional maximum value is greater than mind; (4) Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only retain the points with the smallest distance; (5) Calculating the minimum equipotential distance, including: setting the prefix of the query point conversion code to the equipotential code, and then executing steps (1) to (4) to obtain the minimum equipotential distance; (6) Calculating the minimum ground potential distance, including: setting the prefix of the query point conversion code to the ground potential code, and then executing steps (1) to (4) to obtain the minimum ground potential distance; (7) Calculating the minimum combined gap distance, including: adding the minimum equipotential distance and the minimum ground potential distance to obtain the minimum combined gap distance.
2. A processing system for classified laser point cloud data for live working distance calculation, characterized in that: The system comprises: An encoding module, used for performing data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data; A storage module, used for continuously mapping the laser point cloud spatially encoded data in a sequential space in a spatial neighbor manner for storage; A search module is used to obtain the laser point cloud spatial coding data corresponding to the query center point based on the given target type, target level and query center point coordinate information, and to search based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point; The encoding module performs data conversion based on the type, level and coordinate information of the laser point cloud data to obtain the laser point cloud spatial encoding data, including: For any laser point cloud data, data conversion is performed by converting it into 7-bit classification code, 6-bit hierarchical code and 115-bit Morten code to obtain the laser point cloud spatial coding data corresponding to any laser point cloud data; wherein, the 115-bit Morten code includes: 46-bit x coordinate information, 46-bit y coordinate information and 23-bit z coordinate information; The storage module maps the laser point cloud spatial encoding data continuously in a sequential space in a spatial neighbor manner for storage, including: Use the laser point cloud spatial coding data as the main code or file path to determine the grid identification; The grid identifier is used as the primary key for database tuple or KeyValue storage, and the point cloud data contained in the grid is used as the tuple or Value to continuously store the point cloud data in spatially adjacent grids of the same type and level; The search module searches based on the laser point cloud spatial coding data corresponding to the query center point to determine the grid unit corresponding to the query center point, including: According to the level of each type of object, the number of objects on the level where the query center point is located is searched in turn; if the number of objects in the level where the unit is located is greater than 1, other three-dimensional unit grids in the same level are filtered according to the maximum distance from the current level to the query center point; Iterate and search the 8 child nodes of the current grid based on the Morton code of the level where the query center point is located, take any object in the grid closest to the query object, calculate the distance between the arbitrary object and the query object, and use the minimum distance between the Morton code and the query center point as a filter to filter the child nodes in other unit grids, and jump to the previous step to iterate until the deepest node is reached; Calculate the distance between all child nodes and the query node, and retain the spatial point output with the smallest distance to obtain the grid cell corresponding to the query center; Among them, a prefix is constructed on the Morton code to quickly locate the valid spatial area closest to the query center point during the traversal process; Wherein, the search module further includes: By constructing a Trie index, and querying the equipotential laser point cloud data and the ground potential laser point cloud data respectively, the minimum equipotential distance and the minimum ground potential distance are obtained, and the minimum combined gap distance is obtained by summing the minimum equipotential distance and the minimum ground potential distance. The search module, during the query process, searches for the minimum distance in three-dimensional space, including: (1) Determine the three-dimensional code (cx, cy, cz) of the query center point and calculate its symmetric code, including: for any two dimensions, determine the corresponding symmetric grid according to the parity of the third dimension code; among them, if cx and cy are fixed, if cz is an even number, then determine (cx, cy, cz-1) as the corresponding grid; if cz is an odd number, then determine (cx, cy, cz+1) as the corresponding grid, so as to obtain three groups of symmetric grids (cx, cy, cz'), (cx, cy', cz), (cx', cy, cz), and then expand them to obtain (cx, cy', cz'), (cx', cy', cz), (cx', cy', cz') and (cx', cy', cz'), a total of 7 groups of symmetric units of the original code; (2) Perform range search on the original code and the seven groups of symmetric units. For each unit, find the three units closest to the left and right boundaries, for a total of 48 units. If there is overlap, remove the overlapping units. After removing the overlap, a maximum of 27 units can be searched. (3) Range filtering of cells in the candidate set, including: first finding the point closest to the query center point in the original cell, determining the minimum distance mind, and filtering other cells based on the minimum distance mind, successively determining the distance of each cell from the query center in three dimensions and obtaining the maximum value of the three, and filtering out grids whose three-dimensional maximum value is greater than mind; (4) Perform distance calculation on the objects in all cells after filtering to obtain the distance of each point from the query center, and only retain the points with the smallest distance; (5) Calculating the minimum equipotential distance, including: setting the prefix of the query point conversion code to the equipotential code, and then executing steps (1) to (4) to obtain the minimum equipotential distance; (6) Calculating the minimum ground potential distance, including: setting the prefix of the query point conversion code to the ground potential code, and then executing steps (1) to (4) to obtain the minimum ground potential distance; (7) Calculating the minimum combined gap distance, including: adding the minimum equipotential distance and the minimum ground potential distance to obtain the minimum combined gap distance.
Citation Information
Patent Citations
A near-earth space three-dimensional point cloud unified coding visualization method
CN109299184A
Laser point cloud data processing method, device and equipment for high-precision map
CN115080680A
Hot-line work distance efficient measurement method and system based on laser point cloud
CN117351081A
System and methods for mapping and searching objects in multidimensional space
US20130138646A1
Cited By
Intelligent monitoring system and method for digital twinning global risk of near-power construction
CN122821479A
A power near electric construction digital twin global risk intelligent monitoring system and method
CN122821479B
