Hoistway structure parameter acquisition method and device and storage medium

By extracting the inner wall plane of the elevator shaft and supplementing the point cloud of the doorway boundary, the problem of incomplete measurement caused by construction facilities obstruction was solved, and efficient and reliable measurement of shaft and doorway dimensions was achieved.

CN123160642APending Publication Date: 2026-11-24HITACHI BUILDING TECH GUANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611540301.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies for elevator shaft measurement, incomplete extraction of point clouds at the doorway boundaries is caused by obstructions from construction facilities, affecting the efficiency and accuracy of shaft and doorway size measurement.

Method used

By acquiring the 3D point cloud of the elevator shaft, multiple inner wall planes are extracted. The shaft dimensions are determined by the spatial relationship between the inner wall planes and the centroid of the shaft point cloud. The point cloud of the doorway boundary is extracted to supplement the missing boundary information.

Benefits of technology

It improves the completeness and reliability of the measurement of shaft and door opening dimensions on each floor, reduces repeated scanning and manual supplementary measurement, and improves measurement efficiency and consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160642A_ABST
    Figure CN123160642A_ABST
Patent Text Reader

Abstract

This invention provides a method, device, and storage medium for acquiring elevator shaft structural parameters. The method includes: acquiring a shaft point cloud; extracting multiple inner wall planes of the elevator shaft from the shaft point cloud, including a front wall plane corresponding to the elevator door opening; determining the shaft dimensions based on the spatial relationship between the centroids of each inner wall plane and the shaft point cloud; extracting door opening boundary point clouds for each floor from the point cloud corresponding to the front wall plane; determining the target floor where the door opening boundary point cloud extraction is incomplete based on the extracted door opening boundary point clouds for each floor, and extracting the door opening boundary point clouds for the target floor from the remaining point cloud after extracting multiple inner wall planes; and determining the door opening dimensions for each floor based on the finally extracted door opening boundary point clouds for each floor. This method enables the acquisition of shaft dimensions and door opening dimensions for each floor based on a single scan of the shaft point cloud, even when the shaft is obstructed by construction work, thus improving parameter integrity and measurement efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of elevator technology, and in particular relates to a method, device and storage medium for obtaining shaft structure parameters. Background Technology

[0002] Before elevator installation, structural parameters such as shaft width, shaft depth, and doorway dimensions for each floor need to be obtained to provide a basis for equipment selection and installation. Traditional measurement methods typically involve manual measurement using measuring tapes, total stations, or laser rangefinders, which suffers from low efficiency, the need for workers to enter the shaft, and difficulties in measuring high-rise buildings. With the development of 3D laser scanning technology, shaft dimensions can be calculated by acquiring shaft point clouds and extracting the inner wall plane, and doorway dimensions for each floor can be calculated by extracting doorway boundaries from the front wall point cloud. Compared to manual measurement, this eliminates the need to enter the shaft, reducing on-site work time and safety risks.

[0003] However, obstructions such as protective fences and temporary scaffolding during construction often cause breaks or missing points in the point cloud at the doorway boundary. Existing methods directly identify and cluster the front wall point cloud, but when obstructed, problems such as incomplete extraction of doorway boundaries and missed floor detections are prone to occur, often requiring rescanning or manual re-measurement, which affects efficiency.

[0004] Therefore, how to supplement the extraction using existing shaft point cloud data when the doorway boundary extraction is incomplete, so as to reliably obtain the shaft size and the doorway size of each floor, is a technical problem that needs to be solved. Summary of the Invention

[0005] In view of this, the present invention provides a method, device and storage medium for acquiring shaft structure parameters, which can supplement the extraction using the collected shaft point cloud data when the point cloud extraction of the doorway boundary is incomplete, thereby improving the completeness and reliability of shaft structure parameter acquisition.

[0006] The first aspect of the present invention provides a method for obtaining shaft structure parameters, comprising: Obtain the point cloud of the elevator shaft; Multiple inner wall planes of the elevator shaft are extracted from the shaft point cloud, including the front wall plane corresponding to the elevator door opening; The dimensions of the elevator shaft are determined based on the spatial relationship between the inner wall planes and the centroid of the shaft point cloud. Extract the point cloud of the doorway boundary of each floor from the point cloud corresponding to the front wall plane; Based on the doorway boundary point cloud extracted from each floor, the target floor whose doorway boundary point cloud is incomplete is determined, and the doorway boundary point cloud of the target floor is extracted from the remaining point cloud after extracting the multiple inner wall planes. Based on the final extracted point cloud of the doorway boundaries for each floor, the doorway dimensions for each floor are determined.

[0007] A second aspect of the present invention provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the wellbore structure parameter acquisition method as described in the first aspect above.

[0008] A third aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the wellbore structure parameter acquisition method as described in the first aspect above.

[0009] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: This invention acquires a three-dimensional point cloud of an elevator shaft, extracts multiple inner wall planes of the shaft, and determines the shaft dimensions based on the spatial relationship between each inner wall plane and the centroid of the shaft point cloud. This allows the overall geometric dimensions of the shaft to be obtained using a single point cloud acquisition, reducing the workload of manual shaft entry for measurement and improving the efficiency and consistency of shaft dimension measurement.

[0010] Based on this, the point cloud of the doorway boundary for each floor is extracted from the point cloud of the front wall plane corresponding to the doorway, and the target floors with incomplete doorway boundary point cloud extraction are identified. For target floors obscured by construction facilities such as protective fences and temporary supports, the remaining point cloud after extracting multiple inner wall planes is used to extract the doorway boundary point cloud again, thereby supplementing the boundary information missing in the first extraction, reducing the omission of doorway boundary and the deviation in doorway size calculation.

[0011] Therefore, this invention can obtain the shaft dimensions and doorway dimensions of each floor based on the same shaft point cloud data, and improve the integrity, accuracy and reliability of structural parameter measurement in the construction environment, reducing repeated scanning and manual supplementary measurement caused by point cloud occlusion. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a schematic diagram of a method for obtaining shaft structure parameters provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of another method for obtaining well shaft structure parameters provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0014] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the present invention. However, those skilled in the art will recognize that the present application may be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted to avoid unnecessary detail that could obscure the description of the present application.

[0015] The technical solution of the present invention will be illustrated below through specific embodiments.

[0016] Reference Figure 1 This illustration shows a schematic diagram of a method for obtaining elevator shaft structure parameters according to an embodiment of the present invention. This embodiment provides a method for obtaining elevator shaft structure parameters, used to obtain the shaft dimensions and doorway dimensions for each floor based on a three-dimensional point cloud of the elevator shaft. This method can be executed by a point cloud processing device or a measurement computing platform, such as... Figure 1 As shown, the method may specifically include the following steps: S101. Obtain the point cloud of the elevator shaft.

[0017] Before the elevator is installed or during construction of the elevator shaft, a 3D laser scanning device is used to scan the elevator shaft and acquire 3D point cloud data of the shaft's interior. Each point in the shaft point cloud includes 3D coordinate information, which can be represented based on the shaft coordinate system. During the scanning process, the scanning device can be positioned at the bottom, top, or lobby of the shaft, and multiple stations can be used to obtain point cloud data covering the entire shaft interior. The point clouds acquired from different scanning locations are then registered to obtain a shaft point cloud in a unified coordinate system.

[0018] S102. Extract multiple inner wall planes of the elevator shaft from the shaft point cloud, including the front wall plane corresponding to the elevator door opening.

[0019] Planar feature analysis is performed on the points in the shaft point cloud. Points that are spatially close, have similar normal directions, and are roughly located in the same plane are divided into planar point sets. Multiple inner wall planes are obtained by fitting each planar point set.

[0020] Multiple inner wall planes include the front wall plane corresponding to the elevator door opening.

[0021] In one embodiment, the plurality of inner wall planes further includes a left wall plane, a right wall plane, and a rear wall plane. Different inner wall planes can be identified based on the normal direction of each fitted plane and its position relative to the shaft center. For example, two planes with opposite normal directions and located on opposite sides of the shaft center can be identified as left and right relative inner wall planes or front and rear relative inner wall planes.

[0022] In another implementation, multiple inner wall planes are extracted from the well point cloud, including: using the centroid of the well point cloud as a reference, the left wall plane, right wall plane, rear wall plane and front wall plane are sequentially segmented and extracted from the well point cloud using a random sampling consensus algorithm.

[0023] During the extraction of the inner wall planes, the point clouds belonging to each inner wall plane are separated from the shaft point cloud, while the point clouds that are not separated to the inner wall planes are retained as the remaining point clouds used for subsequent extraction of the doorway boundary.

[0024] S103. Determine the dimensions of the elevator shaft based on the spatial relationship between the planes of each inner wall and the centroid of the shaft point cloud.

[0025] Specifically, the vertical distances from the centroid of the well point cloud to the left wall plane, right wall plane, front wall plane, and rear wall plane are determined respectively; The width of the shaft is determined by the sum of the vertical distances from the center of mass to the left and right wall planes, and the depth of the shaft is determined by the sum of the vertical distances from the center of mass to the front and rear wall planes.

[0026] That is, calculate the centroid of the shaft point cloud based on the three-dimensional coordinates of each point in the shaft point cloud. Let the centroid of the shaft point cloud be C, and each inner wall plane be represented by a plane equation. Calculate the perpendicular distance from the centroid C to each inner wall plane.

[0027] When the left and right wall planes are extracted, the sum of the vertical distances from the centroid to the left and right wall planes is determined as the shaft width; when the front and rear wall planes are extracted, the sum of the vertical distances from the centroid to the front and rear wall planes is determined as the shaft depth. Using this method, the actual width and depth of the shaft can be calculated based on the spatial position of the inner wall planes.

[0028] S104. Extract the point cloud of the doorway boundary of each floor from the point cloud corresponding to the front wall plane.

[0029] Points belonging to the front wall plane are selected from the shaft point cloud to obtain the point cloud corresponding to the front wall plane. Since the point cloud distribution in the doorway area is usually discontinuous, has edge variations, or has local gaps relative to the main front wall area, the boundary points of the doorway are identified based on the local neighborhood distribution of the point cloud.

[0030] Specifically, for the current point in the point cloud corresponding to the front wall plane, multiple nearest neighbor points around the current point are searched, and a local tangent plane is established based on the normal information of the current point and its nearest neighbors. After projecting the nearest neighbors onto the local tangent plane, they are arranged according to the angle of the projected points relative to the reference direction. When there is a large angular gap between adjacent projected points, it indicates that there is a gap in the point cloud distribution near the current point, and therefore the current point is determined as a boundary point.

[0031] The identified boundary points are clustered, and spatially connected or closely spaced boundary points are grouped into the same cluster. Then, based on the position of each cluster in the vertical direction of the shaft, the clusters at different heights are divided into floors, so that each floor corresponds to a doorway boundary point cloud.

[0032] S105. Based on the doorway boundary point cloud extracted from each floor, determine the target floor where the doorway boundary point cloud extraction is incomplete, and extract the doorway boundary point cloud of the target floor from the remaining point cloud retained after extracting multiple inner wall planes.

[0033] Because protective railings, temporary scaffolding, or other construction facilities in the elevator lobby may obstruct the doorway area, the initial doorway boundary point clouds extracted for some floors may be incomplete. Therefore, an integrity assessment is performed on the initial doorway boundary point clouds extracted for each floor.

[0034] In one implementation, a local two-dimensional representation of the doorway boundary point cloud is established for each floor, determining its width and height directions, and statistically analyzing the projection coverage of the boundary point cloud in both the width and height directions. When the projection range in a certain direction is significantly smaller than the preset doorway boundary range, or when there are continuous gaps between boundary points exceeding a preset distance, it is determined that the doorway boundary point cloud extraction for that floor is incomplete, and the corresponding floor is identified as the target floor.

[0035] For the target floor, the remaining point cloud after segmenting and extracting multiple inner wall planes from S102 is selected to identify the point cloud corresponding to the height range of the target floor. Since the remaining point cloud may contain point clouds at the edges of doorways obscured by fences, the junction of fences and doorways, and other point clouds not belonging to the inner wall planes, this part of the point cloud can be used to supplement and extract the missing boundaries of the target floor.

[0036] Before further extraction, noise can be filtered out from the remaining point cloud to remove abnormal point clouds far from the front wall plane and discrete point clouds with excessively low density. Then, a nearest neighbor search is performed on the filtered remaining point cloud to extract secondary boundary point clouds with boundary distribution characteristics, and these secondary boundary point clouds are clustered and segmented to obtain the doorway boundary point cloud corresponding to the target floor.

[0037] For floors not identified as target floors, the doorway boundary point cloud extracted in the first extraction is used; for target floors, the doorway boundary point cloud extracted again is used to supplement the missing boundary parts in the first extraction result, forming the final doorway boundary point cloud for each floor.

[0038] S106. Based on the final extracted point cloud of the doorway boundary of each floor, determine the doorway size of each floor.

[0039] For the final point cloud of the doorway boundary obtained for each floor, the centroid of the point cloud of the doorway boundary is calculated, and a local coordinate system of the doorway is established with the centroid as the origin. The two coordinate directions of the local coordinate system are located in the plane where the doorway is located, and are used to represent the two-dimensional distribution of the doorway point cloud.

[0040] Transform each point in the point cloud of the doorway boundary to a local coordinate system to obtain two-dimensional coordinates. Perform principal direction analysis on the two-dimensional coordinates to determine the principal and secondary directions of the doorway boundary point cloud. Determine the angles between the principal and secondary directions and the vertical direction of the elevator shaft. Determine the direction with the smaller angle between the principal and secondary directions as the height direction of the doorway, and determine the other direction as the width direction of the doorway.

[0041] Calculate the difference between the maximum and minimum projection values ​​of the boundary point cloud of the doorway along the height and width directions respectively. Determine the projection range in the height direction as the doorway height and the projection range in the width direction as the doorway width, thereby obtaining the doorway dimensions for each floor.

[0042] Through the above steps, the shaft dimensions and doorway dimensions of each floor can be obtained based on the same shaft point cloud. When the doorway boundary is incomplete due to obstruction by construction facilities, the remaining point cloud after the inner wall plane segmentation can be used to supplement the boundary, thereby improving the completeness and reliability of the doorway dimension acquisition.

[0043] This invention acquires a three-dimensional point cloud of an elevator shaft, extracts multiple inner wall planes of the shaft, and determines the shaft dimensions based on the spatial relationship between each inner wall plane and the centroid of the shaft point cloud. This allows the overall geometric dimensions of the shaft to be obtained using a single point cloud acquisition, reducing the workload of manual shaft entry for measurement and improving the efficiency and consistency of shaft dimension measurement.

[0044] Based on this, the point cloud of the doorway boundary for each floor is extracted from the point cloud of the front wall plane corresponding to the doorway, and the target floors with incomplete doorway boundary point cloud extraction are identified. For target floors obscured by construction facilities such as protective fences and temporary supports, the remaining point cloud after extracting multiple inner wall planes is used to extract the doorway boundary point cloud again, thereby supplementing the boundary information missing in the first extraction, reducing the omission of doorway boundary and the deviation in doorway size calculation.

[0045] Therefore, this invention can obtain the shaft dimensions and doorway dimensions of each floor based on the same shaft point cloud data, and improve the integrity, accuracy and reliability of structural parameter measurement in the construction environment, reducing repeated scanning and manual supplementary measurement caused by point cloud occlusion.

[0046] In an optional embodiment, extracting the doorway boundary point cloud for each floor from the point cloud corresponding to the front wall plane includes: Boundary points are extracted from the point cloud corresponding to the front wall plane using the K-nearest neighbor search algorithm. The boundary points are clustered and segmented using a density clustering algorithm, and the boundary point cloud of the doorway corresponding to each floor is determined based on the vertical arrangement of each cluster.

[0047] In this embodiment, the point cloud of the doorway boundary of each floor is extracted from the point cloud corresponding to the front wall plane, specifically including the following steps.

[0048] First, the point cloud belonging to the front wall plane is selected from the shaft point cloud to obtain the point cloud corresponding to the front wall plane. For each current point in the point cloud corresponding to the front wall plane, the K nearest neighbor search algorithm is used to find the K nearest neighbor points. The value of K can be set according to the sampling density of the point cloud and the expected size of the doorway boundary, so that the nearest neighbor points can reflect the point cloud distribution in the local area of ​​the current point.

[0049] Estimate the local normal vector of the current point based on the spatial coordinates of the current point and its nearest neighbors, and establish a local tangent plane centered on the current point and with the local normal vector as the normal direction. Project each nearest neighbor point onto the local tangent plane, establish a reference direction within the local tangent plane, calculate the angle of each projected point relative to the reference direction, and arrange the projected points in order of angle.

[0050] For sorted adjacent projected points, calculate the angle difference between them and determine the maximum angle gap. When the maximum angle gap is greater than a preset angle threshold, it indicates that there is a discontinuity or local gap in the point cloud distribution in the neighborhood of the current point, and the current point is likely located at the edge of the doorway. Therefore, the current point is determined as a boundary point. Traverse all points in the point cloud corresponding to the front wall plane to obtain the set of boundary points corresponding to the front wall plane. The preset angle threshold can be π / 2.

[0051] Then, density clustering is used to segment the boundary point set. Based on the spatial distance between boundary points and local point density, density clustering groups spatially close and continuously distributed boundary points into the same cluster, while excluding boundary points that are far from other clusters or have low point density as discrete noise or outliers. The density clustering algorithm can be DBSCAN, or other clustering algorithms capable of clustering based on point distance and point density.

[0052] For each cluster of points, calculate its vertical height range and representative height within the shaft, and sort the clusters according to their representative heights. Based on the vertical height intervals of doorways on adjacent floors, clusters with similar height ranges belonging to the same floor are grouped into doorway boundary point clouds for the same floor; clusters with different height positions are assigned to different floors. This yields the doorway boundary point clouds for each floor.

[0053] When the boundary of a doorway on the same floor is divided into multiple clusters of points due to obstruction, if the height ranges of the multiple clusters of points overlap or are adjacent, and their horizontal positions satisfy the spatial range of the same doorway, then the multiple clusters of points can be merged into the point cloud of the doorway boundary of that floor.

[0054] In an optional embodiment, boundary points are extracted from the point cloud corresponding to the front wall plane using the K-nearest neighbor search algorithm, including: For the current point in the point cloud corresponding to the front wall plane, determine multiple nearest neighbor points of the current point; Project each nearest neighbor point onto a local tangent plane with the normal vector of the current point as its normal direction; The maximum angular gap is determined based on the angular distribution of each projection point within the local tangent plane. If the maximum angular gap is greater than the preset angular threshold, the current point is determined as the boundary point.

[0055] In this embodiment, the K-nearest neighbor search algorithm is used to extract boundary points from the point cloud corresponding to the front wall plane, specifically including the following steps.

[0056] For the current point in the point cloud corresponding to the front wall plane, search for the K nearest points based on the current point's 3D coordinates, and these K points are taken as the current point's nearest neighbors. The value of K is set according to the sampling density of the front wall plane point cloud, so that the determined nearest neighbors can reflect the point cloud distribution of the local area where the current point is located.

[0057] Estimate the normal vector of the current point based on its spatial coordinates and those of its nearest neighbors. Establish a local tangent plane centered on the current point and with the normal vector as its normal direction. Project each nearest neighbor point onto the local tangent plane along the direction of the normal vector to obtain the corresponding projection point.

[0058] Within the local tangent plane, a reference direction is selected, and the azimuth angles of each projection point relative to the reference direction are calculated. The projection points are then sorted according to the magnitude of their azimuth angles. The difference between adjacent sorted azimuth angles is calculated, and the loop difference when the first and last azimuth angles cross the zero angle is also calculated. The maximum angular gap is determined from these differences.

[0059] When the maximum angle gap is greater than the preset angle threshold, it indicates that the nearest neighbor points of the current point do not form a continuous distribution in its circumference, and there is a gap or opening in the point cloud in the area where the current point is located. Therefore, the current point is determined as a boundary point. When the maximum angle gap is not greater than the preset angle threshold, the current point is considered to be located in a region with a relatively continuous point cloud distribution, and the current point is not determined as a boundary point.

[0060] Traverse each point in the point cloud corresponding to the front wall plane, and determine whether each point is a boundary point in the manner described above, to obtain the set of boundary points corresponding to the front wall plane. Subsequently, clustering and segmentation can be performed based on the boundary point set to determine the boundary point cloud of the doorways corresponding to each floor.

[0061] In an optional embodiment, based on the extracted doorway boundary point clouds from each floor, the target floor where the doorway boundary point cloud extraction is incomplete is determined, including: Principal component analysis was performed on the point cloud of the doorway boundary on each floor to determine the principal direction and the secondary direction. The angles between the principal direction and the secondary direction and the vertical direction of the elevator shaft were determined. The direction with the smaller angle between the principal direction and the secondary direction was determined as the height direction of the doorway, and the other direction was determined as the width direction of the doorway. Determine the projection length coverage of the point cloud of door openings on each floor in the width and height directions, and the maximum spatial straight-line distance between adjacent boundary points in the point cloud of door openings on each floor; If at least one projected length coverage is lower than the corresponding preset coverage threshold, or the maximum spatial straight distance is greater than the preset gap length threshold, the corresponding floor will be determined as the target floor.

[0062] In this embodiment, the completeness of the doorway boundary point cloud is determined based on the doorway boundary point cloud extracted from each floor.

[0063] First, the centroid of the point cloud extracted from the doorway boundary points of each floor is calculated, and principal component analysis is performed on the doorway boundary point cloud based on the centroid. By constructing the covariance matrix of the doorway boundary point cloud and performing eigenvalue decomposition, two mutually orthogonal feature directions are obtained. The feature direction with the larger variance is designated as the principal direction, and the feature direction with the smaller variance is designated as the secondary direction. The angles between the principal and secondary directions and the vertical direction of the elevator shaft are determined. The direction with the smaller angle is designated as the height direction of the doorway, and the other direction is designated as the width direction of the doorway. The principal and secondary directions are the eigenvector directions corresponding to the larger and smaller eigenvalues ​​in the covariance matrix, respectively. The principal direction represents the direction with the largest projection variance of the doorway boundary point cloud, but the principal direction does not necessarily correspond to the height direction of the doorway.

[0064] Then, the point cloud of the doorway boundary on this floor is projected onto the width and height directions respectively, obtaining the projection coordinate range in the corresponding directions. The projected length of the doorway boundary point cloud is calculated based on the projection coordinate range. The projected length is compared with the reference length corresponding to the preset doorway boundary range to obtain the projection length coverage in the width and height directions respectively. For example, the projection length coverage in the width direction can be expressed as the ratio of the actual projected length in the width direction to the preset doorway width range, and the projection length coverage in the height direction can be expressed as the ratio of the actual projected length in the height direction to the preset doorway height range. The preset doorway boundary range can be pre-set according to the design dimensions of the elevator doorway, or it can be estimated by extracting complete doorway boundary point clouds from other floors.

[0065] Furthermore, adjacent boundary points are determined based on the spatial adjacency relationships of each boundary point in the doorway boundary point cloud. For example, boundary points can be sorted according to their arrangement along the doorway outline, or boundary point connections can be established based on their proximity relationships. The spatial straight-line distance between each pair of adjacent boundary points is calculated, and the maximum value is determined as the maximum spatial straight-line distance of the doorway boundary point cloud for that floor.

[0066] When the width-direction projection length coverage or the height-direction projection length coverage is lower than the corresponding preset coverage threshold, it indicates that there is a large gap in the boundary of the doorway on that floor in the corresponding direction; or, when the maximum spatial straight-line distance is greater than the preset gap length threshold, it indicates that there is a large break gap between the doorway boundary points. When either of the above conditions is met, the corresponding floor is identified as the target floor with incomplete doorway boundary point cloud extraction, and doorway boundary extraction is performed again on the target floor based on the remaining point cloud. The preset coverage threshold for the width direction and the preset coverage threshold for the height direction can be the same or different. In one optional example, both the preset coverage threshold for the width direction and the preset coverage threshold for the height direction are 90%.

[0067] In an optional embodiment, extracting the doorway boundary point cloud of the target floor from the remaining point cloud retained after extracting multiple inner wall planes includes: The remaining point cloud is then subjected to noise filtering to obtain the filtered remaining point cloud; The K-nearest neighbor search algorithm is used to extract the secondary boundary point cloud corresponding to the target floor from the filtered remaining point cloud. Density clustering algorithm is used to cluster and segment the secondary boundary point cloud to obtain the doorway boundary point cloud of the target floor.

[0068] In this embodiment, for a target floor whose doorway boundary point cloud extraction is incomplete, the doorway boundary point cloud of the target floor is extracted again from the remaining point cloud after segmenting and extracting multiple inner wall planes. This specifically includes the following steps.

[0069] First, noise is filtered out from the remaining point cloud after extracting multiple inner wall planes. Based on the height range of the target floor and the location of the front wall plane, point clouds corresponding to the doorway area of ​​the target floor are selected from the remaining point cloud, and point clouds unrelated to the doorway area are removed. For example, point clouds located outside the front wall plane and exceeding a preset distance range, as well as discrete point clouds with local point cloud density below a preset density threshold, can be filtered out. This reduces the influence of point clouds in the elevator lobby, point clouds of the scanning equipment's motion trajectory, and random scattering points on boundary extraction, resulting in a filtered remaining point cloud.

[0070] Then, for each point in the remaining point cloud after filtering, the K-nearest neighbor search algorithm is used to determine its local neighborhood. Based on the spatial distribution of the current point and its nearest neighbors, it is determined whether there are abrupt changes or local gaps in the point cloud distribution near the current point, and points that meet the boundary characteristics are identified as secondary boundary points, thus obtaining the secondary boundary point cloud corresponding to the target floor. The secondary boundary point cloud can be located near the front wall plane or between the front wall plane and the obstruction facility, and is used to represent the edges of doorways that were not identified during the initial boundary extraction.

[0071] Subsequently, density clustering algorithm is used to cluster and segment the secondary boundary point cloud, resulting in multiple clusters. Based on the height range of each cluster in the vertical direction of the shaft and its position in the horizontal direction, clusters located within the doorway space of the target floor are determined from the multiple clusters. When the height ranges of the determined multiple clusters overlap or are adjacent, and their positions in the horizontal direction belong to the same doorway space, the multiple clusters are merged to obtain the doorway boundary point cloud of the target floor.

[0072] In an optional embodiment, the doorway dimensions for each floor are determined based on the final extracted doorway boundary point cloud for each floor, including: Determine the centroid of the final extracted point cloud of doorway boundaries for each floor; Establish a local coordinate system for the doorway with the centroid as the origin, and project the point cloud of the doorway boundary onto the local coordinate system of the doorway. Principal component analysis is performed on the two-dimensional point cloud obtained by projection to determine the principal direction and the secondary direction. The angles between the principal direction and the secondary direction and the vertical direction of the elevator shaft are determined respectively. The direction with the smaller angle between the principal direction and the secondary direction is determined as the height direction of the doorway, and the other direction is determined as the width direction of the doorway. Calculate the projection range of the two-dimensional point cloud along the height and width directions respectively, and determine the door opening size of the corresponding floor based on the projection range.

[0073] In this embodiment, the doorway size of the corresponding floor is calculated based on the final extracted doorway boundary point cloud for each floor. First, for the final doorway boundary point cloud of each floor, the average value of the three-dimensional coordinates of all boundary points is calculated, and the average value is determined as the centroid of the doorway boundary point cloud of that floor. Since the final doorway boundary point cloud of the target floor can be formed by the initial extraction result and the secondary extraction result, all the doorway boundary points finally retained for that floor are used when calculating the centroid.

[0074] Then, a local coordinate system for the doorway is established with the centroid as the origin. One coordinate direction of the local coordinate system can be determined based on the normal direction of the front wall plane, and is used to represent the normal direction of the plane where the doorway is located; the other two mutually orthogonal coordinate directions are located in the plane where the doorway is located, and are used to represent the width and height directions of the doorway. The points in the boundary point cloud of the doorway are transformed to the local coordinate system, and the two coordinate components of each point in the plane where the doorway is located are retained, resulting in a two-dimensional point cloud.

[0075] Principal component analysis (PCA) is performed on the 2D point cloud. Specifically, the covariance matrix is ​​calculated based on the coordinates of each point in the 2D point cloud, and eigenvalue decomposition is performed on the covariance matrix to obtain two eigenvectors and their corresponding eigenvalues. The principal and secondary directions are determined based on the magnitude of the eigenvalues, where the eigenvector with the larger eigenvalue corresponds to the principal direction, and the eigenvector with the smaller eigenvalue corresponds to the secondary direction. The angles between the principal and secondary directions and the vertical direction of the elevator shaft are determined, and the direction with the smaller angle is determined as the height direction of the doorway, while the other direction is determined as the width direction of the doorway.

[0076] Project each point in the 2D point cloud onto the height and width directions to obtain the projected coordinates of each point in both directions. For the height direction, determine the maximum and minimum values ​​of all projected coordinates, and take the difference between them as the doorway height; similarly, for the width direction, determine the maximum and minimum values ​​of the projected coordinates, and take the difference as the doorway width. This yields the doorway dimensions for the corresponding floor.

[0077] By performing the above processing on each floor, the width and height of the doorways corresponding to each floor in the elevator shaft can be obtained. Using the final doorway boundary point cloud for size calculation allows obscured floors to participate in the size calculation using the boundary information obtained from the secondary extraction, reducing size deviations caused by missing boundary point clouds.

[0078] To clearly illustrate the method for obtaining shaft structure parameters of the present invention, specific embodiments are described below: This embodiment uses the elevator shaft of a high-rise residential building under construction as the measurement object. The total height of the shaft is 85.6 meters, with 28 floors, and the designed inner diameter is 2200 mm wide and 2200 mm deep. At the time of measurement, the elevator had not yet been installed, safety nets were installed at the doorways of each floor, and temporary supports existed within the shaft. Figure 2 As shown, it includes the following steps: S201: Acquire and preprocess shaft point cloud.

[0079] A handheld lidar was used to scan along the inner wall of the shaft to acquire a 3D point cloud. Point clouds acquired at different scanning locations were registered and downsampled using voxel filtering to obtain a shaft point cloud in a unified coordinate system.

[0080] S202: Determine the centroid of the wellbore point cloud.

[0081] The centroid of the point cloud is calculated based on the three-dimensional coordinates of each point in the filtered wellbore point cloud. In this embodiment, the centroid coordinates are (-0.52, 4.31, 42.80), in meters.

[0082] S203: Extract the inner wall plane of the wellbore.

[0083] Using the centroid of the shaft point cloud as a reference, the RANSAC algorithm is used to extract the right wall plane, left wall plane, rear wall plane and front wall plane from the shaft point cloud in sequence, and the corresponding shaft inner wall is determined according to the normal direction and spatial position of each plane.

[0084] S204: Calculate shaft dimensions.

[0085] The vertical distances from the centroid of the point cloud to the left, right, rear, and front wall planes are calculated respectively. In this embodiment, the four distances are 1102 mm, 1095 mm, 1098 mm, and 1105 mm, respectively. Based on this, the shaft width is calculated to be 2197 mm and the shaft depth to be 2203 mm.

[0086] S205: Extract the boundaries of doorways on each floor.

[0087] Boundary points are extracted from the point cloud corresponding to the front wall plane, and the boundary points are clustered and segmented. Specifically, the K-nearest neighbor search algorithm is used to extract boundary points from the point cloud corresponding to the front wall plane; the density clustering algorithm is used to cluster and segment the boundary points; the floor corresponding to each cluster is determined according to the arrangement position of each cluster in the vertical direction of the shaft; and the clusters corresponding to the same floor are determined as the doorway boundary point cloud of that floor.

[0088] S206: Determine if there is a target floor whose boundary point cloud extraction is incomplete.

[0089] First, principal component analysis is performed on the point cloud of the doorway boundary on each floor to determine the principal and secondary directions. Then, based on the angles between the principal and secondary directions and the vertical direction of the elevator shaft, the height and width directions of the doorway are determined.

[0090] Calculate the projection length coverage of the doorway boundary point cloud for each floor in both the width and height directions, and calculate the maximum spatial straight-line distance between adjacent boundary points. When the projection length coverage in both the width and height directions is not lower than a preset coverage threshold, and the maximum spatial straight-line distance is not greater than a preset gap length threshold, the doorway boundary point cloud for the corresponding floor is determined to be complete, and the first extracted doorway boundary point cloud for that floor is recorded. When the projection length coverage in either direction is lower than a preset coverage threshold, or the maximum spatial straight-line distance is greater than a preset gap length threshold, the doorway boundary point cloud for the corresponding floor is determined to be incomplete, and the corresponding floor is identified as the target floor. Then, proceed to S207 to extract the doorway boundary point cloud for the target floor again.

[0091] After determining all floors, if the target floor does not exist, proceed to step S208; if the target floor exists, proceed to step S207.

[0092] In this embodiment, the boundary point clouds of the doorways on the 1st, 2nd, and 4th to 28th floors meet the integrity requirements; the doorway on the 3rd floor is blocked by the safety net, and the boundary point cloud has a large gap, so it is identified as the target floor.

[0093] S207: Perform secondary boundary extraction on the target floor.

[0094] From the remaining point cloud after extracting multiple inner wall planes, the point cloud corresponding to the height range of the third layer is selected, and outliers and low-density noise points are filtered out to obtain the filtered remaining point cloud. Subsequently, the K-nearest neighbor search algorithm is used to extract the corresponding doorway boundary points of the third layer from the filtered remaining point cloud, and the newly extracted boundary points are clustered and segmented using a density clustering algorithm to obtain the secondary doorway boundary point cloud of the third layer.

[0095] S208: Forms the final point cloud of the doorway boundary.

[0096] For floors where the doorway boundary point cloud is fully extracted, the first extracted doorway boundary point cloud is used as the final doorway boundary point cloud for that floor. For target floors, the secondary doorway boundary point cloud is merged with the first extracted doorway boundary point cloud to fill in the missing boundaries in the first extraction result, thus obtaining the final doorway boundary point cloud for the target floor. In this embodiment, the secondary doorway boundary point cloud of the third floor is used to fill in the missing boundaries in the first extraction result, resulting in the final doorway boundary point cloud of the third floor. For other floors, the first extracted doorway boundary point cloud is directly used as the final doorway boundary point cloud.

[0097] S209: Calculate the door opening dimensions.

[0098] A local coordinate system is established for the final doorway boundary point clouds obtained for each floor, and the doorway boundary point clouds are projected onto the front wall plane to obtain a two-dimensional point cloud. Principal component analysis is performed on the two-dimensional point cloud to determine the principal and secondary directions. Based on the angles between the principal and secondary directions and the vertical direction of the elevator shaft, the height and width directions of the doorway are determined. The projection range of the boundary point cloud in the width and height directions is calculated separately, and the projection range is determined as the doorway width and doorway height. In this embodiment, the doorway width on the 3rd floor is 880 mm and the doorway height is 2150 mm. The doorway dimensions for other floors are calculated in the same way.

[0099] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0100] Reference Figure 3 The diagram illustrates an electronic device according to an embodiment of the present invention. Figure 3 As shown, the electronic device in this embodiment of the invention includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps described in the above-described method embodiment for obtaining well shaft structure parameters.

[0101] For example, a computer program can be divided into one or more modules, one or more of which are stored in memory and executed by a processor to complete this application. The one or more modules can be a series of computer program instruction segments capable of performing a specific function, which can be used to describe the execution process of the computer program in an electronic device.

[0102] Electronic devices can be computing devices such as desktop computers and cloud servers. Electronic devices may include, but are not limited to, processors and memory. Those skilled in the art will understand that... Figure 3 This is merely one example of an electronic device and does not constitute a limitation on the electronic device. It may include more or fewer components than shown, or combine certain components, or different components. For example, an electronic device may also include input / output devices, network access devices, buses, etc.

[0103] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0104] Memory can be an internal storage unit of an electronic device, such as a hard drive or RAM. Memory can also be an external storage device, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, Flash Card, etc. Furthermore, memory can include both internal and external storage units. Memory is used to store computer programs and other programs and data required by the electronic device. Memory can also be used to temporarily store data that has been output or will be output.

[0105] This invention also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the wellbore structure parameter acquisition method as described in the foregoing embodiments.

[0106] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for obtaining shaft structure parameters, characterized in that, include: Obtain the point cloud of the elevator shaft; Multiple inner wall planes of the elevator shaft are extracted from the shaft point cloud, including the front wall plane corresponding to the elevator door opening; The dimensions of the elevator shaft are determined based on the spatial relationship between the inner wall planes and the centroid of the shaft point cloud. Extract the point cloud of the doorway boundary of each floor from the point cloud corresponding to the front wall plane; Based on the doorway boundary point cloud extracted from each floor, the target floor whose doorway boundary point cloud is incomplete is determined, and the doorway boundary point cloud of the target floor is extracted from the remaining point cloud after extracting the multiple inner wall planes. Based on the final extracted point cloud of the doorway boundaries for each floor, the doorway dimensions for each floor are determined.

2. The method according to claim 1, characterized in that, The plurality of inner wall planes further includes a left wall plane, a right wall plane, and a rear wall plane; the extraction of the plurality of inner wall planes from the wellbore point cloud includes: Using the centroid of the wellbore point cloud as a reference, the left wall plane, the right wall plane, the rear wall plane, and the front wall plane are sequentially segmented and extracted from the wellbore point cloud using a random sampling consensus algorithm.

3. The method according to claim 2, characterized in that, Determining the elevator shaft dimensions based on the spatial relationship between the centroids of the inner wall planes and the shaft point cloud includes: Determine the vertical distances from the centroid of the well point cloud to the left wall plane, the right wall plane, the front wall plane, and the rear wall plane, respectively; The width of the shaft is determined by the sum of the vertical distances from the centroid to the left wall plane and the right wall plane, and the depth of the shaft is determined by the sum of the vertical distances from the centroid to the front wall plane and the rear wall plane.

4. The method according to claim 1, characterized in that, The step of extracting the doorway boundary point cloud of each floor from the point cloud corresponding to the front wall plane includes: Boundary points are extracted from the point cloud corresponding to the front wall plane using the K-nearest neighbor search algorithm; The boundary points are clustered and segmented using a density clustering algorithm, and the boundary point cloud of the doorway corresponding to each floor is determined based on the vertical arrangement of each cluster.

5. The method according to claim 4, characterized in that, The step of extracting boundary points from the point cloud corresponding to the front wall plane using the K-nearest neighbor search algorithm includes: For a given point in the point cloud corresponding to the front wall plane, determine multiple nearest neighbor points of the current point; Project each of the nearest neighbor points onto a local tangent plane with the normal vector of the current point as its normal direction; The maximum angular gap is determined based on the angular distribution of each projection point within the local tangent plane. If the maximum angular gap is greater than a preset angular threshold, the current point is determined as a boundary point.

6. The method according to claim 1, characterized in that, The step of determining the target floor where the doorway boundary point cloud extraction is incomplete, based on the doorway boundary point cloud extracted from each floor, includes: Principal component analysis was performed on the point clouds of the doorway boundaries of each floor to determine the principal and secondary directions; The angles between the main direction and the secondary direction and the vertical direction of the elevator shaft are determined respectively. The direction with the smaller angle between the main direction and the secondary direction is determined as the height direction of the doorway, and the other direction is determined as the width direction of the doorway. Determine the projection length coverage of the point cloud of door openings on each floor in the width and height directions, and the maximum spatial straight-line distance between adjacent boundary points in the point cloud of door openings on each floor; If at least one of the projected length coverage rates is lower than the corresponding preset coverage threshold, or if the maximum spatial straight distance is greater than the preset gap length threshold, the corresponding floor will be determined as the target floor.

7. The method according to claim 6, characterized in that, The step of extracting the doorway boundary point cloud of the target floor from the remaining point cloud retained after extracting the multiple inner wall planes includes: The remaining point cloud is subjected to noise filtering to obtain the filtered remaining point cloud; The K-nearest neighbor search algorithm is used to extract the secondary boundary point cloud corresponding to the target floor from the filtered remaining point cloud. The secondary boundary point cloud is clustered and segmented using a density clustering algorithm to obtain the doorway boundary point cloud of the target floor.

8. The method according to claim 1, characterized in that, The process of determining the doorway dimensions for each floor based on the final extracted doorway boundary point cloud includes: Determine the centroid of the final extracted point cloud of doorway boundaries for each floor; A local coordinate system for the doorway is established with the centroid as the origin, and the point cloud of the doorway boundary is projected onto the local coordinate system of the doorway. Principal component analysis is performed on the two-dimensional point cloud obtained by projection to determine the principal direction and the secondary direction. The angles between the principal direction and the secondary direction and the vertical direction of the elevator shaft are determined respectively. The direction with the smaller angle between the principal direction and the secondary direction is determined as the height direction of the doorway, and the other direction is determined as the width direction of the doorway. Calculate the projection range of the two-dimensional point cloud along the height direction and the width direction respectively, and determine the door opening size of the corresponding floor door opening based on the projection range.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the wellbore structure parameter acquisition method as described in any one of claims 1-8.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the wellbore structure parameter acquisition method as described in any one of claims 1-8.