Conformal periodic flattening method with deficit curved surface

Through the conformal periodic flattening method, the problem of seam alignment and deformation errors after flattening the surface is solved, and high-precision surface processing is achieved. It is suitable for fields such as grid generation and texture mapping, and is suitable for any surface with genus .

CN118864232AActive Publication Date: 2024-10-29NANJING APPLIED MATHEMATICS CENT +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411346092.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-10-29
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

The existing surface flattening technology cannot align the slits after cutting and flattening, and the deformation error is sensitive to the slit selection, making it difficult to meet the needs of mesh generation and texture mapping.

Method used

The conformal periodic flattening method of a genus surface is adopted. By checking the genus number of the surface, cutting the slices into sub-surfaces, searching for ring handle circles and tunnel circles, establishing periodicity and inversion conditions, and constructing coupled conformal energy. Minimize the model, use optimization methods to solve the vertex mapping coordinates and translation amounts, and construct a conformal periodic flattened mesh.

Benefits of technology

It realizes the seam alignment of the surface after conformal flattening, reduces the deformation error, is suitable for any surface with a genus, has high precision and robustness, and is suitable for scenes such as mesh generation and texture mapping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864232A_ABST
    Figure CN118864232A_ABST
Patent Text Reader

Abstract

The invention discloses a conformal periodic flattening method for a curved surface with deficit grids, and relates to the field of curved surface flattening. The method comprises the following steps: for an input triangular mesh curved surface, firstly checking the number of deficient grids of the curved surface, if the number of deficient grids is greater than 1, cutting the curved surface into a plurality of sub-curved surfaces with 1 deficient grids, otherwise, recording the original curved surface as the sub-curved surfaces; secondly, searching a ring handle ring and a tunnel ring of each sub-curved surface and cutting the ring handle ring and the tunnel ring; secondly, establishing a periodic condition for a circle slotting boundary in each sub-curved surface, establishing an overturning condition for a slotting boundary between the two sub-curved surfaces, constructing a coupled conformal energy minimization model, and solving the model to obtain vertex mapping coordinates, a periodic translation amount and an overturning center; and finally, constructing a conformal periodic flattening grid of each sub-curved surface according to an obtained result. According to the method, the periodic condition and the overturning condition based on the kerfs are constructed, the conformal period flattening mapping is calculated through conformal energy minimization, the high conformality of the mapping at the kerfs is guaranteed, and the method is suitable for any curved surface with defects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of curved surface flattening, and in particular to a conformal periodic flattening method for a genus curved surface. Background Art

[0002] In the field of computer graphics and geometry processing, surface flattening is an important technology for mapping three-dimensional surfaces onto two-dimensional planes. Conventional surface flattening technology will make it impossible to align the surface at the slit after cutting and flattening, or it will be difficult to ensure a low deformation error at the slit. Conformal periodic flattening technology can align the slits while conformally flattening, so the deformation error of flattening is insensitive to the choice of slits, thus making up for the above shortcomings and playing an important role in fields such as mesh generation and texture mapping that require slit alignment. Summary of the invention

[0003] In view of the deficiencies in the prior art, the present invention aims to provide a conformal period flattening method for a genus surface.

[0004] In order to achieve the above object, the present invention adopts the following technical solution: S1: Check the input surface Genus ,like , cut the surface into pieces subsurfaces with genus 1 ,remember Subsurface and The gap between If , then the subsurface Original surface ; S2: Search each subsurface A pair of ring handle circles and tunnel circles are cut along them to obtain the cut subsurface , each sub-surface contains two circle cut boundaries , while inheriting the subsurface The gap between ; S3: For each sub-surface Internal circle cut boundary Establish periodic conditions for any two subsurfaces The cut boundary between Establish the flipping condition, construct the coupled conformal energy minimization model, and then use the optimization method to solve the model to obtain each subsurface Vertex mapping coordinates , periodic shift and flip center ; S3.1: For each subsurface Internal circle cut boundary Establish periodic conditions so that the one-to-one corresponding points on each circle slit boundary only differ in translation after flattening, where the translation amount is the quantity to be determined. Since there are two circle slit boundaries, there are two translation amounts, recorded as , and thus construct the matrix: ; in, It is composed of subsurface The constructed cotangent Laplace matrix is ​​defined as: ; in, It is the edge The corresponding cotangent Laplace matrix edge weights, and It is the edge The two opposite angles; It is the edge The weight of and It is the edge The two opposite angles; Expressed The relationship with adjacent mesh vertices, whose elements are The sum of the negative weights of the adjacent edges of the newly added cut corresponding to the vertex, Expressed The relationship between them is the sum of the negative weights of all vertex adjacent edges corresponding to the boundaries of the two circle cuts. Representation Matrix The transpose of S3.2: Searching for subsurfaces The boundary points are constructed according to the following antisymmetric matrix ,in ; Construct each subsurface Conformal energy function on : ; in The matrices are The first and second columns of , It is a subsurface The coordinates of the mesh vertices obtained after mapping; S3.3: For any two subsurfaces The cut boundary between Establish the flipping condition so that the sub-surface The period of flattening the slit vertices on the plane With the subsurface The corresponding slit vertex on the periodic flattened plane satisfy ,in Slit exist center, because there is slicing, so there are The center of the cut is recorded as ; The flipping condition maps all sub-surfaces Coupled together, a coupled conformal energy minimization model is constructed: ; S3.4: Use the optimization method to solve the coupled conformal energy minimization model constructed in S3.3 and obtain each subsurface Vertex mapping coordinates , periodic shift and flip center ; S4: Vertex mapping coordinates as requested in S3 , periodic shift and flip center Construct each subsurface A conformal periodic flattened mesh.

[0005] A conformal period flattening method for a genus surface is applied in the field of computer-aided engineering as follows: after the surface is conformally flattened, surface processing is performed on the flattened plane, and then the processing effect is restored back to the surface, such as mesh generation, texture mapping, etc.

[0006] Beneficial effects: 1. Conformal periodic flattening designs periodic conditions and flipping conditions for the slits, thereby ensuring both flattening conformality and slit alignment, which can be directly applied to mesh generation, texture mapping and other scenarios.

[0007] 2. The conformal period flattening method is universal and can be applied to any surface with defect.

[0008] 3. The model of the conformal energy minimization method is simple and has strict theoretical guarantees. It can be solved efficiently, give high-precision conformal mapping, and is robust. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a flow chart of the algorithm described in the present invention.

[0010] Figure 2 It is the model in the specific implementation case 1 and the segmented ring handle circle and tunnel circle.

[0011] Figure 3 It is the conformal flattening result implemented by the algorithm in specific implementation case 1.

[0012] Figure 4 It is the model in the specific implementation case 2 and the segmentation cut line, ring handle circle and tunnel circle.

[0013] Figure 5 This is the conformal flattening result of the algorithm implemented in the specific implementation case 2. The left figure is Figure 4 The conformal flattened plane of the left half of the subsurface, and the right picture is Figure 4 The conformal flattened plane of the right half of the subsurface. DETAILED DESCRIPTION

[0014] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection.

[0015] The present invention provides a conformal period flattening method for a genus surface, the specific steps of which are: S1: Check the input surface Genus ,like , cut the surface into pieces subsurfaces with genus 1 ,remember Subsurface and The gap between If , then the subsurface Original surface ; S2: Search each subsurface A pair of ring handle circles and tunnel circles are cut along them to obtain the cut subsurface , each sub-surface contains two circle cut boundaries , while inheriting the subsurface The gap between ; S3: For each sub-surface Internal circle cut boundary Establish periodic conditions for any two subsurfaces The cut boundary between Establish the flipping condition, construct the coupled conformal energy minimization model, and then use the optimization method to solve the model to obtain each subsurface Vertex mapping coordinates , periodic shift and flip center ; S3.1: For each subsurface Internal circle cut boundary Establish periodic conditions so that the one-to-one corresponding points on each circle slit boundary only differ in translation after flattening, where the translation amount is the quantity to be determined. Since there are two circle slit boundaries, there are two translation amounts, recorded as , and thus construct the matrix: ; in, It is composed of subsurface The constructed cotangent Laplace matrix is ​​defined as: ; in, It is the edge The corresponding cotangent Laplace matrix edge weights, and It is the edge The two opposite angles; It is the edge The weight of and It is the edge The two opposite angles; Expressed The relationship with adjacent mesh vertices, whose elements are The sum of the negative weights of the adjacent edges of the newly added cut corresponding to the vertex, Expressed The relationship between them is the sum of the negative weights of all vertex adjacent edges corresponding to the boundaries of the two circle cuts. Representation Matrix The transpose of S3.2: Searching for subsurfaces The boundary points are constructed according to the following antisymmetric matrix ,in ; Construct each subsurface Conformal energy function on : ; in The matrices are The first and second columns of , It is a subsurface The coordinates of the mesh vertices obtained after mapping; S3.3: For any two subsurfaces The cut boundary between Establish the flipping condition so that the sub-surface The period of flattening the slit vertices on the plane With the subsurface The corresponding slit vertex on the periodic flattened plane satisfy ,in Slit exist center, because there is slicing, so there are The center of the cut is recorded as ; The flipping condition maps all sub-surfaces Coupled together, a coupled conformal energy minimization model is constructed: ; S3.4: Use the optimization method to solve the coupled conformal energy minimization model constructed in S3.3 and obtain each subsurface Vertex mapping coordinates , periodic shift and flip center ; S4: Vertex mapping coordinates as requested in S3 , periodic shift and flip center Construct each subsurface A conformal periodic flattened mesh.

[0016] Embodiment 1: This embodiment takes the Kitten model with a genus of 1 as an example to further introduce the present invention in detail. The specific steps are as follows: S1: Surface The genus number is 1, and there is no need to split it into multiple sub-surfaces. The original surface ; S2: Search Surface A pair of ring handle rings and tunnel rings are cut along them to obtain the cut surface , including 2 circle cut boundaries ,like Figure 2 As shown in line 1; S3: For curved surfaces Internal circle cut boundary Establish periodic conditions. Since there is no sub-surface segmentation, there is no need to establish flipping conditions. The conformal energy minimization model constructed only Then use the optimization method to solve the model and get the vertex mapping coordinates And the periodic shift ; S3.1: For curved surfaces The circle cut boundary Establish periodic conditions so that the one-to-one corresponding points on the boundary of each circle cut are only shifted after flattening, where the translation amount is the quantity to be determined. Since there are two circle cut boundaries, there are two translations, recorded as , and thus construct the matrix: ; in, It is made of surface The constructed cotangent Laplace matrix is ​​defined as: ; in, It is the edge The corresponding cotangent Laplace matrix edge weights, and It is the edge The two opposite angles; It is the edge The weight of and It is the edge Two opposite angles. Expressed The relationship with adjacent mesh vertices, whose elements are The sum of the negative weights of the adjacent edges of the newly added cut corresponding to the vertex, Expressed The relationship between them is the sum of the negative weights of all vertex adjacent edges corresponding to the boundaries of the two circle cuts. Representation Matrix The transpose of S3.2: Searching for surfaces The boundary points are constructed according to the following antisymmetric matrix ,in ; Construction Surface Conformal energy function on : ; among them The matrices are The first and second columns of , yes The coordinates of the mesh vertices obtained after mapping; S3.3: Since there is no sub-surface splitting, there is no need to construct the flipping condition. The final conformal energy minimization model is: ; S3.4: Use optimization methods to solve the conformal energy minimization model constructed in S3.3 and obtain the vertex mapping coordinates And the periodic shift ; S4: Vertex coordinates as requested in S3 and periodic shift Construction Surface The conformal period flattened grid is obtained as Figure 3 shown.

[0017] Embodiment 2: This embodiment takes the Filterclip model with a genus of 2 as an example to further introduce the present invention in detail. The specific steps are as follows: S1: Surface The genus of is 2, so the surface is cut into two subsurfaces with edges of genus 1. ,in and The gap between ,like Figure 4 As shown in line 2; S2: Search each subsurface A pair of ring handle circles and tunnel circles are cut along them to obtain the cut subsurface , each containing 2 circle cut boundaries as well as ,like Figure 4 As shown in line 1, Inherited The gap between ; S3: For each sub-surface Internal circle cut boundary Establish periodic conditions for the two subsurfaces The cut boundary between Establish the flipping condition, construct the coupled conformal energy minimization model, and then use the optimization method to solve the model to obtain all subsurfaces Vertex mapping coordinates , periodic shift and flip center ; S3.1: For each subsurface Internal circle cut boundary Establish periodic conditions so that the one-to-one corresponding points on each circle slit boundary only differ in translation after flattening, where the translation amount is the quantity to be determined. Since there are two circle slit boundaries, there are two translation amounts, namely , and thus construct the matrix: ; in, The subsurface mesh The constructed cotangent Laplace matrix is ​​defined as: ; in, It is the edge The corresponding cotangent Laplace matrix edge weights, and It is the edge The two opposite angles; It is the edge The weight of and It is the edge The two opposite angles; Expressed The relationship with adjacent mesh vertices, whose elements are The sum of the negative weights of the adjacent edges of the newly added cut corresponding to the vertex, Expressed The relationship between them is the sum of the negative weights of all vertex adjacent edges corresponding to the boundaries of the two circle cuts. Representation Matrix The transpose of S3.2: Searching for subsurfaces The boundary points are constructed according to the following antisymmetric matrix ,in ; Construct each subsurface Conformal energy function on : ; in The matrices are The first and second columns of , It is a subsurface The coordinates of the mesh vertices obtained after mapping; S3.3: For any two subsurfaces The cut boundary between Establish the flipping condition so that the sub-surface The period of flattening the slit vertices on the plane With the subsurface The corresponding slit vertex on the periodic flattened plane satisfy ,in Slit exist The center of all the slits is . Thus the mapping of all sub-surfaces Coupled together to build a coupled conformal energy minimization model: ; S3.4: Use the optimization method to solve the coupled conformal energy minimization model constructed in S3.3 and obtain all subsurfaces Vertex mapping coordinates , periodic shift and flip center ; S4: Vertex mapping coordinates as requested in S3 , periodic shift and flip center Construct each subsurface The conformal period flattened grid is Figure 5 As shown, due to the surface The genus of is 2, so there are 2 periodic flattened planes, the outer boundary of each plane satisfies the periodicity condition, and the cavity boundaries inside the 2 planes satisfy the flipping condition.

[0018] The technical means disclosed in the scheme of the present invention are not limited to the technical means disclosed in the above-mentioned implementation mode, but also include technical schemes composed of any combination of the above-mentioned technical features. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications are also regarded as the protection scope of the present invention.

Claims

1. A conformal period flattening method for a genus surface, characterized in that: The following steps are involved: S1: Check the input surface Genus ,like , cut the surface into pieces subsurfaces with genus 1 ,remember Subsurface and The gap between If , then the subsurface Original surface ; S2: Search each sub-surface A pair of ring handle circles and tunnel circles are cut along them to obtain the cut subsurface , each sub-surface contains two circle cut boundaries , while inheriting the subsurface The gap between ; S3: For each sub-surface Internal circle cut boundary Establish periodic conditions for any two subsurfaces The cut boundary between Establish the flipping condition, construct the coupled conformal energy minimization model, and then use the optimization method to solve the model to obtain each subsurface Vertex mapping coordinates , periodic shift and flip center ; S4: Vertex mapping coordinates as requested in S3 , periodic shift and flip center Construct each subsurface A conformal periodic flattened mesh.

2. A conformal period flattening method for a genus surface according to claim 1, characterized in that: Step S3 specifically includes the following steps: S3.1: For each subsurface Internal circle cut boundary Establish periodic conditions so that the one-to-one corresponding points on each circle slit boundary only differ in translation after flattening, where the translation amount is the quantity to be determined. Since there are two circle slit boundaries, there are two translation amounts, recorded as , thus constructing the matrix ; in, It is composed of subsurface The constructed cotangent Laplace matrix is ​​defined as: ; in, It is the edge The corresponding cotangent Laplace matrix edge weights, and It is the edge The two opposite angles; It is the edge The weight of and It is the edge The two opposite angles; Expressed The relationship with adjacent mesh vertices, whose elements are The sum of the negative weights of the adjacent edges of the newly added cut corresponding to the vertex, Expressed The relationship between them is the sum of the negative weights of all vertex adjacent edges corresponding to the boundaries of the two circle cuts. Representation Matrix The transpose of S3.2: Searching for subsurfaces The boundary points are constructed according to the following antisymmetric matrix ,in ; Construct each subsurface Conformal energy function on : ; in The matrices are The first and second columns of , It is a subsurface The coordinates of the mesh vertices obtained after mapping; S3.3: For any two subsurfaces The cut boundary between Establish the flipping condition so that the sub-surface The period of the flattened plane cuts the vertex With the subsurface The corresponding slit vertex on the periodic flattened plane satisfy ,in Slit exist center, because there is slicing, so there are The center of the cut is recorded as ; The flipping condition maps all sub-surfaces Coupled together to build a coupled conformal energy minimization model ; S3.4: Use the optimization method to solve the coupled conformal energy minimization model constructed in S3.3 and obtain each subsurface Vertex mapping coordinates , periodic shift and flip center .

3. A conformal period flattening method for a genus surface according to claim 1, characterized in that: The application in the field of computer-aided engineering is: after the surface is flattened conformally periodically, the surface processing is performed on the flattened plane, and then the processing effect is restored back to the surface.

Citation Information

Patent Citations

  • Pattern acquisition method for spatial three-dimensional configuration with defect of 1

    CN115795573A

  • Method for realizing parameterization of closed curved surface with defect of 1

    CN117635876A

  • Three-dimensional model scanning optimal conduction preserved area texture mapping method

    CN118674848A

  • Three-dimensional shape processing method and storage medium storing program for implementing same method

    JP2001216345A