Method, device and equipment for correcting error of model based on profile image, and medium

By editing and correcting the profile images of the three-dimensional geological structure model, the serious model error problem in the prior art is solved, and more efficient and accurate model error correction and update are achieved.

CN119540475APending Publication Date: 2025-02-28CHINA NAT PETROLEUM CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311092531.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

There are difficulties in the existing three-dimensional geological tectonic model modeling technology, which leads to serious error problems in the model and is unable to achieve high-precision comprehensive exploration.

Method used

By cutting the three-dimensional geological tectonic model to display its profile image, users can edit the formation lines and fault lines, add control points to update the model, and regenerate the model using the hidden function modeling method.

Benefits of technology

The error correction efficiency and accuracy of the model are improved, making the three-dimensional geological structure model more accurate and reliable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119540475A_ABST
    Figure CN119540475A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device and equipment for correcting errors of a model based on a profile image, and a medium, and belongs to the technical field of computers. The method comprises: in response to a cutting operation on a three-dimensional geologic structure model of any region, displaying a profile image of the three-dimensional geologic structure model, the profile image comprising at least one of a stratigraphic line and a fault line; in response to an editing operation on the stratum line or the fault line, determining a plurality of points in the edited stratum line or a plurality of points in the edited fault line; adding a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line into the geological data of the region in the form of control points, wherein the weight coefficient of the control points is greater than that of the scattered points; and based on the weight coefficients of the control points, the weight coefficients of the scatter points and the control points and the scatter points in the geological data, regenerating a three-dimensional geological structure model of the region. The error correction mode is simpler and easier to operate, and the error correction efficiency of the three-dimensional geological structure model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of oil and gas exploration, and in particular to a method, device, equipment and medium for correcting errors in a model based on a profile image. Background Art

[0002] The three-dimensional geological structure model is a model that reflects the geometric shape of the geological structure and the macroscopic contact relationship between various geological structural elements. It plays an important role in geological structure description, geophysical forward and inversion, oil and gas field development, and drilling guidance.

[0003] However, there are many difficulties in the modeling technology of three-dimensional geological structure models and obstacles in the implementation of the technology. For example, in the modeling process of complex layers and geological bodies, the existence of geological structures such as inverted folds and pinch-outs causes multi-valued geological structures formed by spatial discontinuity and complex structural deformation, which greatly increases the difficulty of modeling. In addition, the current exploration technology has limitations and cannot conduct high-precision and comprehensive exploration of geological information, resulting in serious error problems in the generated three-dimensional geological structure models. Summary of the invention

[0004] The embodiment of the present application provides a method, device, equipment and medium for correcting errors of a model based on a cross-sectional image, provides a simple-to-operate error correction method, and improves the error correction efficiency of the model. The technical solution is as follows:

[0005] In one aspect, a method for correcting an error of a model based on a cross-sectional image is provided, the method comprising:

[0006] In response to a cutting operation on a three-dimensional geological structure model of any region, a cross-sectional image of the three-dimensional geological structure model is displayed, wherein the three-dimensional geological structure model is generated based on geological data of the region, the geological data comprising a plurality of scattered points for representing a stratigraphic surface of the region and a plurality of scattered points for representing a fault surface of the region, and the cross-sectional image comprises at least one of a stratigraphic line and a fault line;

[0007] In response to an editing operation on the stratigraphic line or the fault line, determining a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line;

[0008] adding a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line to the geological data of the region in the form of control points, wherein the weight coefficient of the control point is greater than the weight coefficient of the scattered points;

[0009] Based on the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data, a three-dimensional geological structure model of the region is regenerated.

[0010] In a possible implementation, regenerating the three-dimensional geological structure model of the region based on the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data includes:

[0011] An implicit function modeling method is adopted to process the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data to obtain a three-dimensional geological structure model of the area.

[0012] In a possible implementation, the method further includes:

[0013] In response to an editing operation on the stratum line or the fault line, determining whether a fault contact relationship of the edited cross-sectional image changes;

[0014] The method of regenerating the three-dimensional geological structure model of the region based on the weight coefficient of the control point, the weight coefficient of the scattered point, and the control point and the scattered point in the geological data comprises:

[0015] If the fault contact relationship of the edited cross-sectional image changes, the three-dimensional geological structure model of the area is regenerated based on the fault contact relationship of the edited cross-sectional image, the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data.

[0016] In a possible implementation, the cross-sectional image is composed of a plurality of triangular meshes, and the lines used to represent the boundaries, the lines used to represent the stratum lines, and the lines used to represent the fault lines in the cross-sectional image are all formed by connecting the edges of a plurality of triangular meshes, and the nodes in the stratum lines in the cross-sectional image are the vertices of the edges of each triangular mesh constituting the stratum lines, and the nodes in the fault lines in the cross-sectional image are the vertices of the edges of each triangular mesh constituting the fault lines;

[0017] In response to the editing operation on the stratigraphic line or the fault line, determining a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line comprises:

[0018] In response to an editing operation on a node of the stratigraphic line or the fault line, determining a plurality of nodes in the edited stratigraphic line or a plurality of nodes in the edited fault line;

[0019] Determine the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line as multiple points in the edited stratigraphic line or the multiple points in the edited fault line; or, interpolate based on the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line to obtain multiple points in the edited stratigraphic line or the multiple points in the edited fault line.

[0020] In a possible implementation, the three-dimensional geological structure model is composed of a plurality of tetrahedral grids, and the grids used to represent the boundary of the region, the grids used to represent the stratigraphic plane of the region, and the grids used to represent the fault plane of the region in the three-dimensional geological structure model are all grids composed of the side surfaces of the plurality of tetrahedral grids;

[0021] The method of displaying a cross-sectional image of the three-dimensional geological structure model in response to a cutting operation on the three-dimensional geological structure model of any area comprises:

[0022] In response to a cutting operation on the three-dimensional geological structure model, determining a first plane having a cutting track of the cutting operation as an edge and perpendicular to the three-dimensional geological structure model;

[0023] Intersecting the first plane with the three-dimensional geological structure model to obtain a triangular facet including a plurality of triangular meshes;

[0024] Based on the tetrahedron index corresponding to the triangular mesh in the triangular facet, obtaining first geological sub-data of the three-dimensional geological structure model, wherein the first geological sub-data includes stratigraphic information corresponding to the tetrahedron index;

[0025] Based on the first geological sub-data, the triangular facets are rendered to obtain a cross-sectional image of the three-dimensional geological structure model.

[0026] In a possible implementation, rendering the triangular facet based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model includes:

[0027] For any triangular mesh in the triangular facet, assigning the stratum information corresponding to the tetrahedron index of the triangular mesh to the triangular mesh to obtain a cross-sectional view of the three-dimensional geological structure model; or,

[0028] For any triangular mesh in the triangular patch, the stratigraphic information corresponding to the tetrahedron index of the triangular mesh is assigned to the triangular mesh; the intersection line between different stratigraphic layers in the triangular patch is determined as the stratigraphic line; and based on the determined stratigraphic line, a cross-sectional image of the three-dimensional geological structure model is generated.

[0029] In a possible implementation, generating a cross-sectional image of the three-dimensional geological structure model based on the determined stratigraphic line includes:

[0030] Based on the first geological sub-data, obtaining stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, wherein the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum;

[0031] Based on the stratigraphic information corresponding to each stratigraphic layer, determining the stratigraphic layer to which the intersecting portion of the determined stratigraphic line belongs;

[0032] Based on the determined stratigraphic lines and the subordinate relationship between the determined stratigraphic lines and the strata, a cross-sectional image of the three-dimensional geological structure model is generated.

[0033] In a possible implementation, the determining, based on the stratum information corresponding to each stratum, the stratum to which the intersecting portion of the determined stratum lines belongs, includes:

[0034] For any two of the determined stratum lines, determining whether the two stratum lines intersect;

[0035] If the two stratigraphic lines intersect, determining a new stratigraphic line corresponding to the two stratigraphic lines and a geological interface type of the new stratigraphic line based on stratigraphic information corresponding to each stratigraphic line;

[0036] If the geological interface type of the new stratum corresponding to the two stratum lines is an erosion surface, then the intersection of the two stratum lines belongs to the new stratum;

[0037] If the geological interface type of the new stratum corresponding to the two stratum lines is not an erosion surface, the intersection of the two stratum lines belongs to the old stratum corresponding to the two stratum lines.

[0038] In a possible implementation, rendering the triangular facet based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model includes:

[0039] Based on the tetrahedron index corresponding to the triangular mesh in the triangular facet, obtaining second geological sub-data of the three-dimensional geological structure model, wherein the second geological sub-data includes fault information corresponding to the tetrahedron index;

[0040] Determine a set of fault line segments of the triangular face based on the second geological sub-data, wherein the set of fault line segments includes a fault line corresponding to each stratum;

[0041] Based on the first geological sub-data and the determined set of fault line segments, the triangular facets are rendered to obtain a cross-sectional image of the three-dimensional geological structure model.

[0042] In a possible implementation, the rendering of the triangular facet based on the first geological sub-data and the determined set of fault line segments to obtain a cross-sectional image of the three-dimensional geological structure model includes:

[0043] Based on the first geological sub-data, obtaining stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, wherein the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum;

[0044] Based on the second geological sub-data, fault information corresponding to each fault in the cross-sectional image to be generated is acquired from the three-dimensional geological structure model, wherein the fault information corresponding to the fault includes a fault type and / or a fault contact relationship;

[0045] The implicit function modeling method is used to process the first geological sub-data, the determined fault line segment set, the stratigraphic information corresponding to each stratigraphic layer in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image.

[0046] In a possible implementation, the implicit function modeling method is used to process the first geological sub-data, the determined fault line segment set, the stratum information corresponding to each stratum in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image, and before obtaining the cross-sectional image, the method further includes:

[0047] Based on the set of fault line segments, determining any two fault lines in the cross-sectional image to be generated;

[0048] If there is no intersection between the two fault lines, then determining that the fault contact relationship between the two fault planes corresponding to the two fault lines is a non-contact relationship;

[0049] If there is an intersection between the two fault lines, and the intersection is the endpoint of the first fault line of the two fault lines but not the endpoint of the second fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is an auxiliary fault, the fault type of the fault corresponding to the second fault line is a main fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is an auxiliary-main relationship;

[0050] If there is an intersection between the two fault lines, and the intersection is the endpoint of the second fault line of the two fault lines instead of the endpoint of the first fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is a main fault, the fault type of the fault corresponding to the second fault line is an auxiliary fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is a main-auxiliary relationship;

[0051] If there is an intersection between the two fault lines, and the intersection is the endpoint of each of the two fault lines or is not the endpoint of any of the two fault lines, then the fault contact relationship of the two faults corresponding to the two fault lines is a master-master relationship;

[0052] Based on the determined fault types and fault contact relationship of the two faults corresponding to the two fault lines, the fault information of the two faults is updated.

[0053] In a possible implementation, the implicit function modeling method is used to process the first geological sub-data, the determined fault line segment set, the stratum information corresponding to each stratum in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image, including:

[0054] Determining a stratigraphic line in the to-be-generated cross-sectional image based on the first geological sub-data;

[0055] Determining intersecting stratum lines and fault lines in the cross-sectional image to be generated;

[0056] For the intersecting stratum lines and fault lines, the intersecting parts are deleted from the stratum lines, and the stratum lines and the fault lines are intersected to obtain updated stratum lines and updated fault lines;

[0057] The implicit function modeling method is used to process the first geological sub-data, the updated stratigraphic lines, the updated fault lines, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0058] In a possible implementation, the implicit function modeling method is used to process the first geological sub-data, the updated stratigraphic lines, the updated fault lines, stratigraphic information corresponding to each stratigraphic layer in the to-be-generated cross-sectional image, and fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image, including:

[0059] Based on the updated stratigraphic lines and the updated fault lines, dividing the stratigraphic units in the cross-sectional image to be generated into a plurality of independent closed spaces;

[0060] Get the range segment set of each independent closed space;

[0061] Replacing the line segments in the range line segment set of each independent closed space that coincide with the updated stratum line with the stratum line;

[0062] Replacing the line segments in the range line segment set of each independent closed space that coincide with the updated fault line with the fault line;

[0063] The implicit function modeling method is used to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the cross-sectional image to be generated, and the fault information corresponding to each fault in the cross-sectional image to be generated to obtain the cross-sectional image.

[0064] In a possible implementation, dividing the stratigraphic units in the to-be-generated cross-sectional image into a plurality of independent closed spaces based on the updated stratigraphic lines and the updated fault lines includes:

[0065] For each stratigraphic unit in the cross-sectional image to be generated, performing intersection processing on the top surface and the bottom surface of the stratigraphic unit and the updated fault line;

[0066] If there is no intersection, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces;

[0067] If the updated fault line only has an intersection with the top surface or the bottom surface of the stratigraphic unit, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces;

[0068] If the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a normal fault, and the intersection of the updated fault line with the footwall of the bottom surface is higher than the intersection of the updated fault line with the hanging wall of the top surface, then it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces;

[0069] If the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a reverse fault, and the intersection of the updated fault line with the upper plate of the bottom surface is higher than the intersection of the updated fault line with the lower plate of the top surface, then it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces.

[0070] In a possible implementation, the implicit function modeling method is used to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image, including:

[0071] Triangulate the multiple independent closed spaces to obtain updated triangular facets;

[0072] The implicit function modeling method is adopted to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, and the updated triangular facets are rendered to obtain the profile image.

[0073] On the other hand, a device for correcting errors of a model based on a cross-sectional image is provided, the device comprising:

[0074] a display module, configured to display a cross-sectional image of the three-dimensional geological structure model in response to a cutting operation on the three-dimensional geological structure model of any area, wherein the three-dimensional geological structure model is generated based on geological data of the area, wherein the geological data includes a plurality of scattered points for representing a stratigraphic surface of the area and a plurality of scattered points for representing a fault surface of the area, and wherein the cross-sectional image includes at least one of a stratigraphic line and a fault line;

[0075] A determination module, configured to determine a plurality of points in the edited stratum line or a plurality of points in the edited fault line in response to an editing operation on the stratum line or the fault line;

[0076] An adding module, used for adding a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line to the geological data of the region in the form of control points, wherein the weight coefficient of the control point is greater than the weight coefficient of the scattered points;

[0077] A generation module is used to regenerate a three-dimensional geological structure model of the area based on the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data.

[0078] In a possible implementation, the generation module is used to process the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data using an implicit function modeling method to obtain a three-dimensional geological structure model of the area.

[0079] In a possible implementation, the determination module is used to determine whether the fault contact relationship of the edited cross-sectional image changes in response to an editing operation on the stratum line or the fault line;

[0080] The generation module is used to regenerate the three-dimensional geological structure model of the area based on the fault contact relationship of the edited cross-sectional image, the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data if the fault contact relationship of the edited cross-sectional image changes.

[0081] In a possible implementation, the cross-sectional image is composed of a plurality of triangular meshes, and the lines used to represent the boundaries, the lines used to represent the stratum lines, and the lines used to represent the fault lines in the cross-sectional image are all formed by connecting the edges of a plurality of triangular meshes, and the nodes in the stratum lines in the cross-sectional image are the vertices of the edges of each triangular mesh constituting the stratum lines, and the nodes in the fault lines in the cross-sectional image are the vertices of the edges of each triangular mesh constituting the fault lines;

[0082] The determination module is used to determine a plurality of nodes in the edited stratum line or a plurality of nodes in the edited fault line in response to an editing operation on a node of the stratum line or the fault line;

[0083] The determination module is also used to determine the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line as multiple points in the edited stratigraphic line or the multiple points in the edited fault line; or, to interpolate based on the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line to obtain multiple points in the edited stratigraphic line or the multiple points in the edited fault line.

[0084] In a possible implementation, the three-dimensional geological structure model is composed of a plurality of tetrahedral grids, and the grids used to represent the boundary of the region, the grids used to represent the stratigraphic plane of the region, and the grids used to represent the fault plane of the region in the three-dimensional geological structure model are all grids composed of the side surfaces of the plurality of tetrahedral grids; the display module comprises:

[0085] A plane determination unit, in response to a cutting operation on the three-dimensional geological structure model, determines a first plane having a cutting track of the cutting operation as an edge and being perpendicular to the three-dimensional geological structure model;

[0086] An intersection unit, used for performing intersection processing on the first plane and the three-dimensional geological structure model to obtain a triangular facet including a plurality of triangular meshes;

[0087] An acquisition unit, configured to acquire first geological sub-data of the three-dimensional geological structure model based on a tetrahedron index corresponding to a triangular mesh in the triangular facet, wherein the first geological sub-data includes stratigraphic information corresponding to the tetrahedron index;

[0088] A rendering unit is used to render the triangular facets based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model.

[0089] In a possible implementation, the rendering unit is used to assign the stratum information corresponding to the tetrahedron index of any triangular mesh in the triangular face to the triangular mesh to obtain a cross-sectional view of the three-dimensional geological structure model; or

[0090] The rendering unit is used to assign the stratigraphic information corresponding to the tetrahedron index of any triangular mesh in the triangular patch to the triangular mesh; determine the intersection line between different stratigraphic layers in the triangular patch as the stratigraphic line; and generate a cross-sectional image of the three-dimensional geological structure model based on the determined stratigraphic line.

[0091] In a possible implementation, the rendering unit is used to obtain, based on the first geological sub-data, stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, wherein the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum; based on the stratigraphic information corresponding to each stratum, determine the stratum to which the intersecting part of the determined stratigraphic line belongs; and based on the determined stratigraphic line and the subordinate relationship between the determined stratigraphic line and the stratum, generate a cross-sectional image of the three-dimensional geological structure model.

[0092] In a possible implementation, the rendering unit is used to determine whether any two of the determined stratigraphic lines intersect; if the two stratigraphic lines intersect, then based on the stratigraphic information corresponding to the respective stratigraphic lines, determine a new stratum corresponding to the two stratigraphic lines and a geological interface type of the new stratum; if the geological interface type of the new stratum corresponding to the two stratigraphic lines is an erosion surface, then the intersection of the two stratigraphic lines belongs to the new stratum; if the geological interface type of the new stratum corresponding to the two stratigraphic lines is not an erosion surface, then the intersection of the two stratigraphic lines belongs to an old stratum corresponding to the two stratigraphic lines.

[0093] In a possible implementation, the rendering unit is used to obtain second geological sub-data of the three-dimensional geological structure model based on the tetrahedron index corresponding to the triangular mesh in the triangular patch, the second geological sub-data including fault information corresponding to the tetrahedron index; based on the second geological sub-data, determine a set of fault line segments of the triangular patch, the fault line segment set including fault lines corresponding to each stratum; based on the first geological sub-data and the determined set of fault line segments, render the triangular patch to obtain a cross-sectional image of the three-dimensional geological structure model.

[0094] In a possible implementation, the rendering unit is used to obtain, from the three-dimensional geological structure model, stratigraphic information corresponding to each stratum in the profile image to be generated based on the first geological sub-data, the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition order of the stratum; based on the second geological sub-data, obtain, from the three-dimensional geological structure model, fault information corresponding to each fault in the profile image to be generated, the fault information corresponding to the fault includes the fault type and / or the fault contact relationship; and use an implicit function modeling method to process the first geological sub-data, the determined set of fault line segments, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0095] In a possible implementation manner, the device further includes:

[0096] The determination module is further used to determine any two fault lines in the cross-sectional image to be generated based on the set of fault line segments;

[0097] The determination module is further configured to determine that the fault contact relationship between the two fault planes corresponding to the two fault lines is a non-contact relationship if there is no intersection between the two fault lines;

[0098] The determination module is further configured to: if there is an intersection between the two fault lines, and the intersection is the endpoint of a first fault line of the two fault lines but not the endpoint of a second fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is an auxiliary fault, the fault type of the fault corresponding to the second fault line is a main fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is an auxiliary-main relationship;

[0099] The determination module is further configured to: if there is an intersection between the two fault lines, and the intersection is the endpoint of the second fault line of the two fault lines instead of the endpoint of the first fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is a main fault, the fault type of the fault corresponding to the second fault line is an auxiliary fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is a main-auxiliary relationship;

[0100] The determination module is further configured to: if there is an intersection between the two fault lines, and the intersection is the endpoint of each of the two fault lines or is not the endpoint of any of the two fault lines, then the fault contact relationship of the two faults corresponding to the two fault lines is a master-master relationship;

[0101] An updating module is used to update the fault information of the two faults based on the determined fault types and fault contact relationship of the two faults corresponding to the two fault lines.

[0102] In a possible implementation, the rendering unit is used to determine the stratigraphic lines in the profile image to be generated based on the first geological sub-data; determine the intersecting stratigraphic lines and fault lines in the profile image to be generated; for the intersecting stratigraphic lines and fault lines, delete the intersecting parts from the stratigraphic lines, and intersect the stratigraphic lines with the fault lines to obtain updated stratigraphic lines and updated fault lines; use the implicit function modeling method to process the first geological sub-data, the updated stratigraphic lines, the updated fault lines, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0103] In a possible implementation, the rendering unit is used to divide the stratigraphic units in the profile image to be generated into multiple independent closed spaces based on the updated stratigraphic lines and the updated fault lines; obtain a range segment set for each independent closed space; replace the line segments in the range segment set of each independent closed space that coincide with the updated stratigraphic lines with stratigraphic lines; replace the line segments in the range segment set of each independent closed space that coincide with the updated fault lines with fault lines; and use the implicit function modeling method to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0104] In a possible implementation, the rendering unit is used to perform intersection processing on the top and bottom surfaces of each stratigraphic unit in the cross-sectional image to be generated with the updated fault line; if there is no intersection, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; if the updated fault line only has an intersection with the top or bottom surface of the stratigraphic unit, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; if the updated fault line has an intersection with both the top and bottom surfaces of the stratigraphic unit, the fault corresponding to the updated fault line is determined to be a closed space. If the fault type is a normal fault and the intersection of the updated fault line with the lower plate of the bottom surface is higher than the intersection of the updated fault line with the upper plate of the top surface, it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces; if the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a reverse fault and the intersection of the updated fault line with the upper plate of the bottom surface is higher than the intersection of the updated fault line with the lower plate of the top surface, it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces.

[0105] In a possible implementation, the rendering unit is used to triangulate the multiple independent closed spaces to obtain updated triangular facets; adopt the implicit function modeling method to process based on the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, and render the updated triangular facets to obtain the profile image.

[0106] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any of the above implementations.

[0107] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any of the above implementations.

[0108] On the other hand, a computer program product is provided, which includes at least one program code, and the at least one program code is loaded and executed by a processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any of the above implementations.

[0109] The beneficial effects of the technical solution provided by the embodiments of the present application include at least:

[0110] The embodiment of the present application provides a method for correcting the model based on the cross-section image. The method cuts the three-dimensional geological structure model to display the internal features of the three-dimensional geological structure model. When the user finds that the internal features of the three-dimensional geological structure model are wrong, the cross-section image of the three-dimensional geological structure model can be edited to correct the internal features of the three-dimensional geological structure model and improve the accuracy of the three-dimensional geological structure model. In addition, this error correction method is simpler and easier to operate, which improves the error correction efficiency of the three-dimensional geological structure model. BRIEF DESCRIPTION OF THE DRAWINGS

[0111] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0112] Figure 1 It is a flow chart of a method for correcting errors of a model based on a cross-sectional image provided in an embodiment of the present application;

[0113] Figure 2 is a schematic diagram of a cross-sectional image provided in an embodiment of the present application;

[0114] Figure 3 is a schematic diagram of editing a cross-sectional image provided by an embodiment of the present application;

[0115] Figure 4 is a flow chart of a cross-sectional image display method provided in an embodiment of the present application;

[0116] Figure 5 is a schematic diagram of a three-dimensional geological structure model provided in an embodiment of the present application;

[0117] Figure 6 is a schematic diagram of a triangular facet provided in an embodiment of the present application;

[0118] Figure 7 is a schematic diagram of a cross-sectional image provided in an embodiment of the present application;

[0119] Figure 8 is a schematic diagram of a cross-sectional image provided in an embodiment of the present application;

[0120] Fig. 9 It is a schematic diagram of determining the subordinate relationship between strata and stratum lines provided in an embodiment of the present application;

[0121] Fig.10 is a flow chart of a cross-sectional image display method provided in an embodiment of the present application;

[0122] Fig.11 is another schematic diagram for determining a fault line provided in an embodiment of the present application;

[0123] Fig.12 is a schematic diagram of another type of multiple fault contact relationships provided in an embodiment of the present application;

[0124] Fig.13 It is a schematic diagram of a fault-dividing stratum line provided in an embodiment of the present application;

[0125] Fig.14 It is a schematic diagram of a method of performing uniform processing on independent closed spaces provided in an embodiment of the present application;

[0126] Fig.15 is a schematic diagram of a fault-divided stratigraphic unit provided in an embodiment of the present application;

[0127] Fig.16 is a schematic diagram of a fault-divided stratigraphic unit provided in an embodiment of the present application;

[0128] Fig.17 is a schematic diagram of a fault-divided stratigraphic unit provided in an embodiment of the present application;

[0129] Fig.18 It is a structural schematic diagram of a device for correcting errors of a model based on a cross-sectional image provided in an embodiment of the present application;

[0130] Fig.19 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0131] Fig. 20 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0132] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0133] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0134] The method for correcting the model based on the cross-sectional image provided in the embodiment of the present application is performed by a computer device. In some embodiments, the computer device may be a terminal, and the terminal may be a mobile phone, a desktop computer, a laptop computer or other types of terminals, and the embodiment of the present application does not limit the terminal. In other embodiments, the computer device may be a server, and the server may be a server, or a server cluster composed of several servers, or a cloud computing service center. Of course, the server may also include other functional servers to provide more comprehensive and diversified services. In other embodiments, the computer device includes a terminal and a server. It should be noted that the embodiment of the present application is only an exemplary description of the execution subject of the image display method, and does not limit the execution subject.

[0135] Figure 1 is a flow chart of a method for correcting errors in a model based on a cross-sectional image provided in an embodiment of the present application. The embodiment of the present application is described by taking the execution subject as a terminal as an example. Figure 1 , the method comprising:

[0136] 101. In response to a cutting operation on a three-dimensional geological structure model of any area, the terminal displays a cross-sectional image of the three-dimensional geological structure model, wherein the three-dimensional geological structure model is generated based on geological data of the area, wherein the geological data includes a plurality of scattered points for representing a stratigraphic surface of the area and a plurality of scattered points for representing a fault surface of the area, and the cross-sectional image includes at least one of a stratigraphic line and a fault line.

[0137] Any region in the embodiments of the present application may be a real geographical region or a virtual geographical region, and the embodiments of the present application do not limit any region. The three-dimensional geological structure model of a region is a model used to display the geological structure of the region, for example, the three-dimensional geological structure model is used to display the stratigraphic structure, fault structure, etc. of the region.

[0138] In order to clearly observe the internal features of the 3D geological structure model, the user can cut the 3D geological structure model, and the terminal displays a cross-sectional image of the 3D geological structure model in response to the cutting operation. The user can understand the internal features of the corresponding position of the 3D geological structure model through the cross-sectional image.

[0139] In the embodiment of the present application, the three-dimensional geological structure model is generated based on the geological data of the region. The embodiment of the present application only uses the geological data including multiple scattered points for representing the stratigraphic surface of the region and multiple scattered points for representing the fault surface of the region as an example to illustrate the geological data. In actual applications, the geological data can also include more information, such as stratigraphic information such as stratigraphic type, stratigraphic color, stratigraphic deposition mode, and stratigraphic deposition sequence, and fault information such as fault type and fault contact relationship. The embodiment of the present application does not limit the geological data, and it can be determined according to the actual needs of the model.

[0140] 102. In response to an editing operation on a stratum line or a fault line, the terminal determines a plurality of points in the edited stratum line or a plurality of points in the edited fault line.

[0141] Due to the difficulties in the modeling technology of the three-dimensional geological structure model and the many obstacles in the implementation of the technology, the accuracy of the three-dimensional geological structure model is poor. In order to improve the accuracy of the three-dimensional geological structure model, an embodiment of the present application provides a method for correcting the model based on a profile image. That is, the user can correct the erroneous stratigraphic lines or fault lines in the profile image, and synchronize them to the three-dimensional geological structure model, so that the stratigraphic layers and fault planes in the three-dimensional geological structure model are corrected accordingly.

[0142] In the embodiment of the present application, the user's editing operation on the stratum line or fault line may be a move operation, a delete operation, an add operation, etc. on the stratum line or fault line. The embodiment of the present application does not limit the editing operation.

[0143] In the above step 102, a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line are determined. The plurality of points here may be any plurality of points in the edited stratigraphic line or any plurality of points in the edited fault line. For example, the plurality of points randomly selected from the edited stratigraphic line or the plurality of points randomly selected from the edited fault line; for another example, the plurality of points selected from the edited stratigraphic line or the plurality of points selected from the edited fault line at a preset interval; for another example, the plurality of points may be nodes in the edited stratigraphic line or nodes in the edited fault line, etc. The embodiment of the present application does not limit the plurality of points determined in the above step 102.

[0144] In one possible implementation, Figure 2As shown, the user's editing operation on the stratum line or fault line is an editing operation on the nodes in the stratum line or fault line, and the multiple points in the above step 102 include nodes in the edited stratum line or nodes in the edited fault line. In response to the editing operation on the stratum line or fault line, the terminal determines multiple points in the edited stratum line or multiple points in the edited fault line, including: in response to the editing operation on the nodes of the stratum line or fault line, determining multiple nodes in the edited stratum line or multiple nodes in the edited fault line; determining multiple nodes in the edited stratum line or multiple nodes in the edited fault line as multiple points in the edited stratum line or multiple points in the edited fault line; or, interpolating based on multiple nodes in the edited stratum line or multiple nodes in the edited fault line to obtain multiple points in the edited stratum line or multiple points in the edited fault line.

[0145] It should be noted that the embodiment of the present application does not limit the method of generating nodes in the formation line and the fault line, and is only exemplified in the following manner:

[0146] In some embodiments, the profile image is composed of multiple triangular meshes, and the lines used to represent the boundaries, the lines used to represent the stratum lines, and the lines used to represent the fault lines in the profile image are all connected by the edges of multiple triangular meshes, and the nodes in the stratum lines in the profile image are the vertices of the edges of each triangular mesh that constitutes the stratum lines, and the nodes in the fault lines in the profile image are the vertices of the edges of each triangular mesh that constitutes the fault lines. Optionally, the triangular mesh in the profile image can be obtained by a triangulation algorithm. Optionally, the three-dimensional geological structure model is composed of multiple tetrahedral meshes, and the mesh used to represent the boundaries of the region, the mesh used to represent the stratum surface of the region, and the mesh used to represent the fault surface of the region in the three-dimensional geological structure model are all meshes composed of the side surfaces of multiple tetrahedral meshes. The triangular mesh in the profile image is obtained by cutting the tetrahedral mesh.

[0147] 103. The terminal adds the multiple points in the edited stratigraphic line or the multiple points in the edited fault line to the geological data of the region in the form of control points, and the weight coefficient of the control point is greater than the weight coefficient of the scattered point.

[0148] It should be noted that the embodiment of the present application does not limit the weight coefficient of the control point and the weight coefficient of the scattered point, and it is only necessary to ensure that the weight coefficient of the control point is greater than the weight coefficient of the scattered point. In some embodiments, the weight coefficient of the control point and the weight coefficient of the scattered point are set by the user. In other embodiments, the weight coefficient of the control point and the weight coefficient of the scattered point are empirical values.

[0149] 104. The terminal regenerates the three-dimensional geological structure model of the region based on the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data.

[0150] It should be noted that the embodiment of the present application can use any modeling method to generate a three-dimensional geological structure model, for example, an implicit function modeling method. In a possible implementation, the terminal regenerates the three-dimensional geological structure model of the region based on the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data, including: using the implicit function modeling method, processing the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data to obtain the three-dimensional geological structure model of the region.

[0151] It should be noted that after the user edits the stratigraphic line or fault line, the fault contact relationship may change. If the fault contact relationship changes, the three-dimensional geological structure model needs to be updated based on the changed fault contact relationship. In a possible implementation, the method also includes: the terminal determines whether the fault contact relationship of the edited profile image has changed in response to the editing operation on the stratigraphic line or fault line. The terminal regenerates the three-dimensional geological structure model of the area based on the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data, including: if the fault contact relationship of the edited profile image changes, the three-dimensional geological structure model of the area is regenerated based on the fault contact relationship of the edited profile image, the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data.

[0152] Another point that needs to be explained is that after the fault contact relationship changes, the user can also detect whether the changed fault contact relationship is reasonable. If it is unreasonable, the user can also manually modify the geological data or change the fault contact relationship until the fault contact relationship is reasonable.

[0153] Another point to be explained is that the terminal will also update the cross-sectional image in response to the editing operation of the stratum line or fault line, such as Figure 3 shown.

[0154] The method for correcting the model based on the cross-sectional image provided in the embodiment of the present application shows the internal features of the three-dimensional geological structure model by cutting the three-dimensional geological structure model. When the user finds that the internal features of the three-dimensional geological structure model are wrong, the internal features of the three-dimensional geological structure model can be corrected by editing the cross-sectional image of the three-dimensional geological structure model to improve the accuracy of the three-dimensional geological structure model. In addition, this error correction method is simpler and easier to operate, which improves the error correction efficiency of the three-dimensional geological structure model.

[0155] Next, the embodiment of the present application will further provide an exemplary description of the method of acquiring the cross-sectional image. Figure 4A cross-sectional image display method is provided in an embodiment of the present application. The embodiment of the present application is described by taking the execution subject as a terminal as an example. Figure 4 As shown, the method includes:

[0156] 401. In response to a cutting operation on a three-dimensional geological structure model of any area, the terminal determines a first plane having a cutting trajectory of the cutting operation as an edge and perpendicular to the three-dimensional geological structure model, wherein the three-dimensional geological structure model is composed of a plurality of tetrahedral grids, and the grids used to represent the boundary of the area, the grids used to represent the stratigraphic surface of the area, and the grids used to represent the fault surface of the area in the three-dimensional geological structure model are all grids composed of the side surfaces of a plurality of tetrahedral grids.

[0157] In the embodiment of the present application, the three-dimensional geological structure model is composed of multiple tetrahedral meshes, and the boundaries, strata, and fault planes in the three-dimensional geological structure model are all represented by meshes composed of the sides of the tetrahedral meshes. Figure 5 As shown, a plurality of tetrahedral meshes form a stratigraphic surface, a fault surface, etc. In some embodiments, the three-dimensional geological structure model is a regular hexahedral model, for example, the three-dimensional geological structure model is a cuboid model.

[0158] The cutting operation can be any type of operation, and the embodiments of the present application do not limit the cutting operation. In some embodiments, the cutting operation is a sliding operation, and the cutting trajectory is a sliding trajectory. The user can perform any sliding operation on the three-dimensional geological structure model, and the terminal displays a cross-sectional image at the sliding trajectory. In some embodiments, the terminal displays a cutting option, and the terminal obtains the cutting trajectory of the three-dimensional geological structure model. In response to the selection operation of the cutting option, a first plane with the cutting trajectory as an edge and perpendicular to the three-dimensional geological structure model is determined.

[0159] The cutting track can be a straight line, a broken line or a curve, etc., and the embodiment of the present application does not limit the cutting track. It should be noted that the cutting track can be one cutting track or multiple cutting tracks, and the embodiment of the present application does not limit the number of cutting tracks.

[0160] In some embodiments, the first plane is an infinitely long plane perpendicular to the three-dimensional geological structure model. In other embodiments, the first plane is a finitely long plane perpendicular to the three-dimensional geological structure model, and the length of the plane can be a preset value, a value set by the user, or the depth of the three-dimensional geological structure model, which is not limited in the embodiments of the present application.

[0161] 402. The terminal performs intersection processing on the first plane and the three-dimensional geological structure model to obtain a triangular face including a plurality of triangular meshes.

[0162] The terminal performs an intersection process on the first plane and any tetrahedral mesh to obtain an intersection line between the first plane and the tetrahedral mesh, and the intersection line forms a triangular mesh. Therefore, the terminal performs an intersection process on the first plane and multiple tetrahedral meshes of the three-dimensional geological structure model to obtain a triangular face including multiple triangular meshes, and the triangular face can be as follows Figure 6 shown.

[0163] 403. The terminal obtains first geological sub-data of the three-dimensional geological structure model by indexing the tetrahedron corresponding to the triangular mesh in the triangular face. The first geological sub-data includes stratum information corresponding to the tetrahedron index.

[0164] Since each triangle mesh in the triangular patch is obtained by cutting the tetrahedral mesh in the 3D geological structure model, each triangle mesh in the triangular patch corresponds to a tetrahedral index. For example, triangle mesh 1 is obtained by cutting tetrahedral mesh 1, and the tetrahedral index corresponding to triangle mesh 2 is the index of tetrahedral mesh 1.

[0165] In a three-dimensional geological structure model, a tetrahedron mesh belongs to only one stratum, so stratum information can be obtained based on the tetrahedron index. The stratum information may include the stratum unit to which the tetrahedron belongs, color information, and the like.

[0166] 404. The terminal renders the triangular facets based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model.

[0167] Through the above step 403, the stratigraphic unit to which each triangular mesh in the triangular facet belongs and the corresponding color can be determined. Therefore, the triangular facet can be rendered according to the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model.

[0168] In one possible implementation, the terminal renders the triangular patch based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model, including: for any triangular mesh in the triangular patch, assigning the stratigraphic information corresponding to the tetrahedron index of the triangular mesh to the triangular mesh to obtain the cross-sectional image of the three-dimensional geological structure model; or, for any triangular mesh in the triangular patch, assigning the stratigraphic information corresponding to the tetrahedron index of the triangular mesh to the triangular mesh; determining the intersection line between different stratigraphic lines in the triangular patch as the stratigraphic line; and generating the cross-sectional image of the three-dimensional geological structure model based on the determined stratigraphic line.

[0169] For example, after assigning the stratum information corresponding to the tetrahedron index of the triangular mesh to each triangular mesh in the triangular patch, the following can be obtained: Figure 7 The cross-sectional image of the three-dimensional geological structure model is shown in FIG. If the intersection lines between different strata in the triangular facets are determined as stratum lines and the stratum lines are highlighted, the following can be obtained: Figure 8 A cross-sectional image of the three-dimensional geological structure model is shown.

[0170] It should be noted that since the profile image is a display of a certain area inside the three-dimensional geological structure model, compared with the three-dimensional geological structure model, some strata are missing in the profile image, and there are geological phenomena such as erosion, intrusion, and fracture in the strata. It is necessary to further process the stratum lines and confirm the stratum to which the stratum lines belong in order to generate a more accurate profile image.

[0171] In a possible implementation, a cross-sectional image of a three-dimensional geological structure model is generated based on a determined stratigraphic line, including: based on the first geological sub-data, obtaining stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, the stratigraphic information corresponding to the stratum including at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum; based on the stratigraphic information corresponding to each stratum, determining the stratum to which the intersecting portion of the determined stratigraphic line belongs; based on the determined stratigraphic line and the subordinate relationship between the determined stratigraphic line and the stratum, generating a cross-sectional image of the three-dimensional geological structure model.

[0172] Optionally, based on the stratigraphic information corresponding to each stratum, determining the stratum to which the intersecting portion of the determined stratigraphic lines belongs, including: for any two stratigraphic lines among the determined stratigraphic lines, determining whether the two stratigraphic lines intersect; if the two stratigraphic lines intersect, determining a new stratum corresponding to the two stratigraphic lines and the geological interface type of the new stratum based on the stratigraphic information corresponding to each stratum; if the geological interface type of the new stratum corresponding to the two stratigraphic lines is an erosion surface, the intersecting portion of the two stratigraphic lines belongs to the new stratum; if the geological interface type of the new stratum corresponding to the two stratigraphic lines is not an erosion surface, the intersecting portion of the two stratigraphic lines belongs to the old stratum corresponding to the two stratigraphic lines.

[0173] For example, Fig. 9 As shown, the order of the strata is H1, H2, H3, H4, and H5, among which H1, H3, and H4 are erosion surfaces, and the others are non-erosion surfaces. H1 intersects with H2, and H1 is the new bottom layer and the erosion surface, so the common part of H1 and H2 belongs to H1; H2 and H3 intersect, and H2 is the new bottom layer and the non-erosion surface, so the common part of the intersection belongs to H3; H3 intersects with H5, and H3 is the new bottom layer and the erosion surface, so the common part belongs to H3; H4 intersects with H5, and H4 is the new bottom layer and the erosion surface, so the common part belongs to H4.

[0174] It should be noted that Figure 4 The embodiment shown is only to illustrate the generation process of the cross-sectional image by taking the display of the stratum information in the cross-sectional image as an example. Of course, the fault information can also be displayed in the cross-sectional image. Fig.10The illustrated embodiment is illustrative of the example of displaying stratum information and fault information in a cross-sectional image. Fig.10 is a flow chart of a cross-sectional image display method provided in an embodiment of the present application. The embodiment of the present application is exemplified by taking the execution subject as a terminal. Fig.10 As shown, the method includes:

[0175] 1001. In response to a cutting operation on a three-dimensional geological structure model of any area, the terminal determines a first plane having a cutting trajectory of the cutting operation as an edge and perpendicular to the three-dimensional geological structure model, wherein the three-dimensional geological structure model is composed of a plurality of tetrahedral grids, and grids used to represent the boundaries of the area, grids used to represent the stratigraphic planes of the area, and grids used to represent the fault planes of the area in the three-dimensional geological structure model are all grids composed of the side surfaces of a plurality of tetrahedral grids.

[0176] 1002. The terminal performs intersection processing on the first plane and the three-dimensional geological structure model to obtain a triangular face including a plurality of triangular meshes.

[0177] 1003. The terminal obtains first geological sub-data of the three-dimensional geological structure model based on the tetrahedron index corresponding to the triangular mesh in the triangular facet, where the first geological sub-data includes stratigraphic information corresponding to the tetrahedron index.

[0178] The above steps 1001 to 1003 are similar to the above steps 401 to 403, and are not described in detail here.

[0179] 1004. The terminal obtains second geological sub-data of the three-dimensional geological structure model based on the tetrahedron index corresponding to the triangular mesh in the triangular facet, where the second geological sub-data includes fault information corresponding to the tetrahedron index.

[0180] In some embodiments, a tetrahedral mesh corresponding to each fault may be determined based on the three-dimensional geological structure model, and thus, fault information corresponding to the tetrahedral index may be used to indicate the fault in the three-dimensional geological structure model.

[0181] 1005. The terminal determines a set of fault line segments of the triangular face based on the second geological sub-data, where the set of fault line segments includes a fault line corresponding to each stratum.

[0182] Since the tetrahedral mesh corresponding to each fault is recorded in the 3D geological structure model, the corresponding fault line can be determined in the triangular mesh of the triangular facet through the tetrahedral index. For example, for any stratum, the fault line segments of the upper and lower plates are taken as the union and the overlapping parts are removed, and they are connected according to the first position to obtain the fault line corresponding to the stratum.

[0183] For example, Fig.11 A stratigraphic unit is shown. Fig.11The bold part in Figure (1) is the fault line of the upper plate of the stratigraphic unit, the bold part in Figure (2) is the stratigraphic line of the lower plate of the stratigraphic unit, and Figure (3) is the overall fault line corresponding to the stratigraphic unit.

[0184] 1006. The terminal renders the triangular facets based on the first geological sub-data and the determined set of fault line segments to obtain a cross-sectional image of the three-dimensional geological structure model.

[0185] In one possible implementation, the terminal renders the triangular patch based on the first geological sub-data and the determined fault line segment set to obtain a cross-sectional image of the three-dimensional geological structure model. The first geological sub-data can be processed as shown in the above step 404. For the fault line segment set, the terminal can mark the fault line in the triangular patch based on the fault line segment set.

[0186] Since in the embodiment of the present application, the user needs to edit the profile image, in order to ensure that the three-dimensional geological structure model can be updated after the stratigraphic lines or fault lines in the profile image are edited, the embodiment of the present application can also adopt the implicit function modeling method to construct the profile image, so as to obtain more information from the edited profile image to update the three-dimensional geological structure model. In another possible implementation, the terminal renders the triangular facet based on the first geological sub-data and the determined set of fault line segments to obtain a cross-sectional image of the three-dimensional geological structure model, including: based on the first geological sub-data, obtaining stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum; based on the second geological sub-data, obtaining fault information corresponding to each fault in the cross-sectional image to be generated from the three-dimensional geological structure model, the fault information corresponding to the fault includes the fault type and / or the fault contact relationship; using an implicit function modeling method to process the first geological sub-data, the determined set of fault line segments, the stratigraphic information corresponding to each stratum in the cross-sectional image to be generated, and the fault information corresponding to each fault in the cross-sectional image to be generated to obtain the cross-sectional image.

[0187] Among them, geological interface types are divided into erosion surfaces and non-erosion surfaces; sedimentation modes are divided into parallel top mode, parallel bottom mode, proportional mode and block mode, etc. Fault types include normal faults and reverse faults. Fault contact relationships are divided into: main-main relationship, main-auxiliary relationship, auxiliary-main relationship and no contact relationship.

[0188] It should be noted that since the cross-sectional image of the three-dimensional geological structure model is a display of a certain area inside the three-dimensional geological structure model, compared with the three-dimensional geological structure model, some faults may be missing in the cross-sectional image, and the fault contact relationship may also change. In order to obtain a more accurate cross-sectional image, the fault contact relationship can also be updated based on the fault line segment set.

[0189] In some embodiments, an implicit function modeling method is used to process the first geological sub-data, the determined fault line segment set, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated. Before obtaining the profile image, the method further includes: determining any two fault lines in the profile image to be generated based on the fault line segment set; if there is no intersection between the two fault lines, determining that the fault contact relationship of the two fault planes corresponding to the two fault lines is a non-contact relationship; if there is an intersection between the two fault lines, and the intersection is the endpoint of the first fault line of the two fault lines but not the endpoint of the second fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is an auxiliary fault, the fault type of the fault corresponding to the second fault line is a main fault, and the fault contact relationship of the first fault line to the fault line is a contact relationship. The fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is a primary-secondary relationship; if there is an intersection between the two fault lines, and the intersection is the endpoint of the second fault line of the two fault lines but not the endpoint of the first fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is a primary fault, the fault type of the fault corresponding to the second fault line is an auxiliary fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is a primary-secondary relationship; if there is an intersection between the two fault lines, and the intersection is the endpoint of each of the two fault lines or is not the endpoint of any of the two fault lines, then the fault contact relationship between the two faults corresponding to the two fault lines is a primary-primary relationship; based on the determined fault types and fault contact relationship of the two faults corresponding to the two fault lines, the fault information of the two faults is updated.

[0190] For example, since the cross-section image is a partial representation of the 3D geological structure model, the contact relationship between faults may change. For example, two faults that have a contact relationship in the 3D geological structure model may become unrelated. Therefore, it is necessary to redefine the contact relationship between any two faults in the cross-section image. The intersection of two fault lines is calculated in sequence. If there is no intersection between the two fault lines, there is no contact relationship (such as Fig.12 As shown in Figure (a) in Figure 2, if two fault lines have an intersection, and the intersection is when the endpoint of one fault line is a point in the middle of the other fault line, then the former is the auxiliary fault and the latter is the main fault, such as Fig.12As shown in Figure (b) and Figure (c) in , F1 and F2 are respectively the auxiliary-master relationship and the master-auxiliary relationship; if the two fault lines have an intersection, and the intersection is the middle point or end point of the two fault lines, then it is a master-master relationship, such as Fig.12 In Figure (d), F1 and F2, F3 and F4.

[0191] In addition, according to the record of the above step 404, when the triangular facet is rendered based on the first geological sub-data to obtain the cross-sectional image, the intersection lines between different strata in the triangular facet are determined as the stratum lines. However, in the stratum with fractures, the stratum will have a fault distance, resulting in discontinuity of the stratum lines, so the stratum lines need to be segmented according to the fault lines. In a possible implementation, an implicit function modeling method is used to process the first geological sub-data, a determined set of fault line segments, stratigraphic information corresponding to each stratum in the profile image to be generated, and fault information corresponding to each fault in the profile image to be generated to obtain a profile image, including: determining the stratigraphic lines in the profile image to be generated based on the first geological sub-data; determining the intersecting stratigraphic lines and fault lines in the profile image to be generated; for the intersecting stratigraphic lines and fault lines, deleting the intersecting parts from the stratigraphic lines, and intersecting the stratigraphic lines with the fault lines to obtain updated stratigraphic lines and updated fault lines; using an implicit function modeling method, the first geological sub-data, the updated stratigraphic lines, the updated fault lines, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain a profile image.

[0192] For example, Fig.13 Figure (1) shows the stratigraphic lines determined based on the first geological sub-data. Fig.13 Figure (2) in the figure shows the stratigraphic lines and fault lines after intersection processing, that is, the updated stratigraphic lines and fault lines.

[0193] A stratigraphic unit is a whole, but there are cases where faults cut the strata. There are two cases where faults cut the strata. One case is that the stratum is divided into two independent closed spaces, and the other case is that the stratum is offset but still maintains connectivity, and the fault does not divide the stratum into two independent closed spaces. In order to further ensure the later rendering and interactive editing of the profile image, it is also possible to determine whether the fault cuts the stratigraphic unit into an independent closed space. It should be noted that the range of the independent closed unit coincides with the positions of the stratigraphic lines, fault lines and boundary lines in the profile image to be generated, but they are independent of each other. In order for the independent closed space to be updated when the stratigraphic lines, fault lines and boundary lines are edited later, it is also necessary to unify the independent closed space, that is, to use stratigraphic lines, fault lines and boundary lines to express the range of the independent closed space, such as Fig.14 shown.

[0194] In a possible implementation, an implicit function modeling method is used to process the first geological sub-data, updated formation lines, updated fault lines, formation information corresponding to each formation in the profile image to be generated, and fault information corresponding to each fault in the profile image to be generated to obtain a profile image, including: dividing the formation units in the profile image to be generated into multiple independent closed spaces based on the updated formation lines and the updated fault lines; obtaining a range line segment set for each independent closed space; replacing the line segments in the range line segment set of each independent closed space that coincide with the updated formation lines with formation lines; replacing the line segments in the range line segment set of each independent closed space that coincide with the updated fault lines with fault lines; and using an implicit function modeling method to process the first geological sub-data, formation lines and fault lines of multiple independent closed spaces, formation information corresponding to each formation in the profile image to be generated, and fault information corresponding to each fault in the profile image to be generated to obtain a profile image.

[0195] In some embodiments, based on the updated stratigraphic lines and the updated fault lines, the stratigraphic units in the to-be-generated cross-sectional image are divided into a plurality of independent closed spaces, including: for each stratigraphic unit in the to-be-generated cross-sectional image, the top surface and the bottom surface of the stratigraphic unit are intersected with the updated fault line; if no intersection exists, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; if the updated fault line only has an intersection with the top surface or the bottom surface of the stratigraphic unit, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; if the updated fault line intersects with the top surface or the bottom surface of the stratigraphic unit, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; If there are intersections between the updated fault line and the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a normal fault, and the intersection of the updated fault line with the footwall of the bottom surface is higher than the intersection of the updated fault line with the hanging wall of the top surface, then it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces; if there are intersections between the updated fault line and the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a reverse fault, and the intersection of the updated fault line with the hanging wall of the bottom surface is higher than the intersection of the updated fault line with the footwall of the top surface, then it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces.

[0196] For example, the updated fault line only has intersections with the top or bottom surface of the stratigraphic unit. When there is only one intersection, it means that the fault has not formed a fault distance and does not divide an independent closed space. Fig.15 F1, F2, F3, F4, and F5 shown do not cut the stratigraphic units into independent closed spaces. When there are two intersection points, there is no situation of dividing independent closed spaces. Fig.16 Neither F1 nor F2 cuts the stratigraphic units into independent closed spaces.

[0197] For example, if the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, it is necessary to judge based on the fault type. Assume that the top surface intersection point is Ptu, the bottom surface intersection point is Ptd, the bottom surface intersection point is Pbu, and the bottom surface intersection point is Pbd. If the fault type is a normal fault, when the height of Pbd is greater than the height of Ptu, it is a split independent unit, otherwise there is no split independent closed space (such as Fig.17 If the fault type is a reverse fault, when the height of Pbu is greater than the height of Ptd, it is a divided independent closed space, otherwise it is not divided independent closed space (such as Fig.17 (right picture in the figure).

[0198] In addition, in order to further ensure that the stratigraphic units can be updated after the stratigraphic lines and fault lines of the profile image are edited, the independent closed spaces within the stratigraphic units can be re-gridded and rendered according to the original colors in the 3D geological structure model.

[0199] In a possible implementation, an implicit function modeling method is used to process the first geological sub-data, the stratigraphic lines and fault lines of multiple independent closed spaces, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, to obtain a profile image, including: triangulating the multiple independent closed spaces to obtain updated triangular facets; using an implicit function modeling method, based on the first geological sub-data, the stratigraphic lines and fault lines of multiple independent closed spaces, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, the updated triangular facets are processed to render the profile image.

[0200] Optionally, the terminal uses a conditionally limited Delaunay triangulation algorithm to triangulate multiple independent closed spaces. The independent closed space range inside the stratigraphic unit is the boundary, and the fault inside it is the limiting condition. Of course, the terminal can also use other triangulation algorithms, which are not limited in the embodiments of the present application.

[0201] Optionally, an implicit function modeling method is adopted to process the first geological sub-data, the stratigraphic lines and fault lines of multiple independent closed spaces, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, and the updated triangular facets are rendered. When the profile image is obtained, the nodes of the stratigraphic lines, fault lines and boundary lines can be interpolated to fit smoother stratigraphic lines, fault lines and boundary lines.

[0202] In addition, after displaying the cross-section image, if the stratum lines or fault lines in the cross-section image are edited, interpolation is performed based on the edited nodes to ensure that the edited stratum lines and fault lines are smooth, and it is also possible to detect whether the fault contact relationship has changed. Optionally, if the fault contact relationship has changed, the user can be asked to confirm, and after the user's confirmation, the cross-section image and the three-dimensional geological structure model are updated.

[0203] Fig.18 is a schematic diagram of a structure of a device for correcting a model based on a cross-sectional image provided in an embodiment of the present application, such as Fig.18 As shown, the device comprises:

[0204] A display module 1801 is used to display a cross-sectional image of the three-dimensional geological structure model in response to a cutting operation on the three-dimensional geological structure model of any area, wherein the three-dimensional geological structure model is generated based on geological data of the area, wherein the geological data includes a plurality of scattered points for representing a stratigraphic surface of the area and a plurality of scattered points for representing a fault surface of the area, and the cross-sectional image includes at least one of a stratigraphic line and a fault line;

[0205] A determination module 1802, configured to determine a plurality of points in the edited stratum line or a plurality of points in the edited fault line in response to an editing operation on the stratum line or the fault line;

[0206] An adding module 1803, used to add the multiple points in the edited stratigraphic line or the multiple points in the edited fault line to the geological data of the region in the form of control points, wherein the weight coefficient of the control point is greater than the weight coefficient of the scattered points;

[0207] The generating module 1804 is used to regenerate the three-dimensional geological structure model of the region based on the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data.

[0208] In a possible implementation, the generation module is used to process the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data using an implicit function modeling method to obtain a three-dimensional geological structure model of the area.

[0209] In a possible implementation, the determination module is used to determine whether a fault contact relationship of the edited cross-sectional image changes in response to an editing operation on the stratum line or the fault line;

[0210] The generation module is used to regenerate the three-dimensional geological structure model of the area based on the fault contact relationship of the edited cross-sectional image, the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data if the fault contact relationship of the edited cross-sectional image changes.

[0211] In a possible implementation, the cross-sectional image is composed of a plurality of triangular meshes, and the lines used to represent the boundaries, the lines used to represent the stratum lines, and the lines used to represent the fault lines in the cross-sectional image are all formed by connecting the edges of a plurality of triangular meshes, and the nodes in the stratum lines in the cross-sectional image are the vertices of the edges of each triangular mesh constituting the stratum lines, and the nodes in the fault lines in the cross-sectional image are the vertices of the edges of each triangular mesh constituting the fault lines;

[0212] The determination module is used to determine a plurality of nodes in the edited stratum line or a plurality of nodes in the edited fault line in response to an editing operation on a node of the stratum line or the fault line;

[0213] The determination module is also used to determine the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line as multiple points in the edited stratigraphic line or the multiple points in the edited fault line; or, to interpolate based on the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line to obtain multiple points in the edited stratigraphic line or the multiple points in the edited fault line.

[0214] In a possible implementation, the three-dimensional geological structure model is composed of a plurality of tetrahedral grids, and the grids used to represent the boundary of the region, the grids used to represent the stratigraphic plane of the region, and the grids used to represent the fault plane of the region in the three-dimensional geological structure model are all grids composed of the side surfaces of the plurality of tetrahedral grids; the display module comprises:

[0215] A plane determination unit, in response to a cutting operation on the three-dimensional geological structure model, determines a first plane having a cutting track of the cutting operation as an edge and being perpendicular to the three-dimensional geological structure model;

[0216] An intersection unit, used for performing intersection processing on the first plane and the three-dimensional geological structure model to obtain a triangular facet including a plurality of triangular meshes;

[0217] An acquisition unit, configured to acquire first geological sub-data of the three-dimensional geological structure model based on a tetrahedron index corresponding to a triangular mesh in the triangular facet, wherein the first geological sub-data includes stratigraphic information corresponding to the tetrahedron index;

[0218] A rendering unit is used to render the triangular facets based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model.

[0219] In a possible implementation, the rendering unit is used to assign the stratum information corresponding to the tetrahedron index of any triangular mesh in the triangular face to the triangular mesh to obtain a cross-sectional view of the three-dimensional geological structure model; or

[0220] The rendering unit is used to assign the stratigraphic information corresponding to the tetrahedron index of any triangular mesh in the triangular patch to the triangular mesh; determine the intersection line between different stratigraphic layers in the triangular patch as the stratigraphic line; and generate a cross-sectional image of the three-dimensional geological structure model based on the determined stratigraphic line.

[0221] In a possible implementation, the rendering unit is used to obtain, based on the first geological sub-data, stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, wherein the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum; based on the stratigraphic information corresponding to each stratum, determine the stratum to which the intersecting part of the determined stratigraphic line belongs; and based on the determined stratigraphic line and the subordinate relationship between the determined stratigraphic line and the stratum, generate a cross-sectional image of the three-dimensional geological structure model.

[0222] In a possible implementation, the rendering unit is used to determine whether any two of the determined stratigraphic lines intersect; if the two stratigraphic lines intersect, then based on the stratigraphic information corresponding to the respective stratigraphic lines, determine a new stratum corresponding to the two stratigraphic lines and a geological interface type of the new stratum; if the geological interface type of the new stratum corresponding to the two stratigraphic lines is an erosion surface, then the intersection of the two stratigraphic lines belongs to the new stratum; if the geological interface type of the new stratum corresponding to the two stratigraphic lines is not an erosion surface, then the intersection of the two stratigraphic lines belongs to an old stratum corresponding to the two stratigraphic lines.

[0223] In a possible implementation, the rendering unit is used to obtain second geological sub-data of the three-dimensional geological structure model based on the tetrahedron index corresponding to the triangular mesh in the triangular patch, the second geological sub-data including fault information corresponding to the tetrahedron index; based on the second geological sub-data, determine a set of fault line segments of the triangular patch, the fault line segment set including fault lines corresponding to each stratum; based on the first geological sub-data and the determined set of fault line segments, render the triangular patch to obtain a cross-sectional image of the three-dimensional geological structure model.

[0224] In a possible implementation, the rendering unit is used to obtain, from the three-dimensional geological structure model, stratigraphic information corresponding to each stratum in the profile image to be generated based on the first geological sub-data, the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition order of the stratum; based on the second geological sub-data, obtain, from the three-dimensional geological structure model, fault information corresponding to each fault in the profile image to be generated, the fault information corresponding to the fault includes the fault type and / or the fault contact relationship; and use an implicit function modeling method to process the first geological sub-data, the determined set of fault line segments, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0225] In a possible implementation manner, the device further includes:

[0226] The determination module is further used to determine any two fault lines in the cross-sectional image to be generated based on the set of fault line segments;

[0227] The determination module is further configured to determine that the fault contact relationship between the two fault planes corresponding to the two fault lines is a non-contact relationship if there is no intersection between the two fault lines;

[0228] The determination module is further configured to: if there is an intersection between the two fault lines, and the intersection is the endpoint of a first fault line of the two fault lines but not the endpoint of a second fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is an auxiliary fault, the fault type of the fault corresponding to the second fault line is a main fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is an auxiliary-main relationship;

[0229] The determination module is further configured to: if there is an intersection between the two fault lines, and the intersection is the endpoint of the second fault line of the two fault lines instead of the endpoint of the first fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is a main fault, the fault type of the fault corresponding to the second fault line is an auxiliary fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is a main-auxiliary relationship;

[0230] The determination module is further configured to: if there is an intersection between the two fault lines, and the intersection is the endpoint of each of the two fault lines or is not the endpoint of any of the two fault lines, then the fault contact relationship of the two faults corresponding to the two fault lines is a master-master relationship;

[0231] An updating module is used to update the fault information of the two faults based on the determined fault types and fault contact relationship of the two faults corresponding to the two fault lines.

[0232] In a possible implementation, the rendering unit is used to determine the stratigraphic lines in the profile image to be generated based on the first geological sub-data; determine the intersecting stratigraphic lines and fault lines in the profile image to be generated; for the intersecting stratigraphic lines and fault lines, delete the intersecting parts from the stratigraphic lines, and intersect the stratigraphic lines with the fault lines to obtain updated stratigraphic lines and updated fault lines; use the implicit function modeling method to process the first geological sub-data, the updated stratigraphic lines, the updated fault lines, the stratigraphic information corresponding to each stratum in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0233] In a possible implementation, the rendering unit is used to divide the stratigraphic units in the profile image to be generated into multiple independent closed spaces based on the updated stratigraphic lines and the updated fault lines; obtain a range segment set for each independent closed space; replace the line segments in the range segment set of each independent closed space that coincide with the updated stratigraphic lines with stratigraphic lines; replace the line segments in the range segment set of each independent closed space that coincide with the updated fault lines with fault lines; and use the implicit function modeling method to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

[0234] In a possible implementation, the rendering unit is used to perform intersection processing on the top and bottom surfaces of each stratigraphic unit in the cross-sectional image to be generated with the updated fault line; if there is no intersection, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; if the updated fault line only has an intersection with the top or bottom surface of the stratigraphic unit, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; if the updated fault line has an intersection with both the top and bottom surfaces of the stratigraphic unit, the fault corresponding to the updated fault line is determined to be a closed space. If the fault type is a normal fault and the intersection of the updated fault line with the lower plate of the bottom surface is higher than the intersection of the updated fault line with the upper plate of the top surface, it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces; if the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a reverse fault and the intersection of the updated fault line with the upper plate of the bottom surface is higher than the intersection of the updated fault line with the lower plate of the top surface, it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces.

[0235] In a possible implementation, the rendering unit is used to triangulate the multiple independent closed spaces to obtain updated triangular facets; adopt the implicit function modeling method to process based on the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, and render the updated triangular facets to obtain the profile image.

[0236] It should be noted that: the device for correcting the model based on the cross-sectional image provided in the above embodiment only uses the division of the above functional modules as an example when correcting the model based on the cross-sectional image. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for correcting the model based on the cross-sectional image provided in the above embodiment and the method embodiment for correcting the model based on the cross-sectional image belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0237] Fig.19 The terminal 1900 includes a processor 1901 and a memory 1902 .

[0238] The processor 1901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0239] The memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1902 is used to store at least one program code, which is used to be executed by the processor 1901 to implement the image display method provided in the method embodiment of the present application.

[0240] In some embodiments, the terminal 1900 may also optionally include: a peripheral device interface 1903 and at least one peripheral device. The processor 1901, the memory 1902 and the peripheral device interface 1903 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1903 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1904, a display screen 1905, a camera 1906, an audio circuit 1907, a positioning component 1908 and a power supply 1909.

[0241] The peripheral device interface 1903 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1901 and the memory 1902. In some embodiments, the processor 1901, the memory 1902, and the peripheral device interface 1903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1901, the memory 1902, and the peripheral device interface 1903 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0242] The display screen 1905 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1905 is a touch display screen, the display screen 1905 also has the ability to collect touch signals on the surface or above the surface of the display screen 1905. The touch signal can be input to the processor 1901 as a control signal for processing. At this time, the display screen 1905 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1905 can be one, and the front panel of the terminal 1900 is set; in other embodiments, the display screen 1905 can be at least two, which are respectively set on different surfaces of the terminal 1900 or are folded; in some other embodiments, the display screen 1905 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1900. Even, the display screen 1905 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1905 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0243] The power supply 1909 is used to power various components in the terminal 1900. The power supply 1909 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1909 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0244] Those skilled in the art will understand that Fig.19 The structure shown in the figure does not constitute a limitation on the terminal 1900, and the terminal 1900 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0245] Fig. 20This is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 2000 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 2001 and one or more memories 2002, wherein the memory 2002 stores at least one program code, and the at least one program code is loaded and executed by the processor 2001 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0246] The server 2000 is used to execute the steps executed by the server in the above method embodiment.

[0247] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any of the above implementation methods.

[0248] An embodiment of the present application also provides a computer program product, which includes at least one program code, and the at least one program code is loaded and executed by a processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any of the above implementations.

[0249] In some embodiments, the computer program involved in the embodiments of the present application may be deployed and executed on a computer device, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected by a communication network. Multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.

[0250] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for correcting errors in a model based on a cross-sectional image, characterized in that: The method comprises: In response to a cutting operation on a three-dimensional geological structure model of any region, a cross-sectional image of the three-dimensional geological structure model is displayed, wherein the three-dimensional geological structure model is generated based on geological data of the region, the geological data comprising a plurality of scattered points for representing a stratigraphic surface of the region and a plurality of scattered points for representing a fault surface of the region, and the cross-sectional image comprises at least one of a stratigraphic line and a fault line; In response to an editing operation on the stratigraphic line or the fault line, determining a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line; adding a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line to the geological data of the region in the form of control points, wherein the weight coefficient of the control point is greater than the weight coefficient of the scattered points; Based on the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data, a three-dimensional geological structure model of the region is regenerated.

2. The method according to claim 1, characterized in that The method of regenerating the three-dimensional geological structure model of the region based on the weight coefficient of the control point, the weight coefficient of the scattered point, and the control point and the scattered point in the geological data comprises: An implicit function modeling method is adopted to process the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data to obtain a three-dimensional geological structure model of the area.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to an editing operation on the stratum line or the fault line, determining whether a fault contact relationship of the edited cross-sectional image changes; The method of regenerating the three-dimensional geological structure model of the region based on the weight coefficient of the control point, the weight coefficient of the scattered point, and the control point and the scattered point in the geological data comprises: If the fault contact relationship of the edited cross-sectional image changes, the three-dimensional geological structure model of the area is regenerated based on the fault contact relationship of the edited cross-sectional image, the weight coefficient of the control point, the weight coefficient of the scattered point, and the control points and scattered points in the geological data.

4. The method according to claim 1 or 2, characterized in that: In response to the editing operation on the stratigraphic line or the fault line, determining a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line comprises: In response to an editing operation on a node of the stratigraphic line or the fault line, determining a plurality of nodes in the edited stratigraphic line or a plurality of nodes in the edited fault line; Determine the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line as multiple points in the edited stratigraphic line or the multiple points in the edited fault line; or, interpolate based on the multiple nodes in the edited stratigraphic line or the multiple nodes in the edited fault line to obtain multiple points in the edited stratigraphic line or the multiple points in the edited fault line.

5. The method according to claim 1, characterized in that: The three-dimensional geological structure model is composed of a plurality of tetrahedral grids, and the grids used to represent the boundaries of the region, the grids used to represent the stratigraphic planes of the region, and the grids used to represent the fault planes of the region in the three-dimensional geological structure model are all grids composed of the side surfaces of the plurality of tetrahedral grids; The method of displaying a cross-sectional image of the three-dimensional geological structure model in response to a cutting operation on the three-dimensional geological structure model of any area comprises: In response to a cutting operation on the three-dimensional geological structure model, determining a first plane having a cutting track of the cutting operation as an edge and perpendicular to the three-dimensional geological structure model; Intersecting the first plane with the three-dimensional geological structure model to obtain a triangular facet including a plurality of triangular meshes; Based on the tetrahedron index corresponding to the triangular mesh in the triangular facet, obtaining first geological sub-data of the three-dimensional geological structure model, wherein the first geological sub-data includes stratigraphic information corresponding to the tetrahedron index; Based on the first geological sub-data, the triangular facets are rendered to obtain a cross-sectional image of the three-dimensional geological structure model.

6. The method according to claim 5, characterized in that The rendering of the triangular facet based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model includes: For any triangular mesh in the triangular facet, assigning the stratum information corresponding to the tetrahedron index of the triangular mesh to the triangular mesh to obtain a cross-sectional image of the three-dimensional geological structure model; or For any triangular mesh in the triangular patch, the stratigraphic information corresponding to the tetrahedron index of the triangular mesh is assigned to the triangular mesh; the intersection line between different stratigraphic layers in the triangular patch is determined as the stratigraphic line; and based on the determined stratigraphic line, a cross-sectional image of the three-dimensional geological structure model is generated.

7. The method according to claim 6, characterized in that The step of generating a cross-sectional image of the three-dimensional geological structure model based on the determined stratigraphic line comprises: Based on the first geological sub-data, obtaining stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, wherein the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum; Based on the stratigraphic information corresponding to each stratigraphic layer, determining the stratigraphic layer to which the intersecting portion of the determined stratigraphic line belongs; Based on the determined stratigraphic lines and the subordinate relationship between the determined stratigraphic lines and the strata, a cross-sectional image of the three-dimensional geological structure model is generated.

8. The method according to claim 7, characterized in that The determining, based on the stratum information corresponding to each stratum, the stratum to which the intersecting portion of the determined stratum lines belongs, comprises: For any two of the determined stratum lines, determining whether the two stratum lines intersect; If the two stratigraphic lines intersect, determining a new stratigraphic line corresponding to the two stratigraphic lines and a geological interface type of the new stratigraphic line based on stratigraphic information corresponding to each stratigraphic line; If the geological interface type of the new stratum corresponding to the two stratum lines is an erosion surface, then the intersection of the two stratum lines belongs to the new stratum; If the geological interface type of the new stratum corresponding to the two stratum lines is not an erosion surface, the intersection of the two stratum lines belongs to the old stratum corresponding to the two stratum lines.

9. The method according to claim 5, characterized in that The rendering of the triangular facet based on the first geological sub-data to obtain a cross-sectional image of the three-dimensional geological structure model includes: Based on the tetrahedron index corresponding to the triangular mesh in the triangular facet, obtaining second geological sub-data of the three-dimensional geological structure model, wherein the second geological sub-data includes fault information corresponding to the tetrahedron index; Determine a set of fault line segments of the triangular face based on the second geological sub-data, wherein the set of fault line segments includes a fault line corresponding to each stratum; Based on the first geological sub-data and the determined set of fault line segments, the triangular facets are rendered to obtain a cross-sectional image of the three-dimensional geological structure model.

10. The method according to claim 9, characterized in that The rendering of the triangular facet based on the first geological sub-data and the determined fault line segment set to obtain a cross-sectional image of the three-dimensional geological structure model includes: Based on the first geological sub-data, obtaining stratigraphic information corresponding to each stratum in the cross-sectional image to be generated from the three-dimensional geological structure model, wherein the stratigraphic information corresponding to the stratum includes at least one of the geological interface type, sedimentation mode and stratigraphic deposition sequence of the stratum; Based on the second geological sub-data, fault information corresponding to each fault in the cross-sectional image to be generated is acquired from the three-dimensional geological structure model, wherein the fault information corresponding to the fault includes a fault type and / or a fault contact relationship; The implicit function modeling method is used to process the first geological sub-data, the determined fault line segment set, the stratigraphic information corresponding to each stratigraphic layer in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image.

11. The method according to claim 10, characterized in that The method further comprises: processing the first geological sub-data, the determined fault line segment set, the stratum information corresponding to each stratum in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image by using the implicit function modeling method to obtain the cross-sectional image; Based on the set of fault line segments, determining any two fault lines in the cross-sectional image to be generated; If there is no intersection between the two fault lines, then determining that the fault contact relationship between the two fault planes corresponding to the two fault lines is a non-contact relationship; If there is an intersection between the two fault lines, and the intersection is the endpoint of the first fault line of the two fault lines but not the endpoint of the second fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is an auxiliary fault, the fault type of the fault corresponding to the second fault line is a main fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is an auxiliary-main relationship; If there is an intersection between the two fault lines, and the intersection is the endpoint of the second fault line of the two fault lines instead of the endpoint of the first fault line of the two fault lines, then the fault type of the fault corresponding to the first fault line is a main fault, the fault type of the fault corresponding to the second fault line is an auxiliary fault, and the fault contact relationship between the fault corresponding to the first fault line and the fault corresponding to the second fault line is a main-auxiliary relationship; If there is an intersection between the two fault lines, and the intersection is the endpoint of each of the two fault lines or is not the endpoint of any of the two fault lines, then the fault contact relationship of the two faults corresponding to the two fault lines is a master-master relationship; Based on the determined fault types and fault contact relationship of the two faults corresponding to the two fault lines, the fault information of the two faults is updated.

12. The method according to claim 10, characterized in that The implicit function modeling method is used to process the first geological sub-data, the determined fault line segment set, the stratum information corresponding to each stratum in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image, including: Determining a stratigraphic line in the to-be-generated cross-sectional image based on the first geological sub-data; Determining intersecting stratum lines and fault lines in the cross-sectional image to be generated; For the intersecting stratum lines and fault lines, the intersecting parts are deleted from the stratum lines, and the stratum lines and the fault lines are intersected to obtain updated stratum lines and updated fault lines; The implicit function modeling method is used to process the first geological sub-data, the updated stratigraphic lines, the updated fault lines, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated to obtain the profile image.

13. The method according to claim 12, characterized in that The implicit function modeling method is used to process the first geological sub-data, the updated stratigraphic lines, the updated fault lines, the stratigraphic information corresponding to each stratigraphic layer in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image, including: Based on the updated stratigraphic lines and the updated fault lines, dividing the stratigraphic units in the cross-sectional image to be generated into a plurality of independent closed spaces; Get the range segment set of each independent closed space; Replacing the line segments in the range line segment set of each independent closed space that coincide with the updated stratum line with the stratum line; Replacing the line segments in the range line segment set of each independent closed space that coincide with the updated fault line with the fault line; The implicit function modeling method is used to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the cross-sectional image to be generated, and the fault information corresponding to each fault in the cross-sectional image to be generated to obtain the cross-sectional image.

14. The method according to claim 13, characterized in that The step of dividing the stratigraphic unit in the to-be-generated cross-sectional image into a plurality of independent closed spaces based on the updated stratigraphic line and the updated fault line includes: For each stratigraphic unit in the cross-sectional image to be generated, performing intersection processing on the top surface and the bottom surface of the stratigraphic unit and the updated fault line; If there is no intersection, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; If the updated fault line only has an intersection with the top surface or the bottom surface of the stratigraphic unit, it is determined that the updated fault line does not divide the stratigraphic unit into independent closed spaces; If the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a normal fault, and the intersection of the updated fault line with the footwall of the bottom surface is higher than the intersection of the updated fault line with the hanging wall of the top surface, then it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces; If the updated fault line has intersections with both the top and bottom surfaces of the stratigraphic unit, the fault type of the fault corresponding to the updated fault line is a reverse fault, and the intersection of the updated fault line with the upper plate of the bottom surface is higher than the intersection of the updated fault line with the lower plate of the top surface, then it is determined that the updated fault line divides the stratigraphic unit into two independent closed spaces.

15. The method according to claim 13, characterized in that The implicit function modeling method is used to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the to-be-generated cross-sectional image, and the fault information corresponding to each fault in the to-be-generated cross-sectional image to obtain the cross-sectional image, including: Triangulate the multiple independent closed spaces to obtain updated triangular facets; The implicit function modeling method is adopted to process the first geological sub-data, the stratigraphic lines and fault lines of the multiple independent closed spaces, the stratigraphic information corresponding to each stratigraphic layer in the profile image to be generated, and the fault information corresponding to each fault in the profile image to be generated, and the updated triangular facets are rendered to obtain the profile image.

16. A device for correcting errors in a model based on a cross-sectional image, characterized in that: The device comprises: a display module, configured to display a cross-sectional image of the three-dimensional geological structure model in response to a cutting operation on the three-dimensional geological structure model of any area, wherein the three-dimensional geological structure model is generated based on geological data of the area, wherein the geological data includes a plurality of scattered points for representing a stratigraphic surface of the area and a plurality of scattered points for representing a fault surface of the area, and wherein the cross-sectional image includes at least one of a stratigraphic line and a fault line; A determination module, configured to determine a plurality of points in the edited stratum line or a plurality of points in the edited fault line in response to an editing operation on the stratum line or the fault line; An adding module, used for adding a plurality of points in the edited stratigraphic line or a plurality of points in the edited fault line to the geological data of the region in the form of control points, wherein the weight coefficient of the control point is greater than the weight coefficient of the scattered points; A generation module is used to regenerate a three-dimensional geological structure model of the area based on the weight coefficients of the control points, the weight coefficients of the scattered points, and the control points and scattered points in the geological data.

17. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the method for correcting errors of a model based on a cross-sectional image as described in any one of claims 1 to 15.