CN116206079B - Geological body modeling method and related equipment based on moving tetrahedron - Google Patents
Geological body modeling method and related equipment based on moving tetrahedron Download PDFInfo
- Publication number
- CN116206079B CN116206079B CN202310499952.1A CN202310499952A CN116206079B CN 116206079 B CN116206079 B CN 116206079B CN 202310499952 A CN202310499952 A CN 202310499952A CN 116206079 B CN116206079 B CN 116206079B
- Authority
- CN
- China
- Prior art keywords
- tetrahedron
- implicit
- points
- geological
- target area
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000005553 drilling Methods 0.000 claims abstract description 17
- 239000007787 solid Substances 0.000 claims abstract description 15
- 238000004364 calculation method Methods 0.000 claims abstract description 12
- 230000006870 function Effects 0.000 claims description 121
- 238000004590 computer program Methods 0.000 claims description 20
- 239000013598 vector Substances 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 5
- 238000013499 data model Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 34
- 238000000605 extraction Methods 0.000 description 19
- 238000004422 calculation algorithm Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000007794 visualization technique Methods 0.000 description 1
Images
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
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/30—Assessment of water resources
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Image Generation (AREA)
Abstract
本发明提供了一种基于移动四面体的地质体建模方法及相关设备,包括:获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型;提高了地质体的建模精度和匹配度。
The invention provides a geological body modeling method and related equipment based on moving tetrahedrons, including: obtaining the drilling exploration data in the target area to obtain boundary point information data on the surface of the geological body; constructing an implicit surface function based on the boundary point information data model, and solve the implicit surface function model to obtain the implicit surface function model of the geological body; according to the geological data of the target area and the preset grid resolution, construct multiple cube voxels, and each cube Divide the tetrahedral voxel to obtain multiple tetrahedral voxels; for each tetrahedral voxel, the coordinate values of the four points on the tetrahedral voxel are substituted into the implicit surface function model of the geological body for calculation, and all four-sided voxels are obtained. The implicit surface function values corresponding to the four points on the voxel; all tetrahedral voxels are cut according to each implicit surface function value to obtain the three-dimensional solid model of the geological body in the target area; the modeling accuracy of the geological body is improved and matching.
Description
技术领域technical field
本发明涉及三维地质建模技术领域,特别涉及一种基于移动四面体的地质体建模方法及相关设备。The invention relates to the technical field of three-dimensional geological modeling, in particular to a geological body modeling method and related equipment based on moving tetrahedrons.
背景技术Background technique
现阶段,三维地质建模已成为地质建模领域的热门研究对象,二维模型无法方便、清晰地展示出地质情况,而与传统的信息展示方法相比,三维地质模型能够更加清晰、直观地表征出地质的各种环境条件。三维地质模型可以从不同角度表征出地质体的空间特征,有助于研究人员分析得到更多的地质信息。At present, 3D geological modeling has become a popular research object in the field of geological modeling. 2D models cannot display geological conditions conveniently and clearly. Compared with traditional information display methods, 3D geological models can more clearly and intuitively Characterize various environmental conditions of geology. The 3D geological model can characterize the spatial characteristics of geological bodies from different angles, which helps researchers analyze and obtain more geological information.
隐式曲面函数可以用来表征地质表面,而对隐式曲面函数进行可视化的方法主要有两种:表面绘制法和体绘制法。移动四面体算法属于第一种可视化方法,即表面绘制方法,通过提取隐式曲面函数中的等值面来表征地质体的表面。而在对隐式曲面函数模型进行可视化时,常用的基本单元有立方体、六面体和四面体等,基本单元也叫做体元、或用于表示填充空间的图元元素。六面体和四面体中的各个面,通常会与坐标轴保持平行状态,而在这种情况下建立出来的地质模型,边界比较粗糙,不够平滑,无法将地质边界准确的表征出来。Implicit surface functions can be used to represent geological surfaces, and there are two main methods to visualize implicit surface functions: surface rendering and volume rendering. The moving tetrahedron algorithm belongs to the first visualization method, the surface rendering method, which characterizes the surface of a geological body by extracting isosurfaces in the implicit surface function. When visualizing the implicit surface function model, the commonly used basic units are cubes, hexahedrons, and tetrahedrons. The basic units are also called voxels, or primitive elements used to represent spaces. The faces of the hexahedron and tetrahedron are usually kept parallel to the coordinate axes. In this case, the geological model established has a rough boundary and is not smooth enough to accurately characterize the geological boundary.
发明内容Contents of the invention
本发明提供了一种基于移动四面体的地质体建模方法及相关设备,其目的是为了提高地质体建模的精度和匹配度。The invention provides a geological body modeling method and related equipment based on moving tetrahedron, the purpose of which is to improve the accuracy and matching degree of geological body modeling.
为了达到上述目的,本发明提供了一种基于移动四面体的地质体建模方法,包括:In order to achieve the above object, the present invention provides a method for modeling geological bodies based on mobile tetrahedrons, including:
步骤1,获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;
步骤2,基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;Step 2, constructing an implicit surface function model based on the boundary point information data, and solving the implicit surface function model to obtain the implicit surface function model of the geological body;
步骤3,根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;Step 3, according to the geological data of the target area and the preset grid resolution, construct multiple cube voxels, and divide each cube voxel to obtain multiple tetrahedral voxels;
步骤4,分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;Step 4. For each tetrahedron voxel, the coordinate values of the four points on the tetrahedron voxel are substituted into the implicit surface function model of the geological body for calculation, and the corresponding four points on all tetrahedron voxels are obtained. The implicit surface function value of ;
步骤5,根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型。Step 5: Cut all the tetrahedral voxels according to the values of the implicit surface functions to obtain the 3D solid model of the geological body in the target area.
进一步来说,步骤1包括:Further,
获取目标区域的钻孔勘探数据;Obtain borehole exploration data in the target area;
对钻孔勘探数据进行组合样分析,得到目标区域的岩性样本;Combined sample analysis is carried out on the drilling exploration data to obtain the lithology samples of the target area;
对目标区域内相邻的不同岩性样本进行处理,得到地质体表面的边界点信息数据。The adjacent different lithological samples in the target area are processed to obtain the boundary point information data on the surface of the geological body.
进一步来说,在步骤5之前,还包括:Further, before step 5, it also includes:
根据所有四面体体元上四个点位对应的隐式曲面函数值与预设的网格大小之间的关系,通过中心差分法对所有四面体体元上四个点位进行求解,得到与各个点位对应的梯度值;According to the relationship between the implicit surface function values corresponding to the four points on all tetrahedron voxels and the preset grid size, the four points on all tetrahedron voxels are solved by the central difference method, and the The gradient value corresponding to each point;
将与各个点位对应的梯度值作为所有四面体体元上四个点位的法向量。The gradient value corresponding to each point is used as the normal vector of the four points on all tetrahedral voxels.
进一步来说,中心差分法的表达式为:Further, the expression of the central difference method is:
通过中心差分法对所有四面体体元上四个点位进行求解,得到与各个点位对应的梯度值为:The four points on all tetrahedral voxels are solved by the central difference method, and the gradient value corresponding to each point is obtained:
其中,梯度值作为所有四面体体元上四个点位的法向量/>,/>为网格序列号,/> 分别为网格在X、Y、Z三个方向上的长度,/>为隐式曲面函数值的求解表达式。Among them, the gradient value as the normal vectors of the four points on all tetrahedral voxels /> , /> is the grid serial number, /> are the lengths of the grid in the X, Y, and Z directions respectively, /> Evaluate expression for the value of the implicit surface function.
进一步来说,在步骤5之前,还包括:Further, before step 5, it also includes:
根据所有四面体体元上四个点位对应的隐式曲面函数值,分别对每个四面体体元的所有边进行等值点提取,得到等值点集合;According to the implicit surface function values corresponding to the four points on all tetrahedron voxels, extract equivalent points from all sides of each tetrahedron voxel to obtain a set of equivalent points;
根据等值点集合,依次在每个四面体体元内进行三角面片绘制,得到与目标区域的地质体对应的等值面。According to the set of isovalue points, the triangular surface is drawn sequentially in each tetrahedron voxel, and the isosurface corresponding to the geological body in the target area is obtained.
进一步来说,步骤5包括:Further, step 5 includes:
定义四个点位的约束值均大于零的四面体体元为绝对内部四面体,Define a tetrahedral voxel whose constraint values at four points are greater than zero as an absolute interior tetrahedron,
定义四个点位中至少有一个点位的约束值小于或等于零的四面体体元为边界四面体;Define a tetrahedron voxel whose constraint value of at least one point among the four points is less than or equal to zero is a boundary tetrahedron;
以等值面为分界面,对边界四面体进行四面体切割,得到边界四面体位于隐式曲面内部的部分;Taking the isosurface as the interface, the boundary tetrahedron is tetrahedral cut, and the part of the boundary tetrahedron located inside the implicit surface is obtained;
绝对内部四面体与边界四面体位于隐式曲面内部的部分构成目标区域的地质体三维实体模型。The part of the absolute internal tetrahedron and the boundary tetrahedron located inside the implicit surface constitutes the 3D solid model of the geological volume in the target area.
进一步来说,在步骤5之后,还包括:Further, after step 5, it also includes:
使用欧拉四面体公式对地质体三维实体模型进行计算,得到地质体的体积。Using the Euler tetrahedron formula to calculate the three-dimensional solid model of the geological body, the volume of the geological body is obtained.
本发明还提供了一种基于移动四面体的地质体建模装置,包括:The present invention also provides a geological body modeling device based on moving tetrahedrons, including:
获取模块,用于获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;The obtaining module is used to obtain the drilling exploration data in the target area to obtain the boundary point information data on the surface of the geological body;
构建模块,用于基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;The construction module is used for constructing the implicit surface function model based on the boundary point information data, and solving the implicit surface function model to obtain the geological body implicit surface function model;
划分模块,用于根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;The division module is used to construct a plurality of cube voxels according to the geological data of the target area and the preset grid resolution, and divide each cube voxel to obtain a plurality of tetrahedron voxels;
计算模块,用于分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;The calculation module is used to substitute the coordinate values of the four points on the tetrahedral voxel into the implicit surface function model of the geological body for each tetrahedral voxel, and obtain the four points on all tetrahedral voxels The value of the implicit surface function corresponding to the bit;
切割模块,用于根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型。The cutting module is used to cut all the tetrahedral voxels according to the values of the implicit surface functions to obtain the three-dimensional solid model of the geological body in the target area.
本发明还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现基于移动四面体的地质体建模方法。The present invention also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the geological body modeling method based on the moving tetrahedron is implemented.
本发明还提供了一种终端设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现基于移动四面体的地质体建模方法。The present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the geological body modeling method based on moving tetrahedron is realized.
本发明的上述方案有如下的有益效果:Said scheme of the present invention has following beneficial effect:
本发明通过获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型;以解决传统方法中建立地质体精度较低、与地质体匹配度较低的问题,建立与实际地质体更为匹配的地质实体模型,提高了地质体的建模精度和匹配度。The present invention obtains the boundary point information data of the surface of the geological body by acquiring the drilling exploration data of the target area; constructs an implicit surface function model based on the boundary point information data, and solves the implicit surface function model to obtain the implicit surface function of the geological body Model; according to the geological data of the target area and the preset grid resolution, construct a plurality of cubic voxels, and divide each cubic voxel to obtain multiple tetrahedral voxels; for each tetrahedral voxel Substituting the coordinate values of the four points on the tetrahedron voxel into the implicit surface function model of the geological body for calculation, the implicit surface function values corresponding to the four points on all tetrahedron voxels are obtained; Cut all the tetrahedral voxels using the formula surface function value to obtain the 3D solid model of the geological body in the target area; in order to solve the problems of low accuracy and low matching degree of the geological body established in the traditional method, the establishment of the geological body and the actual geological body A more matching geological entity model improves the modeling accuracy and matching degree of geological bodies.
本发明的其它有益效果将在随后的具体实施方式部分予以详细说明。Other beneficial effects of the present invention will be described in detail in the following specific embodiments.
附图说明Description of drawings
图1为本发明实施例的流程示意图;Fig. 1 is the schematic flow chart of the embodiment of the present invention;
图2中(a)为本发明实施例的第一种等值点提取情况示意图;图2中(b)为本发明实施例的第二种等值点提取情况示意图;图2中(c)为本发明实施例的第三种等值点提取情况示意图;图2中(d)为本发明实施例的第四种等值点提取情况示意图;图2中(e)为本发明实施例的第五种等值点提取情况示意图;图2中(f)为本发明实施例的第六种等值点提取情况示意图;图2中(g)为本发明实施例的第七种等值点提取情况示意图;图2中(h)为本发明实施例的第八种等值点提取情况示意图;图2中(i)为本发明实施例的第九种等值点提取情况示意图;图2中(j)为本发明实施例的第十种等值点提取情况示意图;图2中(k)为本发明实施例的第十一种等值点提取情况示意图;图2中(l)为本发明实施例的第十二种等值点提取情况示意图;图2中(m)为本发明实施例的第十三种等值点提取情况示意图;图2中(n)为本发明实施例的第十四种等值点提取情况示意图;图2中(o)为本发明实施例的第十五种等值点提取情况示意图;图2中(p)为本发明实施例的第十六种等值点提取情况示意图;(a) in Figure 2 is a schematic diagram of the first type of equivalent point extraction in the embodiment of the present invention; (b) in Figure 2 is a schematic diagram of the second type of equivalent point extraction in the embodiment of the present invention; (c) in Figure 2 It is a schematic diagram of the third type of equivalent point extraction in the embodiment of the present invention; (d) in Figure 2 is a schematic diagram of the fourth type of equivalent point extraction in the embodiment of the present invention; (e) in Figure 2 is the schematic diagram of the embodiment of the present invention Schematic diagram of the fifth equivalent point extraction situation; (f) in Figure 2 is a schematic diagram of the sixth equivalent point extraction situation of the embodiment of the present invention; (g) in Figure 2 is the seventh equivalent point of the embodiment of the present invention Schematic diagram of the extraction situation; (h) in Figure 2 is a schematic diagram of the extraction of the eighth equivalent point in the embodiment of the present invention; (i) in Figure 2 is a schematic diagram of the extraction of the ninth equivalent point in the embodiment of the present invention; Figure 2 (j) is a schematic diagram of the extraction of the tenth equivalent point in the embodiment of the present invention; (k) in Figure 2 is a schematic diagram of the extraction of the eleventh equivalent point in the embodiment of the present invention; (l) in Figure 2 is Schematic diagram of the twelfth equivalent point extraction situation of the embodiment of the present invention; (m) in Figure 2 is a schematic diagram of the thirteenth equivalent point extraction situation of the embodiment of the present invention; (n) in Figure 2 is an embodiment of the present invention The schematic diagram of the fourteenth equivalence point extraction situation; Fig. 2 (o) is a schematic diagram of the fifteenth equivalence point extraction situation of the embodiment of the present invention; Fig. 2 (p) is the sixteenth equivalence point extraction situation of the embodiment of the present invention Schematic diagram of extraction of equivalence points;
图3中(a)为本发明实施例基于移动四面体算法的第一种具体切割情况示意图;图3中(b)为本发明实施例基于移动四面体算法的第二种具体切割情况示意图;图3中(c)为本发明实施例基于移动四面体算法的第三种具体切割情况示意图;图3中(d)为本发明实施例基于移动四面体算法的第四种具体切割情况示意图;图3中(e)为本发明实施例基于移动四面体算法的第五种具体切割情况示意图;图3中(f)为本发明实施例基于移动四面体算法的第六种具体切割情况示意图;图3中(g)为本发明实施例基于移动四面体算法的第七种具体切割情况示意图;图3中(h)为本发明实施例基于移动四面体算法的第八种具体切割情况示意图;图3中(i)为本发明实施例基于移动四面体算法的第九种具体切割情况示意图;图3中(j)为本发明实施例基于移动四面体算法的第十种具体切割情况示意图;图3中(k)为本发明实施例基于移动四面体算法的第十一种具体切割情况示意图;图3中(l)为本发明实施例基于移动四面体算法的第十二种具体切割情况示意图;图3中(m)为本发明实施例基于移动四面体算法的第十三种具体切割情况示意图;图3中(n)为本发明实施例基于移动四面体算法的第十四种具体切割情况示意图;图3中(o)为本发明实施例基于移动四面体算法的第十五种具体切割情况示意图;图3中(p)为本发明实施例基于移动四面体算法的第十六种具体切割情况示意图;(a) in Fig. 3 is a schematic diagram of the first specific cutting situation based on the moving tetrahedron algorithm in the embodiment of the present invention; (b) in Fig. 3 is a schematic diagram of the second specific cutting situation based on the moving tetrahedron algorithm in the embodiment of the present invention; (c) in Fig. 3 is a schematic diagram of the third specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (d) in Fig. 3 is a schematic diagram of the fourth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (e) in FIG. 3 is a schematic diagram of the fifth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (f) in FIG. 3 is a schematic diagram of the sixth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (g) in Fig. 3 is a schematic diagram of the seventh specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (h) in Fig. 3 is a schematic diagram of the eighth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (i) in Fig. 3 is a schematic diagram of the ninth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (j) in Fig. 3 is a schematic diagram of the tenth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (k) in Figure 3 is a schematic diagram of the eleventh specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention; (l) in Figure 3 is the twelfth specific cutting situation based on the moving tetrahedron algorithm according to the embodiment of the present invention Schematic diagram; (m) in Figure 3 is a schematic diagram of the thirteenth specific cutting situation based on the moving tetrahedron algorithm in the embodiment of the present invention; (n) in Figure 3 is the fourteenth specific cutting situation based on the moving tetrahedron algorithm in the embodiment of the present invention Schematic diagram of the cutting situation; (o) in Figure 3 is a schematic diagram of the fifteenth specific cutting situation based on the moving tetrahedron algorithm in the embodiment of the present invention; (p) in Figure 3 is the sixteenth cutting situation based on the moving tetrahedron algorithm in the embodiment of the present invention Schematic diagram of a specific cutting situation;
图4为本发明实施例构建的三维地质体实体模型的截面图。Fig. 4 is a cross-sectional view of a three-dimensional geological solid model constructed in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments. Apparently, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, or in a specific orientation. construction and operation, therefore, should not be construed as limiting the invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and should not be construed as indicating or implying relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是锁定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a locking connection or a detachable connection. Connected, or integrally connected; it can be mechanically connected or electrically connected; it can be directly connected or indirectly connected through an intermediary, and it can be the internal communication of two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as there is no conflict with each other.
本发明针对现有的问题,提供了一种基于移动四面体的地质体建模方法及相关设备。Aiming at the existing problems, the present invention provides a geological body modeling method based on moving tetrahedron and related equipment.
如图1所示,本发明的实施例提供了一种基于移动四面体的地质体建模方法,包括:As shown in Figure 1, the embodiment of the present invention provides a kind of geological body modeling method based on mobile tetrahedron, comprising:
步骤1,获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;
步骤2,基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;Step 2, constructing an implicit surface function model based on the boundary point information data, and solving the implicit surface function model to obtain the implicit surface function model of the geological body;
步骤3,根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;Step 3, according to the geological data of the target area and the preset grid resolution, construct multiple cube voxels, and divide each cube voxel to obtain multiple tetrahedral voxels;
步骤4,分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;Step 4. For each tetrahedron voxel, the coordinate values of the four points on the tetrahedron voxel are substituted into the implicit surface function model of the geological body for calculation, and the corresponding four points on all tetrahedron voxels are obtained. The implicit surface function value of ;
步骤5,根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型。Step 5: Cut all the tetrahedral voxels according to the values of the implicit surface functions to obtain the 3D solid model of the geological body in the target area.
具体来说,步骤1包括:Specifically,
获取目标区域的钻孔勘探数据;Obtain borehole exploration data in the target area;
对钻孔勘探数据进行组合样分析,得到目标区域的岩性样本;Combined sample analysis is carried out on the drilling exploration data to obtain the lithology samples of the target area;
对目标区域内相邻的不同岩性样本进行处理,得到地质体表面的边界点信息数据。The adjacent different lithological samples in the target area are processed to obtain the boundary point information data on the surface of the geological body.
在本发明实施例中,在对目标区域进行钻孔勘探时,需要对勘探过程中的数据进行记录,例如钻孔段的方位角、倾角、层底高程、层底深度、分层厚度等钻孔勘探数据;而在完成钻孔勘探工程之后,会对这些数据进行处理,并整理为相应的柱状图,而根据这些钻孔柱状图便可以进行分析,得到钻孔所处的具体位置,钻孔的测斜信息、取样情况等。对这些数据进行整理可得到四张相关表格:钻孔开孔表、钻孔测斜数据表、钻孔岩性表以及钻孔样品分析表。对这些数据进行组合样分析便可获得地层的组合样表。通过这一系列的整理、分析、编录操作后,得以迅速获得某段钻孔的岩性及其他相关信息。对相邻的不同岩性样品段进行处理便可得到边界点信息数据,而边界点信息数据会被作为初始数据。In the embodiment of the present invention, when performing drilling exploration on the target area, it is necessary to record the data during the exploration process, such as the azimuth, inclination angle, bottom elevation, bottom depth, and layer thickness of the drilling section. hole exploration data; after the completion of the drilling exploration project, these data will be processed and sorted into corresponding histograms, and according to these drilling histograms can be analyzed to obtain the specific location of the borehole, and the drill Hole inclinometer information, sampling conditions, etc. After sorting these data, four related tables can be obtained: drill hole opening table, drill hole inclination data table, drill hole lithology table and drill hole sample analysis table. Combination sample analysis of these data can obtain the formation combination sample table. After a series of collation, analysis, and catalog operations, the lithology and other relevant information of a certain section of drilling can be quickly obtained. The boundary point information data can be obtained by processing the adjacent different lithology sample segments, and the boundary point information data will be used as the initial data.
具体来说,步骤2,基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型,包括:Specifically, in step 2, the implicit surface function model is constructed based on the boundary point information data, and the implicit surface function model is solved to obtain the implicit surface function model of the geological body, including:
在对原始的钻孔勘探数据进行预处理后,可以得到地质体表面上的边界点集坐标以及法向量等信息,将这些数据信息作为求解隐式曲面函数的初始输入数据,并选择较为适合的隐式曲面重建方法来构建地质体隐式曲面函数模型,本发明实施例中所使用的隐式曲面重建方法为基于一阶多项式的径向基隐式曲面重建方法,构建隐式曲面函数方程式并对其进行求解,得到地质体表面的隐式曲面函数模型。After preprocessing the original borehole exploration data, information such as boundary point set coordinates and normal vectors on the surface of the geological body can be obtained, and these data information can be used as the initial input data for solving the implicit surface function, and a more suitable one can be selected. The implicit surface reconstruction method is used to construct the implicit surface function model of the geological body. The implicit surface reconstruction method used in the embodiment of the present invention is the radial basis implicit surface reconstruction method based on the first-order polynomial, and the implicit surface function equation is constructed and It is solved to obtain the implicit surface function model of the surface of the geological body.
具体来说,步骤3,根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元,包括:Specifically, in step 3, according to the geological data of the target area and the preset grid resolution, a plurality of cubic voxels are constructed, and each cubic voxel is divided to obtain multiple tetrahedral voxels, including:
对目标区域的地质数据进行分析,根据所设定的网格分辨率来构造立方体体元,随后对立方体进行逐个细分,将每个立方体体元划分为五个四面体体元。Analyze the geological data of the target area, construct cube voxels according to the set grid resolution, and then subdivide the cube one by one, and divide each cube voxel into five tetrahedron voxels.
具体来说,步骤4,分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值,包括:Specifically, in step 4, for each tetrahedron voxel, the coordinate values of the four points on the tetrahedron voxel are substituted into the implicit surface function model of the geological body for calculation, and the four The implicit surface function value corresponding to points, including:
在本发明实施例中分别将所有四面体体元上的四个点位的坐标值代入地质体表面的隐式曲面函数模型中,得到所有四面体体元上的四个点位所对应的隐式曲面函数值;每个点位的隐式曲面函数值代表了该点位与隐式曲面之间的距离,隐式曲面函数值为正则代表该点位位于隐式曲面内部,隐式曲面函数值为负则代表该点位位于隐式曲面外部,如果隐式曲面函数值为零,则代表该点位位于隐式曲面上。In the embodiment of the present invention, the coordinate values of the four points on all tetrahedron voxels are respectively substituted into the implicit curved surface function model of the surface of the geological body, and the hidden values corresponding to the four points on all tetrahedron voxels are obtained The value of the implicit surface function; the value of the implicit surface function of each point represents the distance between the point and the implicit surface, and the value of the implicit surface function means that the point is located inside the implicit surface, and the implicit surface function A negative value means that the point is outside the implicit surface, and if the value of the implicit surface function is zero, it means that the point is on the implicit surface.
具体来说,在步骤5之前,还包括:Specifically, before step 5, it also includes:
根据所有四面体体元上四个点位对应的隐式曲面函数值与预设的网格大小之间的关系,通过中心差分法对所有四面体体元上四个点位进行求解,得到与各个点位对应的梯度值;According to the relationship between the implicit surface function values corresponding to the four points on all tetrahedron voxels and the preset grid size, the four points on all tetrahedron voxels are solved by the central difference method, and the The gradient value corresponding to each point;
将与各个点位对应的梯度值作为所有四面体体元上四个点位的法向量。The gradient value corresponding to each point is used as the normal vector of the four points on all tetrahedral voxels.
在本发明实施例中,在得到所有四面体体元上的四个点位所对应的隐式曲面函数值之后,结合所设定的地质体网格大小,使用中心差分法求解各点位的梯度值,将与各个点位对应的梯度值作为所有四面体体元上四个点位的法向量,使得所建立的模型更加连续、平滑。In the embodiment of the present invention, after obtaining the implicit surface function values corresponding to the four points on all tetrahedral voxels, combined with the set geological body grid size, the central difference method is used to solve the Gradient value, the gradient value corresponding to each point is used as the normal vector of the four points on all tetrahedral voxels, making the established model more continuous and smooth.
具体来说,中心差分法的表达式为:Specifically, the expression of the central difference method is:
通过中心差分法对所有四面体体元上四个点位进行求解,得到与各个点位对应的梯度值为:The four points on all tetrahedral voxels are solved by the central difference method, and the gradient value corresponding to each point is obtained:
其中,梯度值作为所有四面体体元上四个点位的法向量/>,/>为网格序列号,/> 分别为网格在X、Y、Z三个方向上的长度,/>为隐式曲面函数值的求解表达式。Among them, the gradient value as the normal vectors of the four points on all tetrahedral voxels /> , /> is the grid serial number, /> are the lengths of the grid in the X, Y, and Z directions respectively, /> Evaluate expression for the value of the implicit surface function.
具体来说,在步骤5之前,还包括:Specifically, before step 5, it also includes:
根据所有四面体体元上四个点位对应的隐式曲面函数值,分别对每个四面体体元的所有边进行等值点提取,得到等值点集合;According to the implicit surface function values corresponding to the four points on all tetrahedron voxels, extract equivalent points from all sides of each tetrahedron voxel to obtain a set of equivalent points;
根据四面体体元上各点位的隐式曲面函数值,可以分析得到隐式曲面模型与四面体体元的相交情况,在本发明实施例中,以一个四面体体元为例,定义四面体体元上的四个点位为p1、p2、p3、p4,则隐式曲面函数模型与四面体体元之间的关系共有十六种情况,如图2所示,(a)中四个点的隐式函数值均大于零,则该四面体位于隐式曲面内部,无等值点;(b)中p1的隐式函数值小于零,p2、p3、p4的隐式函数值大于零,则分别提取出p1p2、p1p3、p1p4上的等值点c、a、b,以c、a、b作为三角形顶点,构成等值面;(c)中p2的隐式函数值小于零,p1、p3、p4的隐式函数值大于零,则分别提取出p1p2、p2p3、p3p4上的等值点c、a、b,以c、a、b作为三角形顶点,构成等值面;(d)中p3的隐式函数值小于零,p1、p2、p4的隐式函数值大于零,则分别提取出p1p3、p2p3、p3p4上的等值点a、b、c,以a、b、c作为三角形顶点,构成等值面;(e)中p4的隐式函数值小于零,p1、p2、p3的隐式函数值大于零,则分别提取出p1p4、p2p3、p3p4上的等值点c、b、a,以c、b、a作为三角形顶点,构成等值面;(f)中p1、p2的隐式函数值小于零,p3、p4的隐式函数值大于零,则分别提取出p1p3、p2p3、p2p4、p1p4上的等值点a、b、c、d,以a、b、c、d作为四边形顶点,构成等值面;(g)中p1、p3的隐式函数值小于零,p2、p4的隐式函数值大于零,则分别提取出p1p2、p2p3、p3p4、p1p4上的等值点a、b、c、d,以a、b、c、d作为四边形顶点,构成等值面;(h)中p1、p4的隐式函数值小于零,p2、p3的隐式函数值大于零,则分别提取出p1p2、p1p3、p3p4、p1p4上的等值点a、b、c、d,以a、b、c、d作为四边形顶点,构成等值面;(i)p2、p3的隐式函数值小于零,p1、p4的隐式函数值大于零,则分别提取出p1p3、p1p2、p2p4、p1p2上的等值点a、b、c、d,以a、b、c、d作为四边形顶点,构成等值面;(j)中p2、p4的隐式函数值小于零,p1、p3的隐式函数值大于零,则分别提取出p1p2、p2p3、p3p4、p1p4上的等值点a、b、c、d,以a、b、c、d作为四边形顶点,构成等值面;(k)中p3、p4的隐式函数值小于零,p1、p2的隐式函数值大于零,则分别提取出p1p3、p2p3、p2p4、p1p4上的等值点a、b、c、d,以a、b、c、d作为四边形顶点,构成等值面;(l)中p1、p2、p3的隐式函数值小于零,p4的隐式函数值大于零,则分别提取出p1p4、p2p4、p3p4上的等值点c、b、a,以c、b、a作为三角形顶点,构成等值面;(m)中p1、p2、p4的隐式函数值小于零p3的隐式函数值大于零,则分别提取出p1p3、p2p3、p3p4上的等值点a、b、c,以a、b、c作为三角形顶点,构成等值面;(n)中p1、p3、p4的隐式函数值小于零,p2的隐式函数值大于零,则分别提取出p1p2、p2p3、p2p4上的等值点c、a、b,以c、a、b作为三角形顶点,构成等值面;(o)中p2、p3、p4的隐式函数值小于零,p1的隐式函数值大于零,则分别提取出p1p2、p1p3、p1p4上的等值点c、a、b,以c、a、b作为三角形顶点,构成等值面;(p)中四个点的隐式函数值均小于零,则该四面体位于隐式曲面外部,无等值点;对该四面体体元各边进行等值点的提取,依次遍历所有四面体体元并进行等值点的提取,得到最终的等值点集合。而在提取等值点的过程中,使用到了线性插值法,在得到所需提取等值点的隐式函数值的情况下,根据四面体体元边的两点上的位置坐标X、Y、Z法向量以及对应的隐式曲面函数值进行线性插值,得到等值点的X、Y、Z坐标以及法向量,线性插值公式为:According to the implicit surface function value of each point on the tetrahedron voxel, the intersection of the implicit surface model and the tetrahedron voxel can be analyzed. In the embodiment of the present invention, a tetrahedron voxel is taken as an example to define a tetrahedral voxel The four points on the voxel are p 1 , p 2 , p 3 , p 4 , then there are sixteen situations of the relationship between the implicit surface function model and the tetrahedral voxel, as shown in Figure 2, ( The implicit function values of the four points in a) are all greater than zero, then the tetrahedron is located inside the implicit surface, and there is no equivalent point; in (b) the implicit function value of p 1 is less than zero, p 2 , p 3 , If the implicit function value of p 4 is greater than zero, the equivalent points c, a, and b on p 1 p 2 , p 1 p 3 , and p 1 p 4 are respectively extracted, and c, a, and b are used as triangle vertices to form Isosurface; in (c), the implicit function value of p 2 is less than zero, and the implicit function value of p 1 , p 3 , p 4 is greater than zero, then p 1 p 2 , p 2 p 3 , p 3 are extracted respectively The equivalence points c, a, b on p 4 , with c, a, b as the vertices of the triangle, constitute the isosurface; the implicit function value of p 3 in (d) is less than zero, p 1 , p 2 , p 4 If the value of the implicit function is greater than zero, the equivalent points a, b, and c on p 1 p 3 , p 2 p 3 , and p 3 p 4 are respectively extracted, and a, b, and c are used as triangle vertices to form the equivalent surface; in (e), the implicit function value of p 4 is less than zero, and the implicit function values of p 1 , p 2 , p 3 are greater than zero, then p 1 p 4 , p 2 p 3 , p 3 p 4 are extracted respectively The equivalence points c, b, a on , with c, b, a as triangle vertices, constitute the isosurface; in (f), the implicit function values of p 1 , p 2 are less than zero, and the implicit function values of p 3 , p 4 If the value of the formula function is greater than zero, the equivalent points a, b, c, d on p 1 p 3 , p 2 p 3 , p 2 p 4 , p 1 p 4 are respectively extracted, and a, b, c, d As the vertices of a quadrilateral, it forms an isosurface; in (g), the implicit function values of p 1 and p 3 are less than zero, and the implicit function values of p 2 and p 4 are greater than zero, then p 1 p 2 and p 2 are extracted respectively Equivalent points a, b, c, d on p 3 , p 3 p 4 , p 1 p 4 , take a, b, c, d as quadrilateral vertices to form an isosurface; in (h) p 1 , p The implicit function value of 4 is less than zero, and the implicit function values of p 2 and p 3 are greater than zero, then the equivalent points on p 1 p 2 , p 1 p 3 , p 3 p 4 , and p 1 p 4 are extracted respectively a, b, c, d, take a, b, c, d as the vertices of the quadrilateral to form an isosurface; (i) the implicit function values of p 2 and p 3 are less than zero, and the implicit function values of p 1 and p 4 If the value is greater than zero, the equivalent points a, b, c, and d on p 1 p 3 , p 1 p 2 , p 2 p 4 , and p 1 p 2 are respectively extracted, and a, b, c, and d are used as quadrilaterals The vertices constitute the isosurface; in (j), the implicit function values of p 2 and p 4 are less than zero, and the implicit function values of p 1 and p 3 are greater than zero, then p 1 p 2 and p 2 p 3 are extracted respectively , p 3 p 4 , p 1 p 4 are the equivalent points a, b, c, d, with a, b, c, d as the vertices of the quadrilateral to form an isosurface; in (k) p 3 , p 4 The value of the implicit function is less than zero, and the value of the implicit function of p 1 and p 2 is greater than zero, then the equivalent points a, b, c, d, with a, b, c, d as the vertices of the quadrilateral to form an isosurface; in (l), the implicit function values of p 1 , p 2 , p 3 are less than zero, and the implicit function value of p 4 is greater than zero, extract the equivalent points c, b, and a on p 1 p 4 , p 2 p 4 , and p 3 p 4 respectively, and use c, b, and a as triangle vertices to form an isosurface; (m) The implicit function value of p 1 , p 2 , p 4 is less than zero, and the implicit function value of p 3 is greater than zero, then the equivalent point a on p 1 p 3 , p 2 p 3 , p 3 p 4 is extracted respectively , b, c, with a, b, c as the vertices of the triangle to form an isosurface; in (n), the implicit function value of p 1 , p 3 , p 4 is less than zero, and the implicit function value of p 2 is greater than zero, Then extract the equivalent points c, a, b on p 1 p 2 , p 2 p 3 , p 2 p 4 respectively, and use c, a, b as triangle vertices to form an iso-value surface; in (o) p 2 , p 3 , p 4 whose implicit function value is less than zero, and the implicit function value of p 1 is greater than zero, then the equivalent points c and a on p 1 p 2 , p 1 p 3 , p 1 p 4 are respectively extracted , b, with c, a, b as the vertices of the triangle to form an isosurface; if the implicit function values of the four points in (p) are all less than zero, then the tetrahedron is located outside the implicit surface and has no equivalent points; Equivalence points are extracted from each side of the tetrahedron voxel, and all tetrahedron voxels are traversed in turn to extract equivalent points to obtain a final set of equivalent points. In the process of extracting the equivalent points, the linear interpolation method is used. In the case of obtaining the implicit function value of the equivalent points to be extracted, according to the position coordinates X , Y , The Z normal vector and the corresponding implicit surface function value are linearly interpolated to obtain the X , Y , Z coordinates and normal vector of the equivalent point. The linear interpolation formula is:
其中,为等值点坐标值,/>、/>为等值点所在直线两端点的坐标值,/>为提取等值面的阈值,/>为隐式曲面函数的求解表达式;in, is the coordinate value of the equivalent point, /> , /> is the coordinate value of the two ends of the straight line where the equivalent point is located, /> is the threshold for extracting the isosurface, /> is the solution expression of the implicit surface function;
根据等值点集合,依次在每个四面体体元内进行三角面片绘制,得到与目标区域的地质体对应的等值面。According to the set of isovalue points, the triangular surface is drawn sequentially in each tetrahedron voxel, and the isosurface corresponding to the geological body in the target area is obtained.
具体来说,步骤5包括:Specifically, step 5 includes:
在本发明实施例中,进行四面体切割及隐式曲面内部四面体提取,当判断隐式曲面通过该四面体体元时,在提取等值面的基础上对四面体体元进行切割,得到四面体、三棱柱等基本单元。四面体体元的切割共有十六种情况,其切割方式如图3所示,图3中从(a)-(p)的十六种切割示意图与图2中(a)-(p)十六种等值点提取情况一一对应。In the embodiment of the present invention, tetrahedron cutting and tetrahedron extraction inside the implicit curved surface are carried out. When it is judged that the implicit curved surface passes through the tetrahedral voxel, the tetrahedral voxel is cut on the basis of extracting the isosurface to obtain Basic units such as tetrahedron and triangular prism. There are sixteen kinds of tetrahedral voxel cutting, and the cutting methods are shown in Figure 3. The sixteen cutting diagrams from (a)-(p) in Figure 3 are the same as those in Figure 2 (a)-(p). The six equivalence point extraction situations correspond one by one.
根据规则四面体四个点位的隐式曲面函数值进行四面体切割及内部四面体的提取;首先,定义四个点位的约束值均大于零的四面体体元为绝对内部四面体,定义四个点位中至少有一个点位的约束值小于或等于零的四面体体元为边界四面体;以等值面为分界面,对边界四面体进行四面体切割,得到边界四面体位于隐式曲面外部的部分以及位于隐式曲面内部的部分;保留边界四面体位于隐式曲面内部的部分,完成边界四面体的分割,随后判断出四个点位都处于隐式曲面内部的四面体作为绝对四面体,绝对内部四面体与边界四面体位于隐式曲面内部的部分构成目标区域的地质体三维实体模型,地质体三维实体模型的截面图如图4所示。Cut the tetrahedron and extract the internal tetrahedron according to the implicit surface function values of the four points of the regular tetrahedron; first, define the tetrahedral voxel element whose constraint values at the four points are greater than zero as the absolute internal tetrahedron, define The tetrahedral voxel whose constraint value of at least one point among the four points is less than or equal to zero is the boundary tetrahedron; the isosurface is used as the interface to cut the boundary tetrahedron by tetrahedron, and the boundary tetrahedron is located in the implicit The part outside the surface and the part inside the implicit surface; keep the part of the boundary tetrahedron inside the implicit surface, complete the segmentation of the boundary tetrahedron, and then determine the tetrahedron whose four points are all inside the implicit surface as the absolute The tetrahedron, the absolute internal tetrahedron and the part of the boundary tetrahedron located inside the implicit surface constitute the 3D solid model of the geological body in the target area. The cross-sectional view of the 3D solid model of the geological body is shown in Figure 4.
具体来说,在步骤5之后,还包括:Specifically, after step 5, also include:
使用欧拉四面体公式对地质体三维实体模型进行计算,得到地质体的体积。Using the Euler tetrahedron formula to calculate the three-dimensional solid model of the geological body, the volume of the geological body is obtained.
在本发明实施例中,地质体的体积为:In the embodiment of the present invention, the volume of the geological body is:
构建的地质体三维实体模型由四面体、三棱柱等体元构成;The constructed three-dimensional solid model of geological body is composed of voxels such as tetrahedron and triangular prism;
对于四面体体元,使用欧拉四面体公式计算四面体的体积;For tetrahedral voxels, use the Euler tetrahedron formula to calculate the volume of the tetrahedron;
对于三棱柱体元,首先将三棱柱体元划分为三个四面体体元,随后使用欧拉四面体公式计算得到三棱柱的体积。For the triangular prism voxel, first divide the triangular prism voxel into three tetrahedral voxels, and then use the Euler tetrahedron formula to calculate the volume of the triangular prism.
欧拉四面体体积计算公式根据四面体体元的六个边的长度记性计算,得到四面体的体积;定义原点为O,点A、B、C的坐标分别为,/>,/>,四面体O-ABC的六条棱长分别为1、m、n、p、q、r,则四面体的体积计算公式为:The formula for calculating the volume of the Euler tetrahedron is based on the memorized calculation of the lengths of the six sides of the tetrahedron element to obtain the volume of the tetrahedron; the origin is defined as O, and the coordinates of points A, B, and C are respectively , /> , /> , the lengths of the six edges of the tetrahedron O-ABC are 1, m, n, p, q, r respectively, then the formula for calculating the volume of the tetrahedron is:
依照上述公式计算得到所有四面体及三棱柱的体积并进行求和,最终得到地质体的体积。Calculate and sum the volumes of all tetrahedrons and triangular prisms according to the above formula, and finally obtain the volume of the geological body.
本发明实施例通过获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型;以解决传统方法中建立地质体精度较低、与地质体匹配度较低的问题,建立与实际地质体更为匹配的地质实体模型,提高了地质体的建模精度和匹配度。In the embodiment of the present invention, the boundary point information data on the surface of the geological body is obtained by acquiring the drilling exploration data in the target area; the implicit surface function model is constructed based on the boundary point information data, and the implicit surface function model is solved to obtain the implicit surface function model of the geological body. Surface function model; according to the geological data of the target area and the preset grid resolution, construct multiple cubic voxels, and divide each cubic voxel to obtain multiple tetrahedral voxels; for each tetrahedral voxel respectively Volume element, the coordinate values of the four points on the tetrahedron voxel are substituted into the implicit surface function model of the geological body for calculation, and the implicit surface function values corresponding to the four points on all tetrahedron voxels are obtained; according to Each implicit surface function value cuts all tetrahedral voxels to obtain the 3D solid model of the geological body in the target area; to solve the problems of low precision and low matching degree of the geological body in the traditional method, the establishment and actual The geological entity model that matches the geological body better improves the modeling accuracy and matching degree of the geological body.
本发明实施例还提供了一种基于移动四面体的地质体建模装置,包括:The embodiment of the present invention also provides a geological body modeling device based on moving tetrahedrons, including:
获取模块,用于获取目标区域的钻孔勘探数据得到地质体表面的边界点信息数据;The obtaining module is used to obtain the drilling exploration data in the target area to obtain the boundary point information data on the surface of the geological body;
构建模块,用于基于边界点信息数据构建隐式曲面函数模型,并对隐式曲面函数模型进行求解,得到地质体隐式曲面函数模型;The construction module is used for constructing the implicit surface function model based on the boundary point information data, and solving the implicit surface function model to obtain the geological body implicit surface function model;
划分模块,用于根据目标区域的地质数据和预设的网格分辨率,构建包括多个立方体体元,并将每个立方体体元进行划分,得到多个四面体体元;The division module is used to construct a plurality of cube voxels according to the geological data of the target area and the preset grid resolution, and divide each cube voxel to obtain a plurality of tetrahedron voxels;
计算模块,用于分别针对每个四面体体元,将四面体体元上四个点位的坐标值均代入地质体隐式曲面函数模型进行计算,得到与所有四面体体元上四个点位对应的隐式曲面函数值;The calculation module is used to substitute the coordinate values of the four points on the tetrahedral voxel into the implicit surface function model of the geological body for each tetrahedral voxel, and obtain the four points on all tetrahedral voxels The value of the implicit surface function corresponding to the bit;
切割模块,用于根据各个隐式曲面函数值对所有四面体体元进行切割,得到目标区域的地质体三维实体模型。The cutting module is used to cut all the tetrahedral voxels according to the values of the implicit surface functions to obtain the three-dimensional solid model of the geological body in the target area.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本发明实施例的方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same idea as the method embodiment of the embodiment of the present invention, and its specific functions and technical effects can be found in the method embodiment. part, which will not be repeated here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本发明实施例的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention. For the specific working processes of the units and modules in the above system, reference may be made to the corresponding processes in the aforementioned method embodiments, and details will not be repeated here.
本发明实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现基于移动四面体的地质体建模方法。The embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, a geological body modeling method based on a moving tetrahedron is realized.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到构建装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the embodiment of the present invention implements all or part of the processes in the methods of the above embodiments, which can be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can realize the steps of the above-mentioned various method embodiments. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program codes to a construction device/terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. Such as U disk, mobile hard disk, magnetic disk or CD, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
本发明实施例还提供了一种终端设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现基于移动四面体的地质体建模方法。An embodiment of the present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the geological body modeling method based on the mobile tetrahedron is implemented. .
需要说明的是,终端设备可以是手机、平板电脑、笔记本电脑、超级移动个人计算机(UMPC,Ultra-mobile Personal Computer)、上网本、个人数字助理(PDA,PersonalDigital Assistant)等终端设备上,例如,终端设备可以是WLAN中的站点(ST,STAION),可以是蜂窝电话、无绳电话、会话启动协议(SIP,Session Initiation Protocol)电话、无线本地环路(WLL,Wireless Local Loop)站、个人数字处理(PDA,Personal DigitalAssistant)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、电脑、膝上型计算机、手持式通信设备、手持式计算设备、卫星无线设备等。本发明实施例对终端设备的具体类型不作任何限制。It should be noted that the terminal device may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC, Ultra-mobile Personal Computer), a netbook, a personal digital assistant (PDA, PersonalDigital Assistant) and other terminal devices, for example, a terminal The device can be a station (ST, STION) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP, Session Initiation Protocol) phone, a wireless local loop (WLL, Wireless Local Loop) station, a personal digital processing ( PDA, Personal Digital Assistant) device, handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, computer, laptop computer, handheld communication device, handheld computing device, satellite wireless device, etc. The embodiment of the present invention does not impose any limitation on the specific type of the terminal device.
所称处理器可以是中央处理单元(CPU,Central Processing Unit),该处理器还可以是其他通用处理器、数字信号处理器(DSP,Digital Signal Processor)、专用集成电路(ASIC,Application Specific Integrated Circuit)、现成可编程门阵列(FPGA,Field-Programmable Gate Array)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor can be a central processing unit (CPU, Central Processing Unit), and the processor can also be other general-purpose processors, a digital signal processor (DSP, Digital Signal Processor), an application specific integrated circuit (ASIC, Application Specific Integrated Circuit ), off-the-shelf programmable gate array (FPGA, Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器在一些实施例中可以是所述终端设备的内部存储单元,例如终端设备的硬盘或内存。所述存储器在另一些实施例中也可以是所述终端设备的外部存储设备,例如所述终端设备上配备的插接式硬盘,智能存储卡(SMC,Smart Media Card),安全数字(SD,Secure Digital)卡,闪存卡(Flash Card)等。进一步地,所述存储器还可以既包括所述终端设备的内部存储单元也包括外部存储设备。所述存储器用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器还可以用于暂时地存储已经输出或者将要输出的数据。In some embodiments, the storage may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. In other embodiments, the memory may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart memory card (SMC, Smart Media Card), a secure digital (SD, Secure Digital) card, flash memory card (Flash Card), etc. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store operating system, application program, boot loader (BootLoader), data and other programs, such as the program code of the computer program. The memory can also be used to temporarily store data that has been output or will be output.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本发明实施例中的方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment in the embodiment of the present invention, and its specific functions and technical effects can be found in the method implementation The example part is not repeated here.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310499952.1A CN116206079B (en) | 2023-05-06 | 2023-05-06 | Geological body modeling method and related equipment based on moving tetrahedron |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310499952.1A CN116206079B (en) | 2023-05-06 | 2023-05-06 | Geological body modeling method and related equipment based on moving tetrahedron |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116206079A CN116206079A (en) | 2023-06-02 |
CN116206079B true CN116206079B (en) | 2023-06-30 |
Family
ID=86517751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310499952.1A Active CN116206079B (en) | 2023-05-06 | 2023-05-06 | Geological body modeling method and related equipment based on moving tetrahedron |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116206079B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116630568B (en) * | 2023-07-24 | 2023-11-03 | 航天宏图信息技术股份有限公司 | Geological three-dimensional model generation method and device based on point, line and surface structures |
CN116977588B (en) * | 2023-09-21 | 2023-12-19 | 煤炭科学研究总院有限公司 | Cutting curve generation method and device based on voxel grid geological model |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5390035A (en) * | 1992-12-23 | 1995-02-14 | International Business Machines Corporation | Method and means for tetrahedron/octahedron packing and tetrahedron extraction for function approximation |
EP1024436A2 (en) * | 1999-01-29 | 2000-08-02 | Mitsubishi Denki Kabushiki Kaisha | Method for generating graphic objects represented as surface elements |
CN102194253A (en) * | 2011-06-15 | 2011-09-21 | 北京航空航天大学 | Method for generating tetrahedron gridding for three-dimensional geological structure |
CN102254349A (en) * | 2011-06-30 | 2011-11-23 | 华东师范大学 | Method for constructing three-dimensional physical model of sedimentary stratum system by using drilling data |
CN111986325A (en) * | 2020-08-25 | 2020-11-24 | 东北大学 | An Implicit Sectioning Method for 3D Geological Model |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9789651B2 (en) * | 2014-01-09 | 2017-10-17 | Siemens Product Lifecycle Management Software, Inc. | Method for structure preserving topology optimization of lattice structures for additive manufacturing |
FR3016983A1 (en) * | 2014-01-28 | 2015-07-31 | IFP Energies Nouvelles | METHOD FOR CONSTRUCTING A VOLUME MESH FOR MODELING GEOLOGICAL STRUCTURES |
EP3251096B1 (en) * | 2015-01-28 | 2024-07-10 | Koninklijke Philips N.V. | Finite element modeling of anatomical structure |
-
2023
- 2023-05-06 CN CN202310499952.1A patent/CN116206079B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5390035A (en) * | 1992-12-23 | 1995-02-14 | International Business Machines Corporation | Method and means for tetrahedron/octahedron packing and tetrahedron extraction for function approximation |
EP1024436A2 (en) * | 1999-01-29 | 2000-08-02 | Mitsubishi Denki Kabushiki Kaisha | Method for generating graphic objects represented as surface elements |
CN102194253A (en) * | 2011-06-15 | 2011-09-21 | 北京航空航天大学 | Method for generating tetrahedron gridding for three-dimensional geological structure |
CN102254349A (en) * | 2011-06-30 | 2011-11-23 | 华东师范大学 | Method for constructing three-dimensional physical model of sedimentary stratum system by using drilling data |
CN111986325A (en) * | 2020-08-25 | 2020-11-24 | 东北大学 | An Implicit Sectioning Method for 3D Geological Model |
Non-Patent Citations (1)
Title |
---|
移动立方体算法的地质体三维空间形态模拟;邹艳红;何建春;;测绘学报(06);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN116206079A (en) | 2023-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116206079B (en) | Geological body modeling method and related equipment based on moving tetrahedron | |
Jones | Data structures for three-dimensional spatial information systems in geology | |
US20100082703A1 (en) | Octree construction on graphics processing units | |
CN102194253A (en) | Method for generating tetrahedron gridding for three-dimensional geological structure | |
CN103413297A (en) | Cutting method based on integrated three-dimensional GIS model | |
CN116030218A (en) | Tetrahedral mesh dividing method, device, system and storage medium | |
CN116630568B (en) | Geological three-dimensional model generation method and device based on point, line and surface structures | |
CN119295513B (en) | A registration method, device and storage medium for a real-scene model of a construction chamber section | |
CN118015219B (en) | Method, device and equipment for generating geological model based on qualitative Kriging interpolation | |
CN115984503A (en) | Geological profile generation method, geological profile generation system, electronic equipment and medium | |
CN114332291A (en) | Oblique photography model building outer contour rule extraction method | |
CA3037575A1 (en) | Geometric modelling for facilitating simulation for manufacturing operations | |
CN102651144A (en) | A method for fast and dynamic generation of geological body linear octree | |
Lindow et al. | Ligand excluded surface: A new type of molecular surface | |
CN110675498B (en) | Long and large strip-shaped three-dimensional geological environment modeling method and device and terminal equipment | |
CN105844710B (en) | A kind of data detection method during geologic body gridding | |
de Oliveira Miranda et al. | Finite element mesh generation for subsurface simulation models | |
CN111862326B (en) | Storage method and calculation method of geological model, electronic device and storage medium | |
Carr et al. | Representing interpolant topology for contour tree computation | |
CN115239901A (en) | Geological body model construction method, device, equipment and storage medium | |
CN115328373A (en) | Deterministic coefficient calculation method and system | |
CN117237558B (en) | A fracture surface reconstruction method and related equipment based on variational model | |
CN110197528B (en) | Geologic body storage, visualization and interaction method and system | |
CN118468681B (en) | Method and platform for geological model simulation mining process based on dynamic Boolean operation | |
CN119475500A (en) | Building structure recognition method, device and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |