CN118262060A - Three-dimensional stratum interface construction method and system - Google Patents
Three-dimensional stratum interface construction method and system Download PDFInfo
- Publication number
- CN118262060A CN118262060A CN202410150606.7A CN202410150606A CN118262060A CN 118262060 A CN118262060 A CN 118262060A CN 202410150606 A CN202410150606 A CN 202410150606A CN 118262060 A CN118262060 A CN 118262060A
- Authority
- CN
- China
- Prior art keywords
- dimensional
- real time
- nodes
- geological boundary
- geological
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010276 construction Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 23
- 230000006870 function Effects 0.000 claims description 29
- 230000015572 biosynthetic process Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 21
- 238000012886 linear function Methods 0.000 claims description 16
- 238000009877 rendering Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000003491 array Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Remote Sensing (AREA)
- Computer Graphics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides a three-dimensional geological interface construction method and a system, wherein the method comprises the following steps: receiving an actual stratum map input by a user in real time, and correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries; converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in a preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface; constructing a corresponding three-dimensional coordinate system according to the DEM surface and a plurality of geological boundary lines based on a preset rule, and calculating the inclination angles respectively corresponding to the nodes in each geological boundary line through the three-dimensional coordinate system; and acquiring the occurrence data corresponding to the nodes in each geological boundary in real time, and stretching the nodes of each geological boundary according to the occurrence data to generate a corresponding three-dimensional stratum interface. The invention can greatly reduce the use of the birth data and correspondingly improve the use experience of users.
Description
Technical Field
The invention relates to the technical field of geology, in particular to a three-dimensional stratum interface construction method and system.
Background
With the progress of technology and the rapid development of productivity, computer technology has tended to mature, and has been deeply applied in various fields, improving the working efficiency of people.
In the prior geological research, in order to understand the geological condition of a certain area, a corresponding three-dimensional stratum interface is constructed through the obtained geological data of the area, so that the distribution condition of the stratum can be intuitively observed.
Based on this, in the prior art, the three-dimensional stratum interface is built by the existing methods of graph cut section modeling, geologic map direct modeling, digital geologic map route modeling and the like, however, the modeling method is seriously dependent on the acquired occurrence data, so that the number and the precision of the occurrence data directly determine the precision of the three-dimensional stratum interface, but because the occurrence data is mainly obtained through field and field measurement, the occurrence data measured in the field is usually limited, and the built three-dimensional stratum interface has lower precision and correspondingly lower working efficiency.
Disclosure of Invention
Based on the above, the invention aims to provide a three-dimensional stratum interface construction method and system, which are used for solving the problem that the accuracy of the constructed three-dimensional stratum interface is lower because the corresponding three-dimensional stratum interface is constructed by severely relying on the occurrence data in the prior art.
The first aspect of the embodiment of the invention provides:
a method of three-dimensional formation interface construction, wherein the method comprises:
Receiving an actual stratum map input by a user in real time, and correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries;
converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in the preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface;
constructing a corresponding three-dimensional coordinate system according to the DEM surface and a plurality of geological boundaries based on a preset rule, and calculating inclination angles respectively corresponding to nodes in each geological boundary through the three-dimensional coordinate system;
and acquiring the occurrence data corresponding to the nodes in each geological boundary in real time, and stretching the nodes of each geological boundary according to the occurrence data so as to generate a corresponding three-dimensional stratum interface.
The beneficial effects of the invention are as follows: the corresponding geological condition can be obtained by receiving the actual stratum map input by the user in real time, based on the geological condition, in order to simulate the corresponding three-dimensional stratum interface, the space position of the preset three-dimensional control, namely the corresponding space coordinate, is required to be adjusted in real time according to the coordinate information contained in the current actual stratum map, based on the space position, a three-dimensional coordinate system matched with the current actual stratum map can be further created according to the DEM surface constructed in real time, further, the required three-dimensional stratum interface can be finally generated according to the current three-dimensional coordinate system, and in the process, only a part of the attitude data is required to be used in the final stage, so that the dependence on the attitude data is greatly reduced, the working efficiency is correspondingly improved, and the use experience of the user is improved.
Further, the step of constructing a corresponding three-dimensional coordinate system according to the DEM surface and the geological boundaries based on the preset rule includes:
When a plurality of geological boundaries are obtained in real time, extracting a plurality of initial nodes contained in each geological boundary in real time, and carrying out encryption processing on the plurality of initial nodes to generate a plurality of corresponding target nodes;
and respectively projecting each target node onto the DEM surface to generate a corresponding three-dimensional geological boundary, and constructing the three-dimensional coordinate system according to the three-dimensional geological boundary, wherein each target node has uniqueness.
Further, the step of projecting each of the target nodes onto the DEM surface to generate a corresponding three-dimensional geological boundary includes:
Based on a preset direction, matching a target triangle net corresponding to each target node in the DEM surface, and detecting an elevation value corresponding to each target triangle net in the DEM surface in real time;
and correspondingly assigning the elevation value to each target node to generate a corresponding three-dimensional node, and sequentially connecting each three-dimensional node to correspondingly generate the three-dimensional geological boundary.
Further, the step of constructing the three-dimensional coordinate system according to the three-dimensional geological boundary includes:
When the three-dimensional geological boundary is obtained in real time, constructing piecewise functions corresponding to a plurality of nodes in the three-dimensional geological boundary one by one, and calculating trend corresponding to the nodes in the three-dimensional geological boundary through the piecewise functions;
When the trend is obtained in real time, a preset algorithm is called out in real time, and the average trend corresponding to a plurality of nodes in the three-dimensional geological boundary is calculated in real time through the preset algorithm;
And stretching the average trend along the z-axis direction to generate a corresponding z-L plane, and correspondingly constructing the three-dimensional coordinate system through the z-L plane, wherein the three-dimensional coordinate system has uniqueness.
Further, the expression of the preset algorithm is:
Wherein, Representing the average trend, n represents the total number of nodes in the three-dimensional geological boundary, and L i represents the trend of each node (i=1, 2 … n).
Further, the step of calculating the inclination angles respectively corresponding to the nodes in each geological boundary through the three-dimensional coordinate system includes:
When the three-dimensional coordinate system is obtained in real time, a corresponding three-dimensional piecewise linear function is constructed based on the three-dimensional coordinate system, and a corresponding reflection function is constructed based on the three-dimensional piecewise linear function in real time;
And calculating the inclination angles corresponding to the nodes in each geological boundary in real time through the reflection function, wherein the inclination angles are specific numerical values.
Further, the method further comprises:
When the three-dimensional stratum interface is obtained in real time, performing graphic rendering processing on the three-dimensional stratum interface based on a preset program to generate a corresponding color three-dimensional stratum interface;
And displaying the colorful three-dimensional stratum interface on a display terminal of a user in real time.
A second aspect of an embodiment of the present invention proposes:
a three-dimensional formation interface construction system, wherein the system comprises:
The receiving module is used for receiving an actual stratum map input by a user in real time, correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries;
The conversion module is used for converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in the preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface;
The calculating module is used for constructing a corresponding three-dimensional coordinate system according to the DEM surface and the geological boundary lines based on a preset rule, and calculating the inclination angles corresponding to the nodes in each geological boundary line respectively through the three-dimensional coordinate system;
And the stretching module is used for acquiring the occurrence data corresponding to the nodes in each geological boundary line in real time, and stretching the nodes of each geological boundary line according to the occurrence data so as to generate a corresponding three-dimensional stratum interface.
Further, the computing module is specifically configured to:
When a plurality of geological boundaries are obtained in real time, extracting a plurality of initial nodes contained in each geological boundary in real time, and carrying out encryption processing on the plurality of initial nodes to generate a plurality of corresponding target nodes;
and respectively projecting each target node onto the DEM surface to generate a corresponding three-dimensional geological boundary, and constructing the three-dimensional coordinate system according to the three-dimensional geological boundary, wherein each target node has uniqueness.
Further, the computing module is specifically configured to:
Based on a preset direction, matching a target triangle net corresponding to each target node in the DEM surface, and detecting an elevation value corresponding to each target triangle net in the DEM surface in real time;
and correspondingly assigning the elevation value to each target node to generate a corresponding three-dimensional node, and sequentially connecting each three-dimensional node to correspondingly generate the three-dimensional geological boundary.
Further, the computing module is specifically configured to:
When the three-dimensional geological boundary is obtained in real time, constructing piecewise functions corresponding to a plurality of nodes in the three-dimensional geological boundary one by one, and calculating trend corresponding to the nodes in the three-dimensional geological boundary through the piecewise functions;
When the trend is obtained in real time, a preset algorithm is called out in real time, and the average trend corresponding to a plurality of nodes in the three-dimensional geological boundary is calculated in real time through the preset algorithm;
And stretching the average trend along the z-axis direction to generate a corresponding z-L plane, and correspondingly constructing the three-dimensional coordinate system through the z-L plane, wherein the three-dimensional coordinate system has uniqueness.
Further, the expression of the preset algorithm is:
Wherein, Representing the average trend, n represents the total number of nodes in the three-dimensional geological boundary, and L i represents the trend of each node (i=1, 2 … n).
Further, the computing module is specifically configured to:
When the three-dimensional coordinate system is obtained in real time, a corresponding three-dimensional piecewise linear function is constructed based on the three-dimensional coordinate system, and a corresponding reflection function is constructed based on the three-dimensional piecewise linear function in real time;
And calculating the inclination angles corresponding to the nodes in each geological boundary in real time through the reflection function, wherein the inclination angles are specific numerical values.
Further, the three-dimensional stratum interface construction system further comprises a rendering module, wherein the rendering module is specifically configured to:
When the three-dimensional stratum interface is obtained in real time, performing graphic rendering processing on the three-dimensional stratum interface based on a preset program to generate a corresponding color three-dimensional stratum interface;
And displaying the colorful three-dimensional stratum interface on a display terminal of a user in real time.
A third aspect of an embodiment of the present invention proposes:
A computer comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the three-dimensional formation interface construction method as described above when the computer program is executed by the processor.
A fourth aspect of the embodiment of the present invention proposes:
A readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the three-dimensional formation interface construction method as described above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart of a method for constructing a three-dimensional formation interface according to a first embodiment of the present invention;
FIG. 2 is a diagram of an actual formation in a method for constructing a three-dimensional formation interface according to a first embodiment of the present invention;
FIG. 3 is a schematic view of a DEM surface in a method for constructing a three-dimensional formation interface according to a first embodiment of the present invention;
FIG. 4 is a schematic view of three-dimensional geological boundaries in a three-dimensional formation interface construction method according to a first embodiment of the present invention;
FIG. 5 is a schematic z-L plan view of a method for constructing a three-dimensional formation interface according to a third embodiment of the present invention;
FIG. 6 is a schematic diagram of a three-dimensional coordinate system in a three-dimensional formation interface construction method according to a third embodiment of the present invention;
FIG. 7 is a schematic view of a three-dimensional formation interface in a method for constructing a three-dimensional formation interface according to a fourth embodiment of the present invention;
FIG. 8 is a block diagram illustrating a three-dimensional formation interface construction system according to a sixth embodiment of the present invention.
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a three-dimensional formation interface construction method according to a first embodiment of the present invention is shown, where the three-dimensional formation interface construction method according to the present invention can greatly reduce dependency on occurrence data, correspondingly improve working efficiency, and improve user experience.
Specifically, the present embodiment provides:
The three-dimensional stratum interface construction method specifically comprises the following steps:
Step S10, receiving an actual stratum map input by a user in real time, and correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries;
step S20, converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in the preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface;
Step S30, constructing a corresponding three-dimensional coordinate system according to the DEM surface and a plurality of geological boundaries based on a preset rule, and calculating inclination angles respectively corresponding to nodes in each geological boundary through the three-dimensional coordinate system;
And S40, acquiring the occurrence data corresponding to the nodes in each geological boundary in real time, and stretching the nodes of each geological boundary according to the occurrence data to generate a corresponding three-dimensional stratum interface.
Specifically, in this embodiment, first, as shown in fig. 2 to 4, in order to accurately construct a three-dimensional stratum interface corresponding to a certain area, it is necessary to receive, in real time, an actual stratum map that is drawn in advance by a user, where the actual stratum map includes information such as a required contour line and a geological boundary. Further, in order to create a three-dimensional stratum interface adapted to the size of the current actual stratum map, at this time, the preset three-dimensional space needs to be adjusted in real time according to the coordinate information contained in the current actual stratum map, that is, the spatial position of the current three-dimensional space is corrected in real time. Based on the above, a plurality of corresponding three-dimensional scattered points can be further converted in the adjusted three-dimensional space according to the acquired plurality of contour information, and meanwhile, in order to facilitate the generation of a subsequent three-dimensional coordinate system, at this time, a plurality of current three-dimensional scattered points are further required to be subjected to corresponding triangulation processing, and a required DEM (digital terrain model) surface is correspondingly constructed so as to facilitate the subsequent processing.
Further, after the required DEM surface is obtained in real time, at this time, the current DEM surface and the geological boundaries can be directly subjected to three-dimensional processing according to preset rules, and a required three-dimensional coordinate system can be generated, so that the inclination angle corresponding to the node in each geological boundary can be calculated in real time through the current three-dimensional coordinate system. On the basis, the occurrence data corresponding to the nodes in each geological boundary are synchronously acquired, and finally, the nodes of each geological boundary are stretched according to the current occurrence data, so that the needed three-dimensional stratum interface is finally generated. In addition, it should be noted that the occurrence data of each node may be obtained from the actual stratigraphic diagram, and the contour lines have elevation properties, while the geological boundary does not have elevation properties.
Second embodiment
Further, the step of constructing a corresponding three-dimensional coordinate system according to the DEM surface and the geological boundaries based on the preset rule includes:
When a plurality of geological boundaries are obtained in real time, extracting a plurality of initial nodes contained in each geological boundary in real time, and carrying out encryption processing on the plurality of initial nodes to generate a plurality of corresponding target nodes;
and respectively projecting each target node onto the DEM surface to generate a corresponding three-dimensional geological boundary, and constructing the three-dimensional coordinate system according to the three-dimensional geological boundary, wherein each target node has uniqueness.
Specifically, in this embodiment, it should be noted that, in order to quickly and effectively construct a required three-dimensional coordinate system, after a plurality of required geological boundaries are obtained through the above steps, since each geological boundary is composed of a plurality of nodes, a plurality of initial nodes included in each geological boundary can be correspondingly extracted based on the geological boundary, and meanwhile, in order to prevent data leakage, encryption processing needs to be performed on each initial node, and a plurality of corresponding target nodes can be generated. Further, each target node is projected onto the DEM surface respectively, and a required three-dimensional geological boundary can be correspondingly generated, and meanwhile, a corresponding three-dimensional coordinate system is constructed according to the current three-dimensional geological boundary.
Further, since each target node is unique, the corresponding constructed three-dimensional geological boundary and the three-dimensional coordinate system are also unique, so that subsequent processing is facilitated.
Further, the step of projecting each of the target nodes onto the DEM surface to generate a corresponding three-dimensional geological boundary includes:
Based on a preset direction, matching a target triangle net corresponding to each target node in the DEM surface, and detecting an elevation value corresponding to each target triangle net in the DEM surface in real time;
and correspondingly assigning the elevation value to each target node to generate a corresponding three-dimensional node, and sequentially connecting each three-dimensional node to correspondingly generate the three-dimensional geological boundary.
Specifically, in this embodiment, after the required DEM surface is obtained through the above steps, further, the target triangulation corresponding to each target node is matched in real time in the vertical direction, and at the same time, the elevation value corresponding to each target triangulation is synchronously detected, and each elevation value is correspondingly assigned to each target node, so that corresponding three-dimensional coordinates can be respectively assigned to each target node to generate corresponding three-dimensional nodes, and based on this, only a current plurality of three-dimensional nodes need to be sequentially connected, so that the three-dimensional geological boundary can be generated. Specifically, for ease of understanding, for example, P i (i=1, 2 … n) is acquired as a number of target nodes, where the target nodes have no elevation attribute. Further, after each elevation value is correspondingly assigned to each target node, each target node can have an elevation attribute, and a needed three-dimensional node can be generated. Specifically, for example, the obtained target nodes are:
TABLE 1
Nodes in the geological boundary A | x | y |
P1 | 381234.8 | 3057860.6 |
··· | ··· | ··· |
Pn | 383003.4 | 3058343.2 |
Wherein, table 1 shows two-dimensional coordinates of a plurality of target nodes, and further, after the elevation attribute is given, the three-dimensional nodes generated in real time may be:
TABLE 2
From which each three-dimensional node has a corresponding three-dimensional coordinate, thereby enabling further generation of the desired three-dimensional geological boundary for subsequent processing.
Third embodiment
Further, the step of constructing the three-dimensional coordinate system according to the three-dimensional geological boundary includes:
When the three-dimensional geological boundary is obtained in real time, constructing piecewise functions corresponding to a plurality of nodes in the three-dimensional geological boundary one by one, and calculating trend corresponding to the nodes in the three-dimensional geological boundary through the piecewise functions;
When the trend is obtained in real time, a preset algorithm is called out in real time, and the average trend corresponding to a plurality of nodes in the three-dimensional geological boundary is calculated in real time through the preset algorithm;
And stretching the average trend along the z-axis direction to generate a corresponding z-L plane, and correspondingly constructing the three-dimensional coordinate system through the z-L plane, wherein the three-dimensional coordinate system has uniqueness.
In addition, in this embodiment, as shown in fig. 5 to 6, after the required three-dimensional geological boundary is obtained in real time through the above steps, in order to accurately construct a required three-dimensional coordinate system so as to correspondingly improve the accuracy of the constructed three-dimensional stratum interface, it is necessary to further create a corresponding piecewise function according to a plurality of nodes included in the three-dimensional geological boundary, and further calculate the trend corresponding to each node in the three-dimensional geological boundary through the piecewise function. It should be noted that, since the existing occurrence data specifically includes data such as trend, tendency, and dip angle, the difference between the trend and the tendency is 90 degrees. In addition, any curve can be fitted by one or more functions in the three-dimensional space, the tangent vector of the curve is the trend, the tangent vector can be obtained by deriving the piecewise function, and the normal vector of the corresponding curve is the trend.
Further, the piecewise function constructed in real time may be c=f (x, y, z), further, derivative is performed on the current piecewise function, the trend L of any node may be calculated by further substituting the three-dimensional coordinates of the nodes in the table 2 into the formula after derivative, and the calculated trend L may be added or subtracted by 90 degrees, so that the tendency of any node may be correspondingly obtained, and specifically, the calculated expression may be:
Wherein x, y, z represent three-dimensional coordinates, L represents trend, and M represents trend, so that trend and trend corresponding to each node can be effectively calculated, and subsequent processing is facilitated.
Further, the expression of the preset algorithm is:
Wherein, Representing the average trend, n represents the total number of nodes in the three-dimensional geological boundary, and L i represents the trend of each node (i=1, 2 … n).
In addition, in this embodiment, after the trend corresponding to each node is calculated in real time in the above manner, in order to further improve the accuracy of the three-dimensional stratum interface constructed, it is also necessary to further calculate the corresponding average trend. Based on the above, the preset algorithm is correspondingly called out, and the required average trend is calculated immediately through the preset algorithm, so that the subsequent processing is facilitated.
Fourth embodiment
Further, the step of calculating the inclination angles respectively corresponding to the nodes in each geological boundary through the three-dimensional coordinate system includes:
When the three-dimensional coordinate system is obtained in real time, a corresponding three-dimensional piecewise linear function is constructed based on the three-dimensional coordinate system, and a corresponding reflection function is constructed based on the three-dimensional piecewise linear function in real time;
And calculating the inclination angles corresponding to the nodes in each geological boundary in real time through the reflection function, wherein the inclination angles are specific numerical values.
In this embodiment, as shown in fig. 7, after the required three-dimensional geological boundary is obtained through the above steps, the current three-dimensional geological boundary is further vertically projected into the z-L plane, and a mapped three-dimensional geological boundary is obtained, and corresponding three-dimensional coordinates are assigned to a plurality of nodes included in the current mapped three-dimensional geological boundary, and specifically, the three-dimensional coordinates generated in real time may be:
TABLE 3 Table 3
Nodes in geological boundary A 2 | x | y | z |
P1 | 383034.8 | 3058021.9 | 87.3 |
··· | ··· | ··· | ··· |
Pn | 381225.7 | 3057457.8 | 87.7 |
Further, after the required three-dimensional coordinate system is constructed by the three-dimensional geological boundary line and the mapped three-dimensional geological boundary line, generating a required three-dimensional piecewise linear function according to the current three-dimensional coordinate system, and synchronously constructing a required reflection function according to the current three-dimensional piecewise linear function, wherein the expression of the three-dimensional piecewise linear function is as follows:
Wherein, beta represents the inclination angle, L represents the trend, and z represents the elevation. In addition, the current three-dimensional piecewise linear function is perpendicularly projected to the z-L plane to further obtain a two-dimensional piecewise linear function, and specifically, the expression of the two-dimensional piecewise linear function may be:
similarly, L represents trend, and z represents elevation, based on which the inclination angle corresponding to each node in each three-dimensional geological boundary can be correspondingly calculated in the above manner, so that subsequent processing is facilitated.
Fifth embodiment
Further, the method further comprises:
When the three-dimensional stratum interface is obtained in real time, performing graphic rendering processing on the three-dimensional stratum interface based on a preset program to generate a corresponding color three-dimensional stratum interface;
And displaying the colorful three-dimensional stratum interface on a display terminal of a user in real time.
In this embodiment, it should be noted that, after the required three-dimensional stratum interface is finally obtained in the above manner, in order to enable the user to clearly observe each component of the current three-dimensional stratum interface, the current three-dimensional stratum interface is further subjected to graphic rendering processing by a preset rendering program, and a corresponding color three-dimensional stratum boundary is generated, and preferably, corresponding rendering can be performed by using existing ug software.
Further, the rendered color three-dimensional stratum interface is displayed on a display terminal of the user in real time, so that the working efficiency of the user is improved.
Referring to fig. 8, a sixth embodiment of the present invention provides:
a three-dimensional formation interface construction system, wherein the system comprises:
The receiving module is used for receiving an actual stratum map input by a user in real time, correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries;
The conversion module is used for converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in the preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface;
The calculating module is used for constructing a corresponding three-dimensional coordinate system according to the DEM surface and the geological boundary lines based on a preset rule, and calculating the inclination angles corresponding to the nodes in each geological boundary line respectively through the three-dimensional coordinate system;
And the stretching module is used for acquiring the occurrence data corresponding to the nodes in each geological boundary line in real time, and stretching the nodes of each geological boundary line according to the occurrence data so as to generate a corresponding three-dimensional stratum interface.
Further, the computing module is specifically configured to:
When a plurality of geological boundaries are obtained in real time, extracting a plurality of initial nodes contained in each geological boundary in real time, and carrying out encryption processing on the plurality of initial nodes to generate a plurality of corresponding target nodes;
and respectively projecting each target node onto the DEM surface to generate a corresponding three-dimensional geological boundary, and constructing the three-dimensional coordinate system according to the three-dimensional geological boundary, wherein each target node has uniqueness.
Further, the computing module is specifically configured to:
Based on a preset direction, matching a target triangle net corresponding to each target node in the DEM surface, and detecting an elevation value corresponding to each target triangle net in the DEM surface in real time;
and correspondingly assigning the elevation value to each target node to generate a corresponding three-dimensional node, and sequentially connecting each three-dimensional node to correspondingly generate the three-dimensional geological boundary.
Further, the computing module is specifically configured to:
When the three-dimensional geological boundary is obtained in real time, constructing piecewise functions corresponding to a plurality of nodes in the three-dimensional geological boundary one by one, and calculating trend corresponding to the nodes in the three-dimensional geological boundary through the piecewise functions;
When the trend is obtained in real time, a preset algorithm is called out in real time, and the average trend corresponding to a plurality of nodes in the three-dimensional geological boundary is calculated in real time through the preset algorithm;
And stretching the average trend along the z-axis direction to generate a corresponding z-L plane, and correspondingly constructing the three-dimensional coordinate system through the z-L plane, wherein the three-dimensional coordinate system has uniqueness.
Further, the expression of the preset algorithm is:
Wherein, Representing the average trend, n represents the total number of nodes in the three-dimensional geological boundary, and L i represents the trend of each node (i=1, 2 … n).
Further, the computing module is specifically configured to:
When the three-dimensional coordinate system is obtained in real time, a corresponding three-dimensional piecewise linear function is constructed based on the three-dimensional coordinate system, and a corresponding reflection function is constructed based on the three-dimensional piecewise linear function in real time;
And calculating the inclination angles corresponding to the nodes in each geological boundary in real time through the reflection function, wherein the inclination angles are specific numerical values.
Further, the three-dimensional stratum interface construction system further comprises a rendering module, wherein the rendering module is specifically configured to:
When the three-dimensional stratum interface is obtained in real time, performing graphic rendering processing on the three-dimensional stratum interface based on a preset program to generate a corresponding color three-dimensional stratum interface;
And displaying the colorful three-dimensional stratum interface on a display terminal of a user in real time.
A seventh embodiment of the present invention provides a computer comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the three-dimensional formation interface construction method as described above when executing the computer program.
An eighth embodiment of the present invention provides a readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements a three-dimensional formation interface construction method as described above.
In summary, the method and the system for constructing the three-dimensional stratum interface provided by the embodiment of the invention can greatly reduce the dependence on the occurrence data, correspondingly improve the working efficiency and improve the user experience.
The above-described respective modules may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
Claims (10)
1. A method of three-dimensional formation interface construction, the method comprising:
Receiving an actual stratum map input by a user in real time, and correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries;
converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in the preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface;
constructing a corresponding three-dimensional coordinate system according to the DEM surface and a plurality of geological boundaries based on a preset rule, and calculating inclination angles respectively corresponding to nodes in each geological boundary through the three-dimensional coordinate system;
and acquiring the occurrence data corresponding to the nodes in each geological boundary in real time, and stretching the nodes of each geological boundary according to the occurrence data so as to generate a corresponding three-dimensional stratum interface.
2. The method for constructing a three-dimensional stratum interface according to claim 1, wherein: the step of constructing a corresponding three-dimensional coordinate system according to the DEM surface and the geological boundary lines based on a preset rule comprises the following steps:
When a plurality of geological boundaries are obtained in real time, extracting a plurality of initial nodes contained in each geological boundary in real time, and carrying out encryption processing on the plurality of initial nodes to generate a plurality of corresponding target nodes;
and respectively projecting each target node onto the DEM surface to generate a corresponding three-dimensional geological boundary, and constructing the three-dimensional coordinate system according to the three-dimensional geological boundary, wherein each target node has uniqueness.
3. The three-dimensional formation interface construction method according to claim 2, wherein: the step of projecting each target node onto the DEM surface to generate a corresponding three-dimensional geological boundary includes:
Based on a preset direction, matching a target triangle net corresponding to each target node in the DEM surface, and detecting an elevation value corresponding to each target triangle net in the DEM surface in real time;
and correspondingly assigning the elevation value to each target node to generate a corresponding three-dimensional node, and sequentially connecting each three-dimensional node to correspondingly generate the three-dimensional geological boundary.
4. The three-dimensional formation interface construction method according to claim 2, wherein: the step of constructing the three-dimensional coordinate system according to the three-dimensional geological boundary comprises the following steps:
When the three-dimensional geological boundary is obtained in real time, constructing piecewise functions corresponding to a plurality of nodes in the three-dimensional geological boundary one by one, and calculating trend corresponding to the nodes in the three-dimensional geological boundary through the piecewise functions;
When the trend is obtained in real time, a preset algorithm is called out in real time, and the average trend corresponding to a plurality of nodes in the three-dimensional geological boundary is calculated in real time through the preset algorithm;
And stretching the average trend along the z-axis direction to generate a corresponding z-L plane, and correspondingly constructing the three-dimensional coordinate system through the z-L plane, wherein the three-dimensional coordinate system has uniqueness.
5. The method for constructing a three-dimensional stratum interface according to claim 4, wherein: the expression of the preset algorithm is as follows:
Wherein, Representing the average trend, n represents the total number of nodes in the three-dimensional geological boundary, and L i represents the trend of each node (i=1, 2 … n).
6. The method for constructing a three-dimensional stratum interface according to claim 5, wherein: the step of calculating the inclination angles respectively corresponding to the nodes in each geological boundary through the three-dimensional coordinate system comprises the following steps:
When the three-dimensional coordinate system is obtained in real time, a corresponding three-dimensional piecewise linear function is constructed based on the three-dimensional coordinate system, and a corresponding reflection function is constructed based on the three-dimensional piecewise linear function in real time;
And calculating the inclination angles corresponding to the nodes in each geological boundary in real time through the reflection function, wherein the inclination angles are specific numerical values.
7. The method for constructing a three-dimensional stratum interface according to claim 6, wherein: the method further comprises the steps of:
When the three-dimensional stratum interface is obtained in real time, performing graphic rendering processing on the three-dimensional stratum interface based on a preset program to generate a corresponding color three-dimensional stratum interface;
And displaying the colorful three-dimensional stratum interface on a display terminal of a user in real time.
8. A three-dimensional formation interface construction system, the system comprising:
The receiving module is used for receiving an actual stratum map input by a user in real time, correcting the space position of a preset three-dimensional space according to coordinate information in the actual stratum map, wherein the actual stratum map comprises a plurality of contour lines and a plurality of geological boundaries;
The conversion module is used for converting a plurality of contour lines into a plurality of corresponding three-dimensional scattered points in the preset three-dimensional space, and performing triangulation on the plurality of three-dimensional scattered points to construct a corresponding DEM surface;
The calculating module is used for constructing a corresponding three-dimensional coordinate system according to the DEM surface and the geological boundary lines based on a preset rule, and calculating the inclination angles corresponding to the nodes in each geological boundary line respectively through the three-dimensional coordinate system;
And the stretching module is used for acquiring the occurrence data corresponding to the nodes in each geological boundary line in real time, and stretching the nodes of each geological boundary line according to the occurrence data so as to generate a corresponding three-dimensional stratum interface.
And the rendering module is used for carrying out graphic rendering processing on the three-dimensional stratum interface based on a preset program so as to generate a corresponding color three-dimensional stratum interface.
9. A computer comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the three-dimensional formation interface construction method of any one of claims 1 to 7 when the computer program is executed.
10. A readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the three-dimensional formation interface construction method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410150606.7A CN118262060A (en) | 2024-02-02 | 2024-02-02 | Three-dimensional stratum interface construction method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410150606.7A CN118262060A (en) | 2024-02-02 | 2024-02-02 | Three-dimensional stratum interface construction method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118262060A true CN118262060A (en) | 2024-06-28 |
Family
ID=91606938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410150606.7A Pending CN118262060A (en) | 2024-02-02 | 2024-02-02 | Three-dimensional stratum interface construction method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118262060A (en) |
-
2024
- 2024-02-02 CN CN202410150606.7A patent/CN118262060A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106023298B (en) | Point cloud Rigid Registration method based on local Poisson curve reestablishing | |
CN108198145A (en) | For the method and apparatus of point cloud data reparation | |
CN106780751A (en) | Three-dimensional point cloud method for reconstructing based on improved shielding Poisson algorithm | |
CN104616345A (en) | Octree forest compression based three-dimensional voxel access method | |
CN107464286B (en) | Method, device, equipment and readable medium for repairing holes in three-dimensional city model | |
AU2005241463A1 (en) | System and method for approximating an editable surface | |
CN105842676A (en) | Radar blind area analysis method and device | |
CN109583377B (en) | Control method and device for pipeline model reconstruction and upper computer | |
CN113538706B (en) | Digital sand table-based house scene display method, device, equipment and storage medium | |
EP2776864A1 (en) | Method of generating and combining multiple horizons to determine a seismic horizon and its uncertainty | |
CN115758938B (en) | Adhesive boundary flow field numerical simulation-oriented boundary layer grid generation method | |
CN104851127A (en) | Interaction-based building point cloud model texture mapping method and device | |
CN111210501B (en) | Indoor modeling method and device and terminal equipment | |
Du et al. | Research on filtering and measurement algorithms based on human point cloud data | |
CN105931297A (en) | Data processing method applied to three-dimensional geological surface model | |
CN110378948B (en) | 3D model reconstruction method and device and electronic equipment | |
Mateo et al. | Hierarchical, Dense and Dynamic 3D Reconstruction Based on VDB Data Structure for Robotic Manipulation Tasks | |
CN118262060A (en) | Three-dimensional stratum interface construction method and system | |
Garcia et al. | CPU-based real-time surface and solid voxelization for incomplete point cloud | |
CN106909730B (en) | Building three-dimensional model simulation method and system based on homotopy mapping algorithm | |
CN112926681B (en) | Target detection method and device based on deep convolutional neural network | |
CN112116710B (en) | Curved surface reconstruction method based on trend constraint | |
CN109740234B (en) | Household layout 3D collision detection method and system | |
CN112802175A (en) | Large-scale scene occlusion rejection method, device, equipment and storage medium | |
CN112614046B (en) | Method and device for drawing three-dimensional model on two-dimensional plane |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |