Three-dimensional reconstruction method based on neural network improved simulated annealing framework

Through an improved simulated annealing framework based on neural networks, combined with autocorrelation distance and convolutional neural network modules, the problem of insufficient generalization of deep learning 3D reconstruction methods when there is a lack of 3D structure training samples is solved, and the reconstruction of a single 2D image on a single 2D image is achieved. Accurate three-dimensional reconstruction of porous media materials improves the generalization and accuracy of reconstruction.

CN118823221APending Publication Date: 2024-10-22SICHUAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310433702.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing 3D reconstruction methods based on deep learning cannot perform effective reconstruction when there is no 3D structure as a training sample, and the reconstruction generalization of non-periodic structures is insufficient, resulting in the inability to accurately establish 3D digital models on some porous media materials.

Method used

An improved simulated annealing framework based on neural networks is used to determine the number of network layers and design the network structure by calculating the autocorrelation distance of the two-dimensional reference image. Combined with Conv3-Block and Conv1-Block as the basic modules, the autocorrelation description function and pre-training are used The VGG network reconstructs the three-dimensional structure and realizes the three-dimensional reconstruction on a single two-dimensional image.

Benefits of technology

The generalization of the three-dimensional reconstruction method is improved, optimization and reconstruction can be completed in a single two-dimensional image, pore morphology and statistical characteristics similar to the target structure are obtained, and the reconstruction ability of a variety of porous media materials is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004191223400000031
    Figure BDA0004191223400000031
  • Figure BDA0004191223400000032
    Figure BDA0004191223400000032
  • Figure FDA0004191223390000021
    Figure FDA0004191223390000021
Patent Text Reader

Abstract

The invention discloses a three-dimensional reconstruction method of a porous medium. The method mainly comprises the following steps: (1) calculating an autocorrelation distance of a reference image; (2) calculating the number of layers required by network design according to a network layer number calculation formula, and constructing a corresponding neural network by utilizing a designed network basic unit; (3) selecting a corresponding description function according to the reconstruction task; (4) initializing a noise three-dimensional structure, randomly selecting a section area, inputting the section area into the built neural network, and updating the neural network by using a description function until the optimization process is finished; and (5) initializing the noise three-dimensional structure and sending the noise three-dimensional structure into the optimized neural network to obtain a reconstructed three-dimensional structure, and ending the reconstruction process. According to the invention, training and reconstruction can be completed by using a single two-dimensional reference image, and the method has good accuracy and reconstruction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a three-dimensional reconstruction method based on a single two-dimensional image, and in particular to a reconstruction method based on a neural network improved simulated annealing framework, belonging to the technical field of three-dimensional image numerical reconstruction. Background Art

[0002] Porous media are a collection of pore spaces and solid materials. As an important part of the microstructure of porous media, pore space has important research value for the analysis of its heat transfer performance, electrical properties, seepage characteristics and other performance. In this regard, the complex microscopic migration phenomena at the pore level are very important, because these phenomena determine macroscopic phenomena, such as increased heat transfer, etc. These analyses and studies are also widely used in various fields. Accurately and quickly establishing a digital model of porous media is a prerequisite for studying and analyzing its performance. Both direct imaging methods and numerical reconstruction methods can be used. The direct imaging method uses imaging techniques such as X-ray computed tomography to directly image porous media, and superimposes the obtained two-dimensional scanned sequence images to establish a three-dimensional digital model of the porous media. However, it is difficult to directly obtain the three-dimensional structure of some porous media. At the same time, it is also affected by imaging equipment, such as high equipment cost, complex operation, and the contradiction between field of view and resolution in imaging. These factors limit the establishment of three-dimensional digital models by direct imaging methods. Compared with direct imaging methods, numerical reconstruction methods have the advantages of fast speed, high efficiency and low cost, so they are also widely used in the establishment of three-dimensional digital models.

[0003] Common numerical reconstruction methods include traditional optimization-based methods, pattern matching-based methods, deep learning-based methods, etc. The reconstruction accuracy and efficiency of traditional optimization-based methods and pattern matching-based methods are not as good as those of deep learning-based methods, but they are highly generalizable and can be applied to the reconstruction of a variety of porous media materials. Although most of the current deep learning-based 3D reconstruction methods have advantages in accuracy and efficiency, they are too dependent on 3D structures and ignore the information inside the reference image used by traditional algorithms such as simulated annealing. When there is no 3D structure as a training sample, training and reconstruction cannot be completed. In addition, when the structural and morphological features of the reference image are inconsistent with those of the training sample, effective reconstruction cannot be performed, resulting in its inability to generalize like traditional methods. Therefore, deep learning-based methods still have certain limitations in 3D reconstruction tasks and there is still considerable room for improvement. Summary of the invention

[0004] The purpose of the present invention is to improve the generalization of the three-dimensional reconstruction method based on deep learning, to achieve optimization and reconstruction even with only one two-dimensional reference image, to provide a new idea combining traditional methods with deep learning methods, and to improve the three-dimensional reconstruction method of the simulated annealing framework based on neural networks.

[0005] The present invention achieves the above-mentioned purpose through the following technical solutions:

[0006] (1) Taking the image to be reconstructed as the reference image I, calculate the probability function of the two points of the reference image I and obtain the autocorrelation distance l;

[0007] (2) Design n-channel Conv3-Block and 3-channel Conv1-Block as the basic module units of the designed network;

[0008] (3) Design a formula for calculating the number of network layers, determine the receptive field size that the designed network should achieve based on the autocorrelation distance l, and calculate the required number of network layers m based on the network layer calculation formula, and use m Conv3-Blocks and 1 Conv1-Block to build an LmCn network;

[0009] (4) Select the description function according to the reconstruction task. For reconstruction of periodic structure, select the autocorrelation description function. For reconstruction of non-periodic structure, select the pre-trained VGG network.

[0010] (5) Obtain the width and height of the reference image h and w, and initialize a h×w×l uniformly distributed noise three-dimensional structure N init , set the number of iterations T;

[0011] (6) Random noise three-dimensional structure N init Select a point and send the data of the three corresponding slice areas into the designed LmCn network to obtain the corresponding three slice output Slices. XY 、Slice YZ and Slice ZX ;

[0012] (7) Calculate three slice output slices XY 、Slice YZ and Slice ZX The difference value of the description function between the image I and the reference image I is used to update the parameters in the designed LmCn network;

[0013] (8) Repeat steps (6) and (7) until the specified number of iterations T is reached and the LmCn network optimization is completed;

[0014] (9) Initialize a h×w×l uniformly distributed noise three-dimensional structure N recAnd it is sent into the LmCn network to obtain the reconstructed three-dimensional structure Rec, and the reconstruction is completed.

[0015] In step (1), the two-point probability function S 2 (r) is defined as the probability that two points with a relative distance r belong to the porous phase at the same time. The autocorrelation distance is defined as the probability function value of two points gradually decreases and finally converges to [S 2 (r=0)] 2 The minimum r value;

[0016] In the step (2), the designed Conv3-Block structure is a combination of three 3×3×3 convolution kernels, one LeakyRelu activation function and one Batchnorm, and the designed Conv1-Block structure is a combination of three 1×1×1 convolution kernels, one LeakyRelu activation function and one Batchnorm;

[0017] In step (3), the designed network receptive field size RF should be greater than or equal to the autocorrelation distance l, that is, RF≥l is satisfied. The relationship between the designed number of network layers m and the receptive field RF is RF=2(m-1)+3. Therefore, the final calculation formula of the number of network layers m is:

[0018]

[0019] In the formula, It is the rounding operation;

[0020] In the step (4), the periodic structure is a reference image with periodic repetitive regions, and the calculation formula of the autocorrelation description function is:

[0021]

[0022] In the formula, Output slices separately k Calculate the autocorrelation function with the reference image I; k = XY, YZ, ZX are the corresponding three directions. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a schematic diagram of a reference image in an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of a two-point probability function and an autocorrelation distance of a reference image in an embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of a basic unit structure of a design network in an embodiment of the present invention;

[0026] Figure 4is a schematic diagram of a network designed for a reference image in an embodiment of the present invention;

[0027] Figure 5 Schematic diagram of the optimization process of designing a network in an embodiment of the present invention;

[0028] Figure 6 is a schematic diagram of a reconstruction process in an embodiment of the present invention;

[0029] Figure 7 is a visual comparison diagram of the target three-dimensional structure and the reconstructed three-dimensional structure in an embodiment of the present invention;

[0030] Figure 8 is a comparison diagram of statistical parameters of the target three-dimensional structure and the reconstructed three-dimensional structure in an embodiment of the present invention; DETAILED DESCRIPTION

[0031] The present invention will be more fully described below with specific embodiments and accompanying drawings:

[0032] (1) Taking the image to be reconstructed as the reference image I, calculate the probability function of the two points of the reference image I and obtain the autocorrelation distance l;

[0033] (2) Design n-channel Conv3-Block and 3-channel Conv1-Block as the basic module units of the designed network;

[0034] (3) Design a formula for calculating the number of network layers, determine the receptive field size that the designed network should achieve based on the autocorrelation distance l, and calculate the required number of network layers m based on the network layer calculation formula, and use m Conv3-Blocks and 1 Conv1-Block to build an LmCn network;

[0035] (4) Select the description function according to the reconstruction task. For reconstruction of periodic structure, select the autocorrelation description function. For reconstruction of non-periodic structure, select the pre-trained VGG network.

[0036] (5) Obtain the width and height of the reference image h and w, and initialize a h×w×l uniformly distributed noise three-dimensional structure N init , set the number of iterations T;

[0037] (6) Random noise three-dimensional structure N init Select a point and send the data of the three corresponding slice areas into the designed LmCn network to obtain the corresponding three slice output Slices. XY 、Slice YZ and Slice ZX ;

[0038] (7) Calculate three slice output slices XY 、Slice YZand Slice ZX The difference value of the description function between the image I and the reference image I is used to update the parameters in the designed LmCn network;

[0039] (8) Repeat steps (6) and (7) until the specified number of iterations T is reached and the LmCn network optimization is completed;

[0040] (9) Initialize a h×w×l uniformly distributed noise three-dimensional structure N rec And it is sent into the LmCn network to obtain the reconstructed three-dimensional structure Rec, and the reconstruction is completed.

[0041] Example:

[0042] In the present invention, in step (1), in order to verify the generalization of the method, four porous medium material images, namely reference image 1 (sandstone image), reference image 2 (limestone image), reference image 3 (silicon dioxide material image) and reference image 4 (synthetic ceramic material image), are selected as implementation examples, and the four reference images are reconstructed. Figure 1 As shown, the two-point probability function and autocorrelation distance are as follows Figure 2 As shown in Figure 2, the autocorrelation distances of reference images 1-4 are 13, 18, 22, and 11, respectively.

[0043] In the step (2), the designed Conv3-Block structure is a combination of three 3×3×3 convolution kernels, one LeakyRelu activation function and one Batchnorm, and the designed Conv1-Block structure is a combination of three 1×1×1 convolution kernels, one LeakyRelu activation function and one Batchnorm, such as Figure 3 shown.

[0044] In the step (3), according to the relationship between the number of network layers and the autocorrelation distance, the network structure for reconstructing reference image 1 is a combination of 6 Conv3-Blocks and 1 Conv1-Block; the network structure for reconstructing reference image 2 is a combination of 9 Conv3-Blocks and 1 Conv1-Block; the network structure for reconstructing reference image 3 is a combination of 11 Conv3-Blocks and 1 Conv1-Block; the network structure for reconstructing reference image 4 is a combination of 5 Conv3-Blocks and 1 Conv1-Block. The network width n is uniformly set to 16 based on experience. The networks of reference images 1-4 are finally L6C16, L9C16, L11C16 and L5C16, respectively. Figure 4 shown.

[0045] In the step (4), the reference images 1-4 are non-periodic structures, and the pre-trained VGG network is selected as the description function.

[0046] In step (5), the initialization noise of reference images 1 and 2 is 128 3 , the initialization noise of reference image 3 is 300 3 , the initialization noise of reference image 4 is 150 3 The number of iterations is set to 1000 based on experience.

[0047] The process of steps (6) and (7) is as follows Figure 5 As shown, the Adam optimizer is selected for network optimization.

[0048] The process of step (9) is as follows Figure 6 As shown, the noise structures of corresponding sizes are initialized for reference images 1-4 and sent into the trained network to obtain the reconstructed structure.

[0049] Specifically, in order to verify the effectiveness of the method of the present invention, the present invention trained 4 models for each reference image, and each model was reconstructed 5 times to obtain 20 reconstructed structures. The model of each reference image displayed the reconstructed structure obtained for the first time in three dimensions, such as Figure 7 The corresponding statistical indicators are also calculated for the 20 reconstructed structures of each reference image, such as Figure 8 shown. Figure 8 In the figure, (a)-1 to (a)-4 are the two-point probability function, linear path function, two-point cluster function and local porosity distribution of reference image 1, respectively; similarly, (b)-1 to (b)-4 are the four statistical parameters of reference image 2, (c)-1 to (c)-4 are the four statistical parameters of reference image 3, and (d)-1 to (d)-4 are the four statistical parameters of reference image 4.

[0050] In subjective visual evaluation, this method obtains pore morphology similar to the target structure corresponding to the reference image; in objective statistical indicators, this method also obtains statistical characteristics consistent with the target structure, which shows the effectiveness of this method, and the reconstruction results on four different reference images also show the generalization of this method. Compared with other deep learning methods, this method completes the training and reconstruction of a single two-dimensional image and achieves improved generalization.

[0051] The above embodiments are only preferred embodiments of the present invention and are not limitations of the technical solutions of the present invention. Any technical solution that can be implemented on the basis of the above embodiments without creative work should be deemed to fall within the scope of protection of the patent of the present invention.

Claims

1. A 3D reconstruction method based on a neural network-improved simulated annealing framework. Features: The following steps are also included: (1) Taking the image to be reconstructed as the reference image I, calculate the probability function of the two points of the reference image I and obtain the autocorrelation distance l; (2) Design n-channel Conv3-Block and 3-channel Conv1-Block as the basic module units of the designed network; (3) Design a formula for calculating the number of network layers, determine the receptive field size that the designed network should achieve based on the autocorrelation distance l, and calculate the required number of network layers m based on the network layer calculation formula, and use m Conv3-Blocks and 1 Conv1-Block to build an LmCn network; (4) Select the description function according to the reconstruction task. For reconstruction of periodic structure, select the autocorrelation description function. For reconstruction of non-periodic structure, select the pre-trained VGG network. (5) Obtain the reference image width h and height w, and initialize a h×w×l uniformly distributed noise three-dimensional structure N init , set the number of iterations T; (6) Random noise three-dimensional structure N init Select a point and send the data of the three corresponding slice areas into the designed LmCn network to obtain the corresponding three slice output Slices. XY 、Slice YZ and Slice ZX ; (7) According to the description function selected in step (4), calculate the three slice output slices XY 、Slice YZ and Slice ZX The difference value of the description function between the image I and the reference image I is used to update the parameters in the designed LmCn network; (8) Repeat steps (6) and (7) until the specified number of iterations T is reached and the LmCn network optimization is completed; (9) Initialize a h×w×l uniformly distributed noise three-dimensional structure N rec And it is sent into the LmCn network to obtain the reconstructed three-dimensional structure Rec, and the reconstruction is completed.

2. The three-dimensional reconstruction method according to claim 1, Features: In the step (2), the designed Conv3-Block structure is a combination of three 3×3×3 convolution kernels, one LeakyRelu activation function and one Batchnorm, and the designed Conv1-Block structure is a combination of three 1×1×1 convolution kernels, one LeakyRelu activation function and one Batchnorm; In step (3), the designed network receptive field size RF should be greater than or equal to the autocorrelation distance l, that is, RF≥l is satisfied. The relationship between the designed number of network layers m and the receptive field RF is RF=2(m-1)+3. Therefore, the final calculation formula of the number of network layers m is: In the formula, It is the rounding operation; In the step (4), the calculation formula of the autocorrelation description function is: In the formula, Output slices separately k Calculation of the autocorrelation function with the reference image I; k = XY, YZ, ZX are the corresponding three directions.