A 3D mesh reconstruction method based on adaptive template

Through the adaptive template grid reconstruction method, GCN grid decoding and voxel-point cloud mapping modules are used to generate adaptive template grids, which solves the problem of insufficient reconstruction accuracy of fixed templates in complex anatomical structures and achieves higher reconstruction Accuracy.

CN118470254BActive Publication Date: 2024-10-18HUNAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410940189.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-18
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing deep learning-based mesh reconstruction methods have limitations in complex anatomical structures. It is difficult for fixed templates to cover all sample structural details, resulting in insufficient reconstruction accuracy.

Method used

A three-dimensional grid reconstruction method based on adaptive templates is used to obtain multi-scale feature maps through the feature extraction module. The GCN grid decoding module constructs an adaptive differential template grid, combines the average template grid to generate an adaptive template grid, and uses the volumetric The pixel-point cloud mapping module and the GCN mesh deformation module are used to deform to generate a three-dimensional surface mesh of the target medical image.

Benefits of technology

The reconstruction accuracy is significantly improved, it can better adapt to the diverse and specific characteristics of each object, and solves the limitations of fixed templates in the reconstruction of complex anatomical structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470254B_ABST
    Figure CN118470254B_ABST
Patent Text Reader

Abstract

The present application relates to a three-dimensional mesh reconstruction method based on an adaptive template, the method comprising: constructing a three-dimensional mesh reconstruction model; acquiring a target medical image, extracting features of the target medical image through a feature extraction module, and obtaining feature maps of multiple different scales; a GCN mesh decoding module constructing an adaptive differential template mesh based on the feature map of the minimum scale; constructing an average template mesh, and obtaining an adaptive template mesh based on the adaptive differential template mesh and the average template mesh; a voxel-point cloud mapping module converting the voxel features on each of the feature maps into spatial domain features of corresponding vertices; and a GCN mesh deformation module deforming the adaptive template mesh based on all spatial domain features to obtain a three-dimensional surface mesh corresponding to the target medical image. This method solves the limitation problem of using a fixed template in the reconstruction of complex anatomical structures.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer vision technology, and in particular to a three-dimensional mesh reconstruction method based on an adaptive template. Background Art

[0002] Current deep learning-based mesh reconstruction methods usually choose to deform a fixed template into the desired shape, but due to the differences in the three-dimensional structures between different samples, it is difficult for a fixed template to cover all the sample structure details, especially in structures with complex geometric shapes. Therefore, there are limitations in the reconstruction of complex anatomical structures. Summary of the invention

[0003] Based on this, it is necessary to provide a 3D mesh reconstruction method based on an adaptive template, the method comprising:

[0004] S1: constructing a 3D mesh reconstruction model, wherein the 3D mesh reconstruction model includes a feature extraction module, a GCN mesh decoding module, a voxel-point cloud mapping module, and a GCN mesh deformation module;

[0005] S2: Acquire a target medical image, and perform feature extraction on the target medical image by the feature extraction module to obtain a plurality of feature maps of different scales;

[0006] S3: The GCN grid decoding module constructs an adaptive differential template grid based on the minimum scale feature map; constructs an average template grid, and obtains an adaptive template grid based on the adaptive differential template grid and the average template grid;

[0007] S4: the voxel-point cloud mapping module converts the voxel features on each of the feature maps into spatial domain features of the corresponding vertices;

[0008] S5: The GCN mesh deformation module deforms the adaptive template mesh based on all the spatial domain features to obtain a three-dimensional surface mesh corresponding to the target medical image.

[0009] Beneficial effects: This method constructs an adaptive template grid through the feature map of the target medical image. The constructed adaptive template grid can better correspond to the diverse and specific characteristics of each object, thereby significantly improving the reconstruction accuracy and solving the limitations of using fixed templates in the reconstruction of complex anatomical structures. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 paying creative work.

[0011] Figure 1 This is a flowchart of a three-dimensional mesh reconstruction method based on an adaptive template according to an embodiment of the present application. DETAILED DESCRIPTION

[0012] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.

[0013] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0014] like Figure 1 As shown, this embodiment provides a three-dimensional mesh reconstruction method based on an adaptive template, the method comprising:

[0015] S1: constructing a three-dimensional mesh reconstruction model, wherein the three-dimensional mesh reconstruction model includes a feature extraction module, a GCN mesh decoding module, a voxel-point cloud mapping module and a GCN mesh deformation module.

[0016] S2: Acquire a target medical image, and perform feature extraction on the target medical image through the feature extraction module to obtain feature maps of multiple different scales.

[0017] Specifically, the feature extraction module includes four down-sampling blocks and four up-sampling blocks; the sampling blocks are interconnected by skip connections;

[0018] Each of the downsampling blocks includes a downsampling layer, a batch normalization layer, and a ReLU activation function; the four downsampling blocks are used to extract features from the target medical image, and the resolution of the target medical image is halved successively to obtain five feature maps whose scales are halved successively, which are respectively recorded as X0. X 1. X 2. X 3. X 4; the downsampling layer is a convolutional layer with a step size of 2;

[0019] Each of the upsampling blocks includes an upsampling layer, a batch normalization layer, and a ReLU activation function; the four upsampling blocks are used to double the resolution of the feature map of the smallest scale in turn, and obtain four feature maps with doubled scales in turn, which are respectively denoted as X 5. X 6. X 7. X 8; The upsampling layer is a transposed convolutional layer with a step size of 2.

[0020] In this embodiment, the architecture of the feature extraction module is U-Net.

[0021] S3: The GCN grid decoding module constructs an adaptive differential template grid based on the minimum-scale feature map; constructs an average template grid, and obtains an adaptive template grid based on the adaptive differential template grid and the average template grid.

[0022] Specifically, constructing an adaptive differential template grid includes:

[0023] Step 1: Take the minimum-scale feature map as input, and convert the feature map into a 1-dimensional latent code by Flatten operation and combining multiple fully connected layers;

[0024] Step 2: Pass the 1D latent code through a fully connected layer and a Reshape operation to generate a coarse-grained grid;

[0025] Step 3: The coarse-grained grid is sequentially passed through four graph convolutional network upsampling layers, gradually enhancing the resolution of the coarse-grained grid, gradually making the grid smoother and tighter, and the resolution gradually increases (from To the last N vertices), get the adaptive difference template mesh;

[0026] Each upsampling layer on the graph convolutional network includes a point cloud upsampling layer, a first graph convolution layer and an activation function; the first graph convolution layer adopts Chebyshev graph convolution.

[0027] Further, constructing the average template grid includes:

[0028] Get all aligned training grids, and average all aligned training grids to get the average grid;

[0029] A mesh of a specific structure is obtained, and a smoothed network is obtained through multiple smoothing operations. In this embodiment, the smoothing operation adopts a smoothing operation commonly used in the art, such as Laplace smoothing.

[0030] The average template grid uses the average grid or the smoothed grid.

[0031] While simple shapes like a sphere are sufficient for 3D reconstruction of simple objects, reconstruction of complex anatomical structures, such as biventricular or cortical meshes, requires a more adaptive initial mesh to accommodate its complexity. Using a randomly selected mesh or a smoothed average mesh from the training dataset can provide a closer template to a certain extent, but it still has limitations when reconstructing 3D meshes. The key reason is that the deformation ability of the fixed template is limited, which highlights the advantage of the adaptive template strategy, which can flexibly adjust the structure of the template mesh to achieve the best 3D surface mesh reconstruction for each sample.

[0032] Adaptive Difference Template Grid Each adaptive template With average template grid Compared with the point-to-point difference, the shape and Similarly, the GCN-based grid decoding module is automatically learned from image features.

[0033] The adaptive differential template grid is added to the average template grid to obtain the adaptive template grid, and the calculation formula is:

[0034] ;

[0035] in, Represents an adaptive template grid; represents the average template grid; Represents an adaptive difference template grid.

[0036] S4: The voxel-point cloud mapping module converts the voxel features on each of the feature maps into spatial domain features of the corresponding vertices.

[0037] In order to solve the domain difference between the adaptive template grid and the image features, the voxel-point cloud mapping module converts the feature map from the image domain to the spatial domain, converts all feature maps in turn, and obtains nine different spatial domain features, which are respectively recorded as: Y 0. Y 1. Y 2. Y 3. Y 4. Y 5. Y 6. Y 7. Y8;

[0038] The conversion process includes: projecting all normalized vertices (x, y, z) in the adaptive template grid to the pixel domain (i, j, k), and the calculation formula is:

[0039] i=x*W+W / 2; j=y*H+H / 2; k=z*D+D / 2;

[0040] Among them, i, j, k represent the coordinates of the adaptive template mesh vertices (x, y, z) in the pixel domain, and W, H, D represent the width, height, and depth of the target medical image;

[0041] After projection, the eight-neighborhood voxel features corresponding to the pixel coordinates (i, j, k) are weighted summed by trilinear interpolation to obtain the spatial domain features corresponding to the vertex (x, y, z).

[0042] S5: The GCN mesh deformation module deforms the adaptive template mesh based on all the spatial domain features to obtain a three-dimensional surface mesh corresponding to the target medical image.

[0043] Specifically, obtaining the three-dimensional surface mesh corresponding to the target medical image includes:

[0044] Step 1: concatenate the nine different spatial domain features and the vertex coordinates in the adaptive template mesh through a Concatenate operation;

[0045] Step 2: Upsample the splicing result through four graph convolution blocks to gradually enhance the mesh details to obtain the three-dimensional surface mesh;

[0046] Each of the graph convolution blocks includes three second graph convolution layers, a batch normalization layer, and a ReLU activation function;

[0047] Among them, after each graph convolution block, a prediction grid is output, and the 9 learned spatial domain features are reconcatenated to the current features as the input of the next graph convolution block.

[0048] This embodiment provides a three-dimensional mesh reconstruction model training process, including: the output of each graph convolution block is used to calculate the mesh loss, so there are a total of four stages of mesh loss from coarse to fine, and the three-dimensional mesh reconstruction model is back-propagated through the sum of the four-stage mesh losses to promote fine-grained and high-fidelity mesh reconstruction.

[0049] The mesh loss is divided into two parts: similarity loss and regularization loss. The former quantifies the difference between the geometry of the mesh output by the graph convolution block and the geometry of the real mesh, and is a direct measure of the fidelity of mesh reconstruction. The latter is to ensure that the topology of the reconstructed mesh is the same as the real mesh, and to ensure that the reconstructed mesh is complete and smooth.

[0050] For the similarity loss part, the chamfer distance is used to calculate the overall distance between the vertices of the mesh output by the graph convolution block and the vertices of the real mesh. It does not require the number / order of points on the two meshes to be the same, because the real mesh generated from FreeSurfer usually has more vertices.

[0051] For the regularization loss part, select edge loss, normal loss, and Laplace loss; edge loss aims to suppress overly long edges; normal loss is used to ensure that the output mesh has the same normal direction as the true mesh.

[0052] The calculation formula for any grid loss in the four stages is:

[0053] ;

[0054] ;

[0055] ;

[0056] ;

[0057] ;

[0058] ;

[0059] in, represents the grid loss function; represents the first hyperparameter; represents the second hyperparameter; represents the third hyperparameter; represents the fourth hyperparameter; represents the chamfer loss function, the first term of which represents the sum of the minimum distances from any point of the output mesh to the true mesh, and the second term represents the sum of the minimum distances from any point of the true mesh to the output mesh. The larger the chamfer distance, the greater the difference between the output mesh and the true mesh, and vice versa, the better the reconstruction effect. represents the Laplace loss function; represents the normal loss function; represents the marginal loss function; p The first grid representing the output of the graph convolutional block p Vertex coordinates; qThe grid output by the graph convolution block corresponds to the real grid. q Vertex coordinates; Indicates p The Laplace coordinates of the vertices after deformation; Indicates p The Laplace coordinates of the vertices before deformation; Indicates p The adjacent points of the vertices; k Indicates p The vertex k Coordinates of neighboring points; Indicates q The normal vector of each vertex.

[0060] The method provided in this embodiment constructs an adaptive template grid through the feature map of the target medical image. The constructed adaptive template grid can better correspond to the diverse and specific features of each object, thereby significantly improving the reconstruction accuracy and solving the limitations of using fixed templates in the reconstruction of complex anatomical structures.

[0061] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0062] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A three-dimensional mesh reconstruction method based on an adaptive template, characterized in that: include: S1: constructing a 3D mesh reconstruction model, wherein the 3D mesh reconstruction model includes a feature extraction module, a GCN mesh decoding module, a voxel-point cloud mapping module, and a GCN mesh deformation module; S2: Acquire a target medical image, and perform feature extraction on the target medical image by the feature extraction module to obtain a plurality of feature maps of different scales; S3: The GCN grid decoding module constructs an adaptive differential template grid based on the minimum scale feature map; constructing an average template grid, and obtaining an adaptive template grid based on the adaptive differential template grid and the average template grid; Constructing an adaptive differential template grid includes: Step 1: Take the minimum-scale feature map as input, and convert the feature map into a 1-dimensional latent code by Flatten operation and combining multiple fully connected layers; Step 2: Pass the 1D latent code through a fully connected layer and a Reshape operation to generate a coarse-grained grid; Step 3: The coarse-grained grid is sequentially passed through four graph convolution network upsampling layers to gradually enhance the resolution of the coarse-grained grid and obtain an adaptive differential template grid; Each of the upsampling layers on the graph convolution network includes a point cloud upsampling layer, a first graph convolution layer and an activation function; the first graph convolution layer adopts Chebyshev graph convolution; The constructing the average template grid comprises: Get all aligned training grids, and average all aligned training grids to get the average grid; Obtain a mesh with a specific structure, and obtain a smoothed network through multiple smoothing operations; The average template grid adopts the average grid or the smoothed grid; The adaptive differential template grid is the point-to-point difference between each adaptive template grid and the average template grid. The shape is the same as the average template grid and is automatically learned from the image features based on the GCN grid decoding module; The adaptive differential template grid is added to the average template grid to obtain the adaptive template grid, and the calculation formula is: ; in, Represents an adaptive template grid; represents the average template grid; represents the adaptive difference template grid; S4: the voxel-point cloud mapping module converts the voxel features on each of the feature maps into spatial domain features of the corresponding vertices; S5: The GCN mesh deformation module deforms the adaptive template mesh based on all the spatial domain features to obtain a three-dimensional surface mesh corresponding to the target medical image.

2. The method for 3D mesh reconstruction based on adaptive template according to claim 1, characterized in that: In S2, the feature extraction module includes four downsampling blocks and four upsampling blocks; the sampling blocks are interconnected by skip connections; Each of the downsampling blocks includes a downsampling layer, a batch normalization layer, and a ReLU activation function; the four downsampling blocks are used to extract features from the target medical image, and the resolution of the target medical image is halved successively to obtain five feature maps whose scales are halved successively, which are respectively recorded as X 0. X 1. X 2. X 3. X 4; the downsampling layer is a convolutional layer; Each of the upsampling blocks includes an upsampling layer, a batch normalization layer, and a ReLU activation function; the four upsampling blocks are used to double the resolution of the feature map of the previous scale in turn, and obtain four feature maps whose scales are doubled in turn, which are respectively denoted as X 5. X 6. X 7. X 8; The upsampling layer is a transposed convolutional layer.

3. The method for 3D mesh reconstruction based on adaptive template according to claim 1, characterized in that: In S4, the voxel-point cloud mapping module converts the feature map from the image domain to the spatial domain, converts all feature maps in sequence, and obtains nine different spatial domain features in sequence, which are respectively recorded as: Y 0. Y 1. Y 2. Y 3. Y 4. Y 5. Y 6. Y 7. Y 8; The conversion process includes: projecting all normalized vertices (x, y, z) in the adaptive template grid to the pixel domain (i, j, k), and the calculation formula is: i=x*W+W / 2; j=y*H+H / 2; k=z*D+D / 2; Among them, i, j, k represent the coordinates of the adaptive template mesh vertices (x, y, z) in the pixel domain, and W, H, D represent the width, height, and depth of the target medical image; After projection, the eight-neighborhood voxel features corresponding to the pixel coordinates (i, j, k) are weighted summed by trilinear interpolation to obtain the spatial domain features corresponding to the vertex (x, y, z).

4. The method for 3D mesh reconstruction based on adaptive template according to claim 3, characterized in that: In S5, the three-dimensional surface mesh corresponding to the target medical image is obtained, including: Step 1: concatenate the nine different spatial domain features and the vertex coordinates in the adaptive template mesh through a concatenate operation; Step 2: Pass the splicing result through four graph convolution blocks to gradually enhance the mesh details to obtain the three-dimensional surface mesh; Each of the graph convolution blocks includes three second graph convolution layers, a batch normalization layer, and a ReLU activation function; Among them, after each graph convolution block, a prediction grid is output, and the 9 learned spatial domain features are reconcatenated to the current features as the input of the next graph convolution block.

5. The method for 3D mesh reconstruction based on adaptive template according to claim 4, characterized in that: Also includes: The output of each graph convolution block is used to calculate the grid loss, and the three-dimensional grid reconstruction model is back-propagated through four stages of grid loss.

6. The method for 3D mesh reconstruction based on adaptive template according to claim 5, characterized in that: The calculation formula for any grid loss is: ; ; ; ; ; ; in, represents the grid loss function; represents the first hyperparameter; represents the second hyperparameter; represents the third hyperparameter; represents the fourth hyperparameter; represents the chamfer loss function; represents the Laplace loss function; represents the normal loss function; represents the marginal loss function; p The first grid representing the output of the graph convolutional block p Vertex coordinates; q The grid output by the graph convolution block corresponds to the real grid. q Vertex coordinates; Indicates p The Laplace coordinates of the vertices after deformation; Indicates p The Laplace coordinates of the vertices before deformation; Indicates p The adjacent points of the vertices; k Indicates p The vertex k Coordinates of neighboring points; Indicates q The normal vector of each vertex.

7. The method for 3D mesh reconstruction based on adaptive template according to claim 1, characterized in that: The architecture of the feature extraction module is U-Net.

Citation Information

Patent Citations

  • Reconstruction method for three-dimensional quadrilateral mesh model on the basis of image

    CN108038906A

  • Three-dimensional model reconstruction method based on grid deformation

    CN110021069A