Repair method and system for non-manifold surface in geologic body model

The seed search algorithm analyzes the relationship between the number of triangular meshes and edges, identifies and separates non-manifold surfaces, solves the problems of low processing efficiency and poor repair effect of non-manifold surfaces in geological body models, and achieves efficient and accurate repair. The geometric and topological correctness of the model is ensured.

CN118643703APending Publication Date: 2024-09-13CHONGQING INST OF GEOLOGY & MINERAL RESOURCES +1

Patent Information

Application Number
CN202410716735.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The existence of non-manifold surfaces in geological body models leads to low model processing efficiency, poor repair effects, lack of automated inspection and repair capabilities, and difficulty in balancing the geometric accuracy and topological correctness of the model.

Method used

The seed search algorithm is used to identify and separate non-manifold surfaces by analyzing the relationship between the number of triangular meshes and edges, so as to achieve rapid and accurate repair of non-manifold surfaces in geological body models.

Benefits of technology

It improves the data processing efficiency of the geological body model, ensures the correctness of the geometric and topological structure of the repaired model, and solves the problems of low efficiency, poor repair effect, and insufficient automated inspection and repair capabilities in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643703A
    Figure CN118643703A
Patent Text Reader

Abstract

The invention discloses a method and a system for repairing a non-manifold surface in a geologic body model, and belongs to the field of geologic body modeling, and the method comprises the steps: determining a target region; obtaining a to-be-inspected geologic body model of the target area; obtaining a topological relation of the geologic body model to be inspected, which describes the number of triangular meshes associated with each side of the triangular meshes; according to the topological relation of the geologic body model to be inspected, whether non-manifold surfaces exist in the geologic body model to be inspected or not is judged, if yes, the non-manifold surfaces are separated into manifold surfaces through a seed search algorithm, repairing of the non-manifold surfaces in the geologic body model is completed, and if not, the process is ended. The problems that an existing geologic body model non-manifold surface checking and repairing technology is low in efficiency, poor in repairing effect, lack of automatic checking and repairing capacity and incapable of giving consideration to model geometric accuracy and topological structure correctness are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of geological body modeling, and in particular relates to a repair method and a system thereof for a non-manifold surface in a geological body model. Background Art

[0002] In geological research, geological models, as important data carriers, play an irreplaceable role in geological exploration, resource development, disaster prediction and other fields. However, with the continuous accumulation of geological data and the increase in model complexity, the challenges faced by geological models in the efficient display process of the front end are becoming increasingly prominent. Model lightweight processing, as a key means to solve this problem, puts forward higher requirements on the integrity and accuracy of model data.

[0003] Geological body models are usually composed of a large number of patches, which may have defects during the construction process due to various reasons, among which the problem of non-manifold surfaces is particularly prominent. Manifold is a geometric topological term that refers to a geometric object that is locally similar to Euclidean space. In a manifold, non-intersecting blocks are allowed to exist in a single logical body. Non-manifold is the opposite of manifold. Non-manifold means that all non-intersecting blocks must be their own logical bodies, that is, they cannot be merged into a unified, logically continuous entity. In geometric models, non-manifold surfaces usually refer to areas that do not meet the manifold conditions. These areas have defects in geometry and topology and cannot establish a one-to-one mapping relationship with an open disk in Euclidean space. This defect not only destroys the geometric integrity of the model, but may also cause confusion in the topological structure of the model, which in turn affects the accuracy of subsequent processing algorithms.

[0004] In the dynamic sectioning, simplification and fusion of geological models, the existence of non-manifold surfaces often becomes a bottleneck restricting the efficiency and quality of model processing. Traditional non-manifold surface inspection and repair methods usually rely on complex algorithms and time-consuming calculations, which are difficult to meet the requirements of efficiency and accuracy in practical applications. In addition, when processing complex geological models, these methods often find it difficult to balance the geometric accuracy and topological structure of the model, resulting in quality problems in the repaired model.

[0005] Therefore, studying an efficient and accurate non-manifold surface inspection and repair extraction method is of great significance for improving the data quality of geological models and optimizing the model lightweight processing process. Summary of the invention

[0006] In view of the above-mentioned deficiencies in the prior art, the present invention provides a repair method and system for non-manifold surfaces in geological body models, which solve the problems of low efficiency, poor repair effect, lack of automated inspection and repair capabilities, and inability to balance the geometric accuracy and topological structure correctness of the model in the existing non-manifold surface inspection and repair technology of geological body models.

[0007] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is: a repair method for non-manifold surfaces in a geological body model, comprising the following steps:

[0008] S1. Determine the target area;

[0009] S2, obtaining a geological body model to be inspected in the target area;

[0010] S3, obtaining the topological relationship of the geological body model to be checked that describes the number of triangular meshes associated with each edge of the triangular mesh;

[0011] S4, judging whether there is a non-manifold surface in the geological body model to be checked according to the topological relationship of the geological body model to be checked, if so, proceeding to step S5, otherwise, ending the process;

[0012] S5. Separate the non-manifold surfaces into manifold surfaces using a seed search algorithm, and complete the repair of the non-manifold surfaces in the geological body model.

[0013] Furthermore, the step S3 specifically includes: traversing the edges of the triangular meshes constituting the geological body model to be checked, numbering the triangular meshes associated with each edge respectively, counting the number of triangular meshes associated with each edge, and obtaining the topological relationship of the geological body model to be checked.

[0014] Furthermore, the step S4 is specifically as follows: according to the topological relationship of the geological body model to be checked, it is determined whether there are edges of the associated triangular meshes with the number being greater than 2. If so, there are non-manifold surfaces, and the process proceeds to step S5; otherwise, the process ends.

[0015] Furthermore, the edges of the associated triangular meshes whose number is greater than 2 are singular edges; and the non-manifold surface is a triangular mesh associated with the singular edges.

[0016] Furthermore, the step S5 is specifically as follows:

[0017] S501, randomly selecting a triangular mesh from the geological body model to be checked as a seed search triangular mesh;

[0018] S502, determining whether there is an edge of the seed search triangular mesh with the number of associated triangular meshes being 2, if so, directly proceeding to step S503, otherwise, separating the seed search triangular mesh from the geological body model to be checked, and returning to step S501 to select a new seed search mesh from the remaining triangular meshes of the geological body model to be checked;

[0019] S503, dividing the edges of the seed search grid into boundary edges and internal edges based on the number of triangle grids associated with the edges;

[0020] S504, sequentially dividing the triangular meshes associated with each internal edge into internal edges and boundary edges, until the boundary edges currently divided can be connected end to end to form a closed manifold;

[0021] S505 , separating the manifold surface enclosed by the boundary edges of the current division from the geological body model to be checked, and returning to step S501 to select a new seed search mesh from the remaining triangular meshes of the geological body model to be checked.

[0022] Furthermore, in step S503 , the number of triangle meshes associated with the internal edges is 2; the number of triangle meshes associated with the boundary edges is 1 or greater than 2.

[0023] The beneficial effects of the present invention are as follows: the present invention realizes rapid and accurate identification and repair of non-manifold surfaces by analyzing the quantitative relationship between triangular meshes and edges, thereby providing strong support for the efficient display and precise processing of geological body models, helping to improve the data processing efficiency of geological body models, and can also ensure the correctness of the repaired model in terms of geometry and topological structure, providing reliable guarantee for the further application of geological body models, and solving the problems of low efficiency, poor repair effect, lack of automated inspection and repair capabilities, and inability to balance the geometric accuracy and topological structure correctness of the model in existing geological body model non-manifold surface inspection and repair technologies.

[0024] A repair system for non-manifold surfaces in geological body models, comprising a data acquisition module, a topology construction module, a non-manifold surface extraction module and a non-manifold surface separation module;

[0025] The data acquisition module is used to acquire the geological body model to be inspected in the target area;

[0026] The topology building module is used to traverse the edges of the triangular meshes constituting the geological body model to be checked, number the triangular meshes associated with each edge, and count the number of triangular meshes associated with each edge to obtain the topological relationship of the geological body model to be checked;

[0027] The non-manifold surface extraction module is used to extract singular edges and non-manifold surfaces according to the topological relationship of the geological body model to be checked;

[0028] The non-manifold surface separation module is used to separate each non-manifold surface into manifold surfaces by using a seed search algorithm.

[0029] The beneficial effects of the present invention are as follows: the present invention realizes the rapid and accurate identification and repair of non-manifold surfaces by analyzing the quantitative relationship between triangular meshes and edges, thereby providing strong support for the efficient display and precise processing of geological body models, helping to improve the data processing efficiency of geological body models, and also ensuring the correctness of the repaired model in terms of geometry and topology, providing reliable guarantee for the further application of geological body models, and solving the problems of low efficiency, poor repair effect, lack of automated inspection and repair capabilities, and inability to balance the geometric accuracy and topological structure correctness of models in existing geological body model non-manifold surface inspection and repair technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The figure is a flow chart of the method of the present invention.

[0031] Figure 2 It is a system structure diagram of the present invention.

[0032] Figure 3 Schematic diagram of non-manifold surfaces and singular edges in an embodiment of the present invention.

[0033] Figure 4 It is a schematic diagram of the separation module effect in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0035] Example 1

[0036] like Figure 1 As shown, in one embodiment of the present invention, a method for repairing a non-manifold surface in a geological body model includes the following steps:

[0037] S1. Determine the target area;

[0038] S2, obtaining a geological body model to be inspected in the target area;

[0039] S3, obtaining the topological relationship of the geological body model to be checked that describes the number of triangular meshes associated with each edge of the triangular mesh;

[0040] S4, judging whether there is a non-manifold surface in the geological body model to be checked according to the topological relationship of the geological body model to be checked, if so, proceeding to step S5, otherwise, ending the process;

[0041] S5. Separate the non-manifold surfaces into manifold surfaces using a seed search algorithm, and complete the repair of the non-manifold surfaces in the geological body model.

[0042] The step S3 specifically includes: traversing the edges of the triangular meshes constituting the geological body model to be checked, numbering the triangular meshes associated with each edge respectively, counting the number of triangular meshes associated with each edge, and obtaining the topological relationship of the geological body model to be checked.

[0043] The step S4 is specifically as follows: according to the topological relationship of the geological body model to be checked, it is determined whether there are edges of associated triangular meshes greater than 2. If so, there are non-manifold surfaces, and the process proceeds to step S5; otherwise, the process ends.

[0044] The edges of the associated triangular meshes whose number is greater than 2 are singular edges; and the non-manifold surface is a triangular mesh associated with the singular edges.

[0045] In this embodiment, the number of triangular meshes associated with the edges of all triangular meshes constituting the geological body model is traversed. If the number of triangular meshes associated with a certain edge is greater than 2, the edge is a singular edge, and the triangular mesh associated with the singular edge is a non-manifold surface, thereby extracting and marking all singular edges and non-manifold surfaces in the geological model to be checked.

[0046] The step S5 is specifically as follows:

[0047] S501, randomly selecting a triangular mesh from the geological body model to be checked as a seed search triangular mesh;

[0048] S502, determining whether there is an edge of the seed search triangular mesh with the number of associated triangular meshes being 2, if so, directly proceeding to step S503, otherwise, separating the seed search triangular mesh from the geological body model to be checked, and returning to step S501 to select a new seed search mesh from the remaining triangular meshes of the geological body model to be checked;

[0049] S503, dividing the edges of the seed search grid into boundary edges and internal edges based on the number of triangle grids associated with the edges;

[0050] S504, sequentially dividing the triangular meshes associated with each internal edge into internal edges and boundary edges, until the boundary edges currently divided can be connected end to end to form a closed manifold;

[0051] S505 , separating the manifold surface enclosed by the boundary edges of the current division from the geological body model to be checked, and returning to step S501 to select a new seed search mesh from the remaining triangular meshes of the geological body model to be checked.

[0052] In step S503 , the number of triangle meshes associated with the internal edges is 2; the number of triangle meshes associated with the boundary edges is 1 or greater than 2.

[0053] In this embodiment, the edges with 1 or more associated triangle meshes are defined as boundary edges, and the remaining edges are defined as internal edges. The seed search algorithm is used to separate the extracted non-manifold surfaces into surfaces that meet the manifold conditions.

[0054] (1) Randomly select a triangle mesh as a seed to search for triangle meshes, traverse the number of triangle meshes associated with the three edges of the triangle mesh, define the edges with 1 or more associated triangle meshes as boundary edges, and define the rest as internal edges. If the edge currently read is an internal edge, skip this edge and continue to read the next edge. If the edge read is a boundary edge, store the boundary edge in memory.

[0055] (2) Continue to traverse the three edges of the triangle mesh associated with the edge that is an internal edge in the seed search triangle mesh. The traversal method is the same as (1). If the edge currently read is an internal edge, skip this edge and continue to read the next edge. If the edge read is a boundary edge, store the boundary edge in the memory.

[0056] (3) If the boundary edges stored in the memory can be connected end to end to form a closed manifold surface, then the manifold surface is separated.

[0057] (4) Randomly select one of the untraversed triangular meshes as a new seed search triangular mesh, and repeat steps (1) to (3) until all triangular meshes in the geological body model data to be checked have been traversed.

[0058] (5) So far, all non-manifold surfaces have been separated into several independent manifold surfaces.

[0059] Example 2

[0060] like Figure 2 As shown, the present invention provides a repair system for non-manifold surfaces in geological body models, including a data acquisition module, a topology construction module, a non-manifold surface extraction module and a non-manifold surface separation module;

[0061] The data acquisition module is used to acquire the geological body model to be inspected in the target area;

[0062] The topology building module is used to traverse the edges of the triangular meshes constituting the geological body model to be checked, number the triangular meshes associated with each edge, and count the number of triangular meshes associated with each edge to obtain the topological relationship of the geological body model to be checked;

[0063] The non-manifold surface extraction module is used to extract singular edges and non-manifold surfaces according to the topological relationship of the geological body model to be checked;

[0064] The non-manifold surface separation module is used to separate each non-manifold surface into manifold surfaces by using a seed search algorithm.

[0065] like Figure 3 As shown in the figure, the process of extracting singular edges and non-manifold surfaces by the non-manifold surface extraction module is as follows:

[0066] The triangular meshes associated with edge CF are ΔBCF, ΔHCF, and ΔQCF, totaling three triangular meshes. Then edge CF is a singular edge, and the triangular mesh associated with it is a non-manifold surface. The triangular meshes associated with edge FP are ΔBFP, ΔOFP, and ΔGFP, totaling three triangular meshes. Then edge FP is a singular edge, and the triangular mesh associated with it is a non-manifold surface.

[0067] In this embodiment, the detailed steps of the non-manifold surface separation module using the seed search algorithm to separate the non-manifold surfaces are as follows: Figure 4 For example:

[0068] (1) Take ΔABC as the seed triangle, traverse the number of triangles associated with the three edges of ΔABC, define the edges with 1 or more associated triangles as boundary edges, and define the rest as internal edges. Among them, the number of triangles associated with BC is 2, which is an internal edge, while the number of triangles associated with the two edges AB and AC is 1 each, which is a boundary edge. The boundary edges are stored in memory.

[0069] (2) Continue searching along another triangle ΔBCF associated with the internal edge BC in step (1), and traverse the number of triangles associated with the three edges BC, CF, and BF of ΔBCF respectively. The number of triangles associated with BC and BF is 2 each, which are internal edges, and the number of triangles associated with CF is 3, which are boundary edges. Store the boundary edges in memory.

[0070] (3) Continue searching along another triangle ΔBFP associated with the internal edge BF in step (2), and traverse the number of triangles associated with the three edges BF, FP, and BP of ΔBFP. Among them, the number of triangles associated with BF is 2, which is an internal edge, and the number of triangles associated with BP and FP is 1 and 3 respectively, which are all boundary edges. The boundary edges are stored in the memory.

[0071] (4) At this point, the boundary edges marked in the previous check are AB, AC, CF, FP, and BP, which can be connected end to end to form a closed surface, and there are no singular edges or non-manifold surfaces. At this point, the closed surface ACFPB is separated and the boundary edges stored in the memory are cleared.

[0072] (5) Select one of the remaining untraversed triangles, such as ΔQCF, as the new seed triangle, and repeat steps (1) to (4). In turn, traverse the number of triangles associated with the three edges of the three triangles ΔQCF, ΔQFG, and ΔGFP. Mark QC, CF, QG, FP, and GP as boundary edges and store them in memory. The rest are internal edges. The five boundary edges can be connected end to end to form a closed surface, and there are no singular edges or non-manifold surfaces. At this point, the closed surface QCFPG is separated and the boundary edges stored in the memory are cleared.

[0073] (6) Continue to select one of the triangles that have not been traversed, such as ΔCFH as the new seed triangle, repeat steps (1)-(4), and traverse the number of triangles associated with three edges in the four triangles ΔCFH, ΔFHE, ΔFEO, and ΔFPO in turn. Mark CF, CH, HE, EO, PO, and FP as boundary edges and store them in memory. The rest are internal edges. The six boundary edges can be connected end to end to form a closed surface, and there are no singular edges and non-manifold surfaces. At this point, the separation of the closed surface CHEOPF is completed, and the boundary edges stored in the memory are cleared.

[0074] (7) At this point, the separation process of the non-manifold surface is completed. The effect after separation is as follows: Figure 4 shown.

Claims

1. A repair method for non-manifold surfaces in geological models. It is characterized in that The following steps are involved: S1. Determine the target area; S2, obtaining a geological body model to be inspected in the target area; S3, obtaining the topological relationship of the geological body model to be checked that describes the number of triangular meshes associated with each edge of the triangular mesh; S4, judging whether there is a non-manifold surface in the geological body model to be checked according to the topological relationship of the geological body model to be checked, if so, proceeding to step S5, otherwise, ending the process; S5. Separate the non-manifold surfaces into manifold surfaces using a seed search algorithm, and complete the repair of the non-manifold surfaces in the geological body model.

2. The method for repairing non-manifold surfaces in a geological body model according to claim 1, It is characterized in that The step S3 specifically includes: traversing the edges of the triangular meshes constituting the geological body model to be checked, numbering the triangular meshes associated with each edge respectively, counting the number of triangular meshes associated with each edge, and obtaining the topological relationship of the geological body model to be checked.

3. The method for repairing non-manifold surfaces in a geological body model according to claim 1, It is characterized in that The step S4 is specifically as follows: according to the topological relationship of the geological body model to be checked, it is determined whether there are edges of associated triangular meshes greater than 2. If so, there are non-manifold surfaces, and the process proceeds to step S5; otherwise, the process ends.

4. The method for repairing non-manifold surfaces in a geological body model according to claim 3, It is characterized in that The edges of the associated triangular meshes whose number is greater than 2 are singular edges; and the non-manifold surface is a triangular mesh associated with the singular edges.

5. The method for repairing non-manifold surfaces in a geological body model according to claim 1, It is characterized in that The step S5 is specifically as follows: S501, randomly selecting a triangular mesh from the geological body model to be checked as a seed search triangular mesh; S502, determining whether there is an edge of the seed search triangular mesh with the number of associated triangular meshes being 2, if so, directly proceeding to step S503, otherwise, separating the seed search triangular mesh from the geological body model to be checked, and returning to step S501 to select a new seed search mesh from the remaining triangular meshes of the geological body model to be checked; S503, dividing the edges of the seed search grid into boundary edges and internal edges based on the number of triangle grids associated with the edges; S504, sequentially dividing the triangular meshes associated with each internal edge into internal edges and boundary edges, until the boundary edges currently divided can be connected end to end to form a closed manifold; S505 , separating the manifold surface enclosed by the boundary edges of the current division from the geological body model to be checked, and returning to step S501 to select a new seed search mesh from the remaining triangular meshes of the geological body model to be checked.

6. The method for repairing non-manifold surfaces in a geological body model according to claim 5, It is characterized in that In step S503 , the number of triangle meshes associated with the internal edges is 2; the number of triangle meshes associated with the boundary edges is 1 or greater than 2.

7. A repair system for non-manifold surfaces in a geological body model, using the repair method for non-manifold surfaces in a geological body model according to any one of claims 1 to 6, It is characterized in that It includes a data acquisition module, a topology construction module, a non-manifold surface extraction module and a non-manifold surface separation module; The data acquisition module is used to acquire the geological body model to be inspected in the target area; The topology building module is used to traverse the edges of the triangular meshes constituting the geological body model to be checked, number the triangular meshes associated with each edge, and count the number of triangular meshes associated with each edge to obtain the topological relationship of the geological body model to be checked; The non-manifold surface extraction module is used to extract singular edges and non-manifold surfaces according to the topological relationship of the geological body model to be checked; The non-manifold surface separation module is used to separate each non-manifold surface into manifold surfaces by using a seed search algorithm.

Citation Information

Patent Citations

  • Topology discovery method of space geological data based on unstructured mode

    CN102609982A

  • Geologic body variable attribute interpolation method and system

    CN110968930A

  • Model-based image segmentation

    US20230050190A1

  • Three-dimensional model simplification method and apparatus and storage medium

    WO2023273339A1

Cited By

  • Earthwork amount calculation method and device based on geologic model

    CN121527164A