Method, device, equipment and medium for calculating geological occurrence information based on point cloud
Through the geological production information calculation method based on point cloud, color extraction, sparseness and principal component analysis processing are used to solve the problem of low efficiency in obtaining information in the internal crack surface of the tunnel, and automatic and accurate geological production information measurement is realized, reducing the number of results of the geological production information. labor costs.
Patent Information
- Application Number
- CN202411192409.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The prior art is difficult to quickly and effectively obtain geological production information of the crack surface inside the tunnel, resulting in high cost of manual measurement, low efficiency and insufficient accuracy.
Using the geological status information calculation method based on point cloud, the initial point cloud data set is obtained for color extraction and sparse processing, the true color model is reconstructed, and the plane data is fitted using principal component analysis method to calculate the geological status of the tunnel crack surface. information.
It realizes automatic, efficient and accurate calculation of geological production information of the crack surface inside the tunnel, reducing labor costs, improving measurement efficiency and maintaining better calculation accuracy.
Smart Images

Figure CN118736153B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of laser radar point cloud data processing, and in particular to a method and device, equipment, and medium for calculating geological occurrence information based on point clouds. Background Art
[0002] The cracks in the tunnel will extend outward to form crack surfaces, which are one of the main factors affecting the safety and stability of the tunnel. Therefore, it is necessary to obtain the geological information of the crack surface of the tunnel for the subsequent tunnel safety assessment and analysis.
[0003] In the related technology, the methods of obtaining geological occurrence information of structural surfaces include: compass measurement method, photogrammetry method, and three-dimensional laser scanning method. It is understandable that the traditional method of obtaining geological occurrence information of tunnel crack surfaces is to rely on on-site contact measurement with an artificial geological compass. However, this method has many problems such as great personal safety hazards, low measurement efficiency, high labor intensity, and difficulty in meeting the requirements of rapid construction. With the rapid development of computer and other technologies, the measurement method of tunnel structural surfaces has also made breakthroughs, and non-contact measurement methods have been widely used. Non-contact measurement methods include: photogrammetry method and three-dimensional laser scanning method. Scholars have done a lot of research on photogrammetry methods, such as: interpreting the occurrence information of rock structural surfaces through ordinary digital cameras combined with VirtuoZo, but the processing efficiency needs to be improved; proposing an improved camera posture acquisition method to obtain structural surface occurrence information through a binocular camera system; obtaining three-dimensional morphological data of structural surfaces through digital close-range photogrammetry technology, etc. These methods all use photography technology to obtain structural surface data, but in the tunnel environment, the light quality is poor and the crack surface of the tunnel is hidden. The structural surface data acquisition method based on photography technology cannot fully exert its effect and the acquisition method is relatively complicated. With the development of 3D laser scanning technology, it has become easier to obtain structural surface data, and 3D laser scanning technology has been gradually applied to tunnel scanning and analysis. Scholars have also done a lot of research on 3D laser scanning methods, such as: using 3D laser scanning technology to identify rock structural surfaces in horizontal tunnels, etc.; but the laser cannot directly obtain the crack surface inside the tunnel. Therefore, how to reduce labor costs and efficiently obtain geological occurrence information of crack surfaces inside tunnels is an urgent problem to be solved. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a method and device, equipment, and medium for calculating geological occurrence information based on point cloud, which can automatically, efficiently, and accurately calculate the geological occurrence information of the crack surface inside the tunnel based on point cloud data, thereby reducing labor costs, improving the measurement efficiency of geological occurrence information, and maintaining better calculation accuracy.
[0005] In a first aspect, an embodiment of the present application provides a method for calculating geological occurrence information based on point clouds, comprising:
[0006] Obtaining an initial first point cloud data set of the tunnel crack surface;
[0007] Performing color extraction processing and point cloud sparse processing on the first point cloud data set to obtain a sparse color point cloud and a non-color point cloud;
[0008] Performing model reconstruction processing according to the sparse color point cloud and the non-color point cloud to obtain a true color model;
[0009] Selecting a second point cloud data set from the true color model according to the crack orientation;
[0010] Performing structural surface fitting processing on the second point cloud data set based on a principal component analysis method to obtain fitting plane data;
[0011] Information calculation and processing are performed based on the fitted plane data to obtain geological occurrence information of the tunnel crack surface.
[0012] According to some embodiments of the present application, performing structural surface fitting processing on the second point cloud data set based on the principal component analysis method to obtain fitting plane data includes:
[0013] After centralizing all point clouds in the second point cloud data set, a centralized third point cloud data set is obtained; wherein the second point cloud data set is represented in matrix form, and the second point cloud data set is: ;in, is the point cloud coordinate in the second point cloud data set; i is the number of selected points;
[0014] Performing covariance matrix conversion processing on the centralized third point cloud data set to obtain a covariance matrix;
[0015] Decomposing the covariance matrix to obtain multiple eigenvalues;
[0016] After sorting the multiple eigenvalues from largest to smallest, select the first eigenvalue and the second eigenvalue that are ranked first two;
[0017] The first eigenvalue and the second eigenvalue are combined to obtain the fitting plane data.
[0018] According to some embodiments of the present application, performing color extraction processing and point cloud sparse processing on the first point cloud data set to obtain sparse color point cloud and non-color point cloud includes:
[0019] According to a preset color extraction condition, color extraction processing is performed on the first point cloud data set to obtain a color point cloud and a non-color point cloud;
[0020] Point cloud thinning processing is performed on the color point cloud and the non-color point cloud respectively to obtain a thinned color point cloud and a non-color point cloud.
[0021] According to some embodiments of the present application, when the target color to be extracted is red, the preset color extraction conditions include:
[0022] ;
[0023] in, is the red component, is the green component, is the blue component, is the first threshold, is the second threshold, () is the absolute value function.
[0024] According to some embodiments of the present application, the geological occurrence information includes: inclination; the information calculation and processing based on the fitting plane data to obtain the geological occurrence information of the tunnel crack surface includes:
[0025] In a preset spatial rectangular coordinate system, a structural surface normal vector of the tunnel crack surface is determined according to the fitting plane data, and a normal unit vector in the positive direction of a horizontal plane is determined; wherein the horizontal plane is determined by a horizontal axis and a vertical axis of the spatial rectangular coordinate system;
[0026] The inclination angle is obtained by performing a dot multiplication operation and an arc cosine function calculation on the structural surface normal vector and the normal unit vector; the inclination angle is used to indicate the angle between the structural surface of the tunnel crack surface and the horizontal plane.
[0027] According to some embodiments of the present application, the geological occurrence information includes: inclination; the information calculation and processing based on the fitting plane data to obtain the geological occurrence information of the tunnel crack surface also includes:
[0028] obtaining the inclination angle;
[0029] When the inclination angle is an acute angle, the projection of the structural surface normal vector on the horizontal plane is determined as the inclination; wherein the inclination is used to indicate the direction indicated by the projection of the inclination line of the structural surface of the tunnel crack surface on the horizontal plane.
[0030] According to some embodiments of the present application, the geological occurrence information includes: strike; the information calculation and processing based on the fitted plane data to obtain the geological occurrence information of the tunnel crack surface includes:
[0031] acquiring the projection;
[0032] The cross product calculation is performed on the normal vector of the structural surface and the projection to obtain the strike direction; the strike direction is used to indicate the extension direction of the intersection line between the structural surface of the tunnel crack surface and the horizontal plane.
[0033] In a second aspect, an embodiment of the present application provides a point cloud-based geological occurrence information calculation device, comprising at least one processor and a memory for communicating with the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the point cloud-based geological occurrence information calculation method as described in any one of the embodiments of the first aspect.
[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a point cloud-based geological occurrence information calculation device as described in the embodiment of the second aspect.
[0035] In a fourth aspect, an embodiment of the present application provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a point cloud-based geological occurrence information calculation method as described in any one of the embodiments of the first aspect.
[0036] The embodiment of the present application includes: in the process of calculating the geological occurrence information of the tunnel crack surface, a geological occurrence information calculation device based on point cloud is used. First, the initial first point cloud data set of the tunnel crack surface is obtained. Then, the first point cloud data set is subjected to color extraction processing and point cloud sparse processing to obtain sparse color point cloud and non-color point cloud; in this way, the amount of point cloud data is significantly reduced, which is conducive to reducing the amount of calculation in subsequent processing, improving data processing efficiency, and thus facilitating the measurement efficiency of geological occurrence information. Then, model reconstruction processing is performed based on the sparse color point cloud and non-color point cloud to obtain a true color model; in this way, color information is retained, laying a data foundation for subsequent structural surface fitting processing. Then, a second point cloud data set is selected from the true color model according to the crack direction. Then, the second point cloud data set is subjected to structural surface fitting processing based on the principal component analysis method to obtain fitting plane data. Finally, information calculation processing is performed based on the fitting plane data to obtain the geological occurrence information of the tunnel crack surface; in this way, the geological occurrence information of the crack surface inside the tunnel is automatically and efficiently calculated. That is to say, the solution of the embodiment of the present application can automatically, efficiently and accurately calculate the geological occurrence information of the crack surface inside the tunnel based on point cloud data, thereby reducing labor costs, improving the measurement efficiency of geological occurrence information, and maintaining better calculation accuracy.
[0037] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained through the structures particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0039] Figure 1 It is a flowchart of a method for calculating geological occurrence information based on point clouds provided by an embodiment of the present application;
[0040] Figure 2 This is an embodiment of the present application. Figure 1 A flowchart of a specific method of step S150;
[0041] Figure 3 It is a schematic diagram of the structural surface of a tunnel crack surface provided by an embodiment of the present application;
[0042] Figure 4 is a schematic diagram of geological occurrence information obtained by calculation provided by an embodiment of the present application;
[0043] Figure 5 This is a schematic diagram comparing the results of manual measurement and a method for calculating geological occurrence information provided by an embodiment of the present application;
[0044] Figure 6 It is a structural schematic diagram of a geological occurrence information calculation device based on point cloud provided by an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0046] It should be understood that in the description of the present application, the orientation descriptions, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0047] It should be noted that although a logical order is shown in the flowchart in the description of the present application, in some cases, the steps shown or described may be performed in an order different from that in the flowchart. In the description of the present application, a number of means one or more, and a plurality of means two or more. The description of "first" and "second" is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0049] The present application discloses a method for calculating geological occurrence information based on point cloud, a geological occurrence information calculation device based on point cloud, an electronic device, and a storage medium; the method comprises: obtaining an initial first point cloud data set of a tunnel crack surface; performing color extraction processing and point cloud sparse processing on the first point cloud data set to obtain a sparse color point cloud and a non-color point cloud; performing model reconstruction processing on the sparse color point cloud and the non-color point cloud to obtain a true color model; selecting a second point cloud data set from the true color model according to the crack direction; performing structural surface fitting processing on the second point cloud data set based on the principal component analysis method to obtain fitting plane data; performing information calculation processing on the fitting plane data to obtain the geological occurrence information of the tunnel crack surface. The method can automatically, accurately, and efficiently obtain the geological occurrence information of the crack surface inside the tunnel based on the point cloud data, thereby reducing labor costs, improving the measurement efficiency of geological occurrence information, and maintaining a good calculation accuracy.
[0050] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0051] First, as Figure 1 As shown, the method for calculating geological occurrence information based on point cloud may include but is not limited to steps S110 to S160.
[0052] Step S110: Acquire an initial first point cloud data set of the tunnel crack surface.
[0053] Step S120: performing color extraction processing and point cloud thinning processing on the first point cloud data set to obtain a thinned color point cloud and a non-color point cloud.
[0054] Step S130: Perform model reconstruction processing based on the sparse color point cloud and non-color point cloud to obtain a true color model.
[0055] Step S140: selecting a second point cloud data set from the true color model according to the crack orientation.
[0056] Step S150: performing structural surface fitting processing on the second point cloud data set based on the principal component analysis method to obtain fitting plane data.
[0057] Step S160: performing information calculation and processing based on the fitted plane data to obtain geological occurrence information of the tunnel crack surface.
[0058] It should be noted that the first point cloud data set in step S110 for:
[0059] ;in, is the point cloud coordinates in the first point cloud dataset.
[0060] In one embodiment, the model reconstruction process in step S130 uses a Ball Pivoting algorithm. Specifically, step S130 includes: after obtaining the sparse color point cloud and the non-color point cloud in step S120, using the Ball Pivoting algorithm to perform true color model reconstruction on the sparse color point cloud and the non-color point cloud to obtain a true color model.
[0061] It should be noted that Ball Pivoting is an algorithm for 3D point cloud reconstruction. The Ball Pivoting method is insensitive to the selection of the initial point and can process point cloud data with high noise. It can also process point clouds of different sizes and shapes with good flexibility. The Ball Pivoting method is highly efficient and can process large-scale point cloud data.
[0062] It can be understood that in step S130, reconstructing the true color model by using the rolling ball method is beneficial to maintaining the color information in the point cloud and processing large-scale point cloud data; the rolling ball method can be automatically executed to reduce manual processing, which is beneficial to improving the calculation efficiency of the overall geological occurrence information.
[0063] It can be understood that step S140 prepares data for subsequent structural surface fitting processing based on the principal component analysis method.
[0064] It can be understood that the fitting plane is equivalent to the crack structure surface. Calculating the geological occurrence information of the crack structure surface can accurately describe the geological occurrence information of the tunnel response crack surface, so as to reduce labor costs and improve measurement efficiency.
[0065] Through step S110 to step S160, in the process of calculating the geological occurrence information of the tunnel crack surface, a geological occurrence information calculation device based on point cloud is used. First, the initial first point cloud data set of the tunnel crack surface is obtained. Then, the first point cloud data set is subjected to color extraction processing and point cloud sparse processing to obtain sparse color point cloud and non-color point cloud; in this way, the amount of point cloud data is significantly reduced, which is conducive to reducing the amount of calculation in subsequent processing and improving data processing efficiency, thereby facilitating the improvement of the measurement efficiency of geological occurrence information. Then, model reconstruction processing is performed based on the sparse color point cloud and non-color point cloud to obtain a true color model; in this way, color information is retained, laying a data foundation for subsequent structural surface fitting processing. Then, a second point cloud data set is selected from the true color model according to the crack direction. Then, the second point cloud data set is subjected to structural surface fitting processing based on the principal component analysis method to obtain fitting plane data. Finally, information calculation and processing are performed based on the fitted plane data to obtain the geological occurrence information of the crack surface of the tunnel; in this way, the geological occurrence information of the crack surface inside the tunnel can be automatically and efficiently calculated. That is to say, the scheme of the embodiment of the present application can automatically, efficiently and accurately calculate the geological occurrence information of the crack surface inside the tunnel based on the point cloud data, thereby reducing labor costs, improving the measurement efficiency of geological occurrence information, and maintaining better calculation accuracy.
[0066] It is understandable that there is currently little research on the calculation of tunnel crack surface occurrence information, and laser cannot directly obtain the crack surface inside the tunnel. In response to this situation, an embodiment of the present application provides a method that can robustly describe the crack surface inside the tunnel.
[0067] According to some embodiments of the present application, step S120 is further described. Step S120: color extraction processing and point cloud thinning processing are performed on the first point cloud data set to obtain a sparse color point cloud and a non-color point cloud, including but not limited to steps S121 to S122.
[0068] Step S121: performing color extraction processing on the first point cloud data set according to preset color extraction conditions to obtain a color point cloud and a non-color point cloud.
[0069] Step S122: performing point cloud thinning processing on the color point cloud and the non-color point cloud respectively to obtain the thinned color point cloud and the non-color point cloud.
[0070] According to some embodiments of the present application, step S121 is further described. When the extracted target color is red, the preset color extraction conditions include:
[0071] ;
[0072] in, is the red component, is the green component, is the blue component, is the first threshold, is the second threshold, () is the absolute value function.
[0073] It is understandable that green and blue can be extracted based on the same extraction method.
[0074] Specifically, when the target color to be extracted is green, the preset color extraction conditions include:
[0075] .
[0076] Specifically, when the target color to be extracted is blue, the preset color extraction conditions include:
[0077] .
[0078] in, is the red component, is the green component, is the blue component, is the first threshold, is the second threshold, () is the absolute value function.
[0079] It should be noted that those skilled in the art may set the values of the first threshold and the second threshold based on actual color extraction needs, and the embodiments of the present application do not impose specific restrictions on the values of the first threshold and the second threshold.
[0080] It should be noted that sparse point cloud data refers to reducing the number of points in the point cloud while retaining important features and structural information of the point cloud as much as possible. The sparse processing in step S122 can improve data processing efficiency, reduce storage requirements, and accelerate subsequent analysis and processing processes.
[0081] Through step S121 to step S122, the appropriate first threshold and second threshold are selected as the filtering threshold, and after the color information is extracted, the extracted color point cloud and non-color point cloud are thinned, so that the amount of point cloud data is significantly reduced, which is conducive to reducing the amount of calculation in subsequent processing and improving data processing efficiency, thereby facilitating improving the measurement efficiency of geological occurrence information. In addition, the amount of storage space required is also significantly reduced.
[0082] According to some embodiments of the present application, Figure 2 , further illustrating step S150, which is: performing structural surface fitting processing on the second point cloud data set based on the principal component analysis method to obtain fitting plane data, which may include but is not limited to steps S151 to S155.
[0083] Step S151: After centralizing all point clouds in the second point cloud data set, a centralized third point cloud data set is obtained. The second point cloud data set is represented in matrix form, and the second point cloud data set is: ;in, is the point cloud coordinate in the second point cloud dataset; i is the number of selected points.
[0084] Step S152: performing covariance matrix conversion processing on the centralized third point cloud data set to obtain a covariance matrix.
[0085] Step S153: Decomposing the covariance matrix to obtain multiple eigenvalues.
[0086] Step S154: sort the multiple eigenvalues from largest to smallest, and select the first eigenvalue and the second eigenvalue that are ranked at the top two.
[0087] Step S155: Combine the first eigenvalue and the second eigenvalue to obtain fitting plane data.
[0088] It should be noted that the principal component analysis (PCA) method is a statistical method mainly used for dimensionality reduction and data visualization. The principal component analysis method can effectively transform high-dimensional data sets into low-dimensional space, reduce the complexity of the data, and identify the main change directions in the data. These directions (i.e., principal components) can be used as new features in subsequent analysis.
[0089] It should be noted that the second point cloud data set is represented in matrix form. To further explain step S151, centralizing the second point cloud data set means: for each point cloud in the second point cloud data set, determining the centroid coordinates of each point, and then subtracting the centroid coordinates of each point cloud from its coordinates, thereby centralizing each point cloud.
[0090] It is understandable that in step S152, the data processed by centralization is easier to analyze and process, which is helpful to reduce the computational complexity; in some algorithms, such as the principal component analysis (PCA) algorithm, centralizing the data can reduce the amount of data. And using a centralized data set can improve the performance and accuracy of the algorithm.
[0091] In some embodiments, step S152 is further described, wherein calculating the covariance matrix is very important for understanding the distribution characteristics of the point cloud data and is used in multivariate analysis methods such as principal component analysis (PCA). It is understood that the covariance matrix of the centralized third point cloud data set is It can provide information about the distribution of point clouds in different directions. middle, is a matrix The transpose of .
[0092] In some embodiments, step S153 is further described. Specifically, decomposing the covariance matrix includes: eigenvalue decomposition. In the principal component analysis (PCA) method, eigenvalue decomposition can be used to identify the main direction of change of the data. The eigenvector corresponding to the larger eigenvalue represents the main direction of data change. Decomposing the covariance matrix by step S153 can provide important information about the internal structure of the covariance matrix.
[0093] Through step S154 to step S155, the first two largest eigenvalues are selected, and the two eigenvalues form a fitting plane. The fitting plane can be regarded as the crack structure plane, that is, the fitting plane data is obtained.
[0094] The embodiment of the present application uses the principal component analysis method to fit the plane data of the second point cloud data set through steps S151 to S155, thereby laying a reliable data foundation for the subsequent calculation of the geological occurrence information of the tunnel crack surface.
[0095] It is understandable that geological occurrence information includes: dip, inclination, and strike. Figure 4 , further illustrating step S160.
[0096] According to some embodiments of the present application, when calculating the dip in the geological occurrence information, step S160: performing information calculation processing according to the fitted plane data to obtain the geological occurrence information of the tunnel crack surface includes:
[0097] Step S161: In a preset spatial rectangular coordinate system, determine the structural surface normal vector of the tunnel crack surface according to the fitted plane data, and determine the positive normal unit vector of the horizontal plane; wherein the horizontal plane is determined by the horizontal axis and the vertical axis of the spatial rectangular coordinate system.
[0098] Step S162: Perform dot multiplication and arccosine function calculation on the structural surface normal vector and the normal unit vector to obtain the inclination angle; the inclination angle is used to indicate the angle between the structural surface of the tunnel crack surface and the horizontal plane.
[0099] Specifically, the structural surface normal vector of the tunnel crack surface is recorded as ; The normal unit vector of the positive direction of the horizontal plane The unit vector in the positive direction of the axis is denoted by ;inclination That is, the structural surface normal vector and The angle between the axes, through the structural surface normal vector and The inclination angle is calculated by multiplying the unit vector in the positive direction of the axis. : .
[0100] According to some embodiments of the present application, when calculating the inclination in the geological occurrence information, step S160: performing information calculation processing according to the fitted plane data to obtain the geological occurrence information of the tunnel crack surface also includes:
[0101] Step S163: obtaining the inclination angle;
[0102] Step S164: When the inclination angle is an acute angle, the projection of the normal vector of the structural surface on the horizontal plane is determined as the inclination; wherein the inclination is used to indicate the direction indicated by the projection of the inclination line of the structural surface of the tunnel crack surface on the horizontal plane.
[0103] Specifically, it can be understood that the inclination is the direction indicated by the projection of the inclined line of the structural surface on the horizontal plane. Solving by normal vector requires that the normal vector and The angle between the positive direction of the axis and the normal vector that meets the conditions is Projection on a plane (i.e. horizontal plane) That is the tendency.
[0104] According to some embodiments of the present application, when calculating the strike direction in the geological occurrence information, step S160: performing information calculation processing according to the fitted plane data to obtain the geological occurrence information of the tunnel crack surface also includes:
[0105] Step S164: obtaining a projection;
[0106] Step S165: perform cross product calculation on the structural surface normal vector and the projection to obtain the strike direction; the strike direction is used to indicate the extension direction of the intersection line between the structural surface of the tunnel crack surface and the horizontal plane.
[0107] Specifically, according to the structural surface normal vector With projection The cross product result of gets the direction information as follows:
[0108] .
[0109] Through the above steps S161 to S165, based on the definitions of dip, inclination and strike and the fitted plane data, the dip, inclination and strike are automatically and accurately calculated to determine the geological occurrence information of the tunnel crack surface.
[0110] Take an example, combined with Figure 3 and Figure 4 Further understanding of the geological occurrence information calculation results based on point cloud provided by the embodiment of the present application. Taking a geological tunnel project as an example, Figure 2The structural surface of the tunnel crack surface is shown; in the process of calculating the geological occurrence information of the tunnel crack surface, the geological occurrence information calculation method based on the point cloud provided in the embodiment of the present application is adopted to obtain the following Figure 3 The geological occurrence information shown; among them, For the tendency, Towards, is the inclination angle.
[0111] It should be noted that the calculation results of the geological occurrence information calculation method based on point cloud provided in the embodiment of the present application are partially compared with the manual measurement results. Figure 5 As shown; Figure 5 The meaning of the data in the table is:
[0112] Strike ∠ inclination. It can be seen that the error between the algorithm calculation results provided by the present application and the manual measurement results is within 5°, and the calculated geological occurrence information results are also relatively accurate; it can be seen that the point cloud-based geological occurrence information calculation method provided in the embodiment of the present application reduces labor costs and improves the measurement efficiency of geological occurrence information while maintaining better calculation accuracy. It should be noted that through verification,
[0113] like Figure 6 As shown, Figure 6 Schematic diagram of a geological occurrence information calculation device based on point cloud provided by an embodiment of the present invention. The present invention also provides a geological occurrence information calculation device 600 based on point cloud, comprising:
[0114] The processor 601 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0115] The memory 602 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 602 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 602, and the processor 601 calls and executes the method for calculating geological occurrence information based on point cloud in the embodiment of this application;
[0116] Input / output interface 603, used to implement information input and output;
[0117] Communication interface 604, used to realize communication interaction between the present apparatus and other devices, which can be realized by wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.);
[0118] A bus 605 that transmits information between various components of the device (e.g., processor 601, memory 602, input / output interface 603, and communication interface 604);
[0119] The processor 601 , the memory 602 , the input / output interface 603 and the communication interface 604 are connected to each other in communication within the device via a bus 605 .
[0120] In a third aspect, an embodiment of the present application provides an electronic device, including a point cloud-based geological occurrence information calculation device as described in the above-mentioned second aspect embodiment.
[0121] In a fourth aspect, an embodiment of the present application provides a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a point cloud-based geological occurrence information calculation method such as any one of the above-mentioned first aspect embodiments.
[0122] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0123] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0124] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the present application.
Claims
1. A method for calculating geological occurrence information based on point cloud, characterized in that: include: Obtaining an initial first point cloud data set of the tunnel crack surface; Performing color extraction processing and point cloud sparse processing on the first point cloud data set to obtain a sparse color point cloud and a non-color point cloud; Performing model reconstruction processing according to the sparse color point cloud and the non-color point cloud to obtain a true color model; the model reconstruction processing adopts a rolling ball method; Selecting a second point cloud data set from the true color model according to the crack orientation; Performing structural surface fitting processing on the second point cloud data set based on a principal component analysis method to obtain fitting plane data; Performing information calculation and processing according to the fitted plane data to obtain geological occurrence information of the tunnel crack surface; The performing color extraction processing and point cloud sparse processing on the first point cloud data set to obtain sparse color point cloud and non-color point cloud includes: According to a preset color extraction condition, color extraction processing is performed on the first point cloud data set to obtain a color point cloud and a non-color point cloud; Point cloud thinning processing is performed on the color point cloud and the non-color point cloud respectively to obtain a thinned color point cloud and a non-color point cloud.
2. The method for calculating geological occurrence information based on point cloud according to claim 1, characterized in that: The performing structural surface fitting processing on the second point cloud data set based on the principal component analysis method to obtain fitting plane data includes: After centralizing all point clouds in the second point cloud data set, a centralized third point cloud data set is obtained; wherein the second point cloud data set is represented in matrix form, and the second point cloud data set is: ;in, is the point cloud coordinates in the second point cloud data set; i is the number of selected points; Performing covariance matrix conversion processing on the centralized third point cloud data set to obtain a covariance matrix; Decomposing the covariance matrix to obtain multiple eigenvalues; After sorting the multiple eigenvalues from largest to smallest, select the first eigenvalue and the second eigenvalue that are ranked first two; The first eigenvalue and the second eigenvalue are combined to obtain the fitting plane data.
3. The method for calculating geological occurrence information based on point cloud according to claim 1, characterized in that: When the target color to be extracted is red, the preset color extraction conditions include: ; Among them, r is the red component, g is the green component, and b is the blue component. is the first threshold, is the second threshold, and abs() is the absolute value function.
4. The method for calculating geological occurrence information based on point cloud according to claim 1, characterized in that: The geological occurrence information includes: dip angle; the information calculation and processing based on the fitting plane data to obtain the geological occurrence information of the tunnel crack surface includes: In a preset spatial rectangular coordinate system, a structural surface normal vector of the tunnel crack surface is determined according to the fitting plane data, and a normal unit vector in the positive direction of a horizontal plane is determined; wherein the horizontal plane is determined by a horizontal axis and a vertical axis of the spatial rectangular coordinate system; The inclination angle is obtained by performing a dot multiplication operation and an arc cosine function calculation on the structural surface normal vector and the normal unit vector; the inclination angle is used to indicate the angle between the structural surface of the tunnel crack surface and the horizontal plane.
5. The method for calculating geological occurrence information based on point cloud according to claim 4, characterized in that: The geological occurrence information includes: inclination; the information calculation and processing based on the fitting plane data to obtain the geological occurrence information of the tunnel crack surface also includes: obtaining the inclination angle; When the inclination angle is an acute angle, the projection of the structural surface normal vector on the horizontal plane is determined as the inclination; wherein the inclination is used to indicate the direction indicated by the projection of the inclination line of the structural surface of the tunnel crack surface on the horizontal plane.
6. The method for calculating geological occurrence information based on point cloud according to claim 5, characterized in that: The geological occurrence information includes: strike; the information calculation and processing performed according to the fitted plane data to obtain the geological occurrence information of the tunnel crack surface includes: acquiring the projection; The cross product calculation is performed on the normal vector of the structural surface and the projection to obtain the strike direction; the strike direction is used to indicate the extension direction of the intersection line between the structural surface of the tunnel crack surface and the horizontal plane.
7. A geological occurrence information calculation device based on point cloud, characterized in that: comprising at least one processor and a memory for communicatively connecting to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the point cloud-based geological occurrence information calculation method as described in any one of claims 1 to 6.
8. An electronic device, characterized in that: It includes the geological occurrence information calculation device based on point cloud as described in claim 7.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for calculating geological occurrence information based on point cloud as described in any one of claims 1 to 6.
