A method for electrical impedance image reconstruction based on self-normalizing neural network
Through the electrical impedance image reconstruction method based on self-normalizing neural network, the problems of gradient disappearance and poor robustness of deep networks in the existing technology are solved, efficient and fast electrical impedance image reconstruction is achieved, and the image quality and model robustness are improved. Great sex.
Patent Information
- Application Number
- CN202410993963.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-24
AI Technical Summary
Existing electrical impedance image reconstruction methods based on neural networks have problems such as disappearance or explosion of deep network gradients, poor robustness, slow convergence speed, and high computational overhead, making it difficult to reconstruct high-quality images quickly and accurately.
An electrical impedance image reconstruction method based on self-normalizing neural network is adopted, and an 8-electrode two-dimensional circular electrical impedance image measurement model is established to construct a neural network model including an input layer, a self-normalizing reconstruction module and a generalized denoising module. , using SELU and ReLU activation functions, combined with Dropout and LeCun normal distribution initialization, to train the model to generate high-quality electrical impedance images.
It achieves electrical impedance image reconstruction without gradient explosion, gradient disappearance and high robustness, significantly improves the mean square error, cosine similarity, structural similarity and image correlation coefficient, and shortens the training and image reconstruction speed.
Smart Images

Figure CN118521672B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electrical impedance images, and in particular relates to an electrical impedance image reconstruction method based on a self-normalizing neural network. Background Art
[0002] Electrical Impedance Tomography (EIT) is a non-invasive, radiation-free, low-cost imaging technology. Its imaging result is the impedance distribution inside the target object. EIT imaging usually relies on inputting an excitation current into the target object, collecting the voltage generated on the surface of the target object by the electrodes attached to the surface of the target object, and reconstructing the impedance distribution image inside the target object through a reconstruction algorithm. EIT technology is non-destructive, harmless, convenient and fast, and has a wide range of applications in biology, physics, chemical engineering and other fields.
[0003] The EIT image reconstruction algorithm is a key difficulty in EIT technology. Traditional EIT image reconstruction algorithms generally establish an EIT mathematical model and try to approximate the actual impedance distribution based on known parameters such as boundary voltage, or directly perform approximate processing, such as equipotential line back projection method, Gauss-Newton method, Tikhonov regularization, etc. However, since EIT image reconstruction is a typical nonlinear and ill-posed problem, traditional algorithms generally have defects such as blurred reconstructed images and large deviations between the morphology of the reconstructed impedance abnormal area and the actual situation. Today, with the rapid improvement of computer performance and the rapid progress of artificial intelligence technology, more and more EIT researchers are trying to apply artificial intelligence technology to EIT image reconstruction.
[0004] The current reconstruction methods based on neural networks have problems such as vanishing or exploding gradients in deep networks, poor robustness, slow convergence, and high computational overhead. At present, how to reconstruct more accurate and higher-quality images more quickly, how to apply more artificial intelligence technologies to EIT image reconstruction, and how to design an artificial intelligence model that is more suitable for the EIT inverse problem are still the research focuses of EIT image reconstruction. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes an electrical impedance image reconstruction method based on a self-normalizing neural network, which solves the problems of the current neural network-based reconstruction method, such as the disappearance or explosion of deep network gradients, poor robustness, slow convergence speed, and high computational overhead.
[0006] To achieve the above object, the technical solution adopted by the present invention is: a method for reconstructing electrical impedance images based on a self-normalizing neural network, comprising the steps of:
[0007] S10, establishing a two-dimensional circular field and generating a training data set by randomly generating a number of superimposed circular abnormal areas, and preprocessing the boundary voltage data;
[0008] S20, establishing and training a self-normalizing neural network model for electrical impedance image reconstruction;
[0009] S30, after the boundary voltage is processed by the self-normalized neural network model, the reconstructed image is directly output.
[0010] Furthermore, the mathematical model of electrical impedance image is established by using the 8-electrode two-dimensional circular electrical impedance image measurement method;
[0011] There are 8 equidistant electrodes distributed on the boundary of the two-dimensional circular field Ω. The measurement adopts the method of proximity excitation and proximity measurement. When a fixed-amplitude low-frequency sinusoidal excitation current is injected into two adjacent electrodes, the voltage is measured on the remaining adjacent electrodes.
[0012] Furthermore, a self-normalizing neural network model is constructed, and the self-normalizing neural network model includes:
[0013] Input layer: The electrical impedance image measuring device is used to measure the boundary voltage of the object to be imaged through an 8-electrode array using proximity excitation and proximity measurement methods, and the boundary voltage is normalized and used as the input of the neural network;
[0014] Self-normalization reconstruction module: The number of neurons in the three hidden layers is 512, 512 and 1024 respectively, forming a fully connected self-normalization neural network to deeply reconstruct the impedance distribution;
[0015] Generalized denoising module: two fully connected layers with 2048 and 1024 neurons respectively;
[0016] Output layer: a one-dimensional vector of length 4096, with the activation function of Sigmoid, so that the final output is reconstructed into a grayscale image of 64*64 pixels with a value range of 0~1 as the final electrical impedance reconstruction result.
[0017] Furthermore, each layer in the self-normalization reconstruction module uses a SELU activation function, each layer is fully connected, and the parameters of these layers are initialized using a LeCun normal distribution, converting the basic model into a self-normalization neural network model.
[0018] Furthermore, the input of the model is the normalized boundary voltage vector, and the normalization method is:
[0019] ;
[0020] Among them, V0 is the reference boundary voltage vector, V1 is the current boundary voltage vector, Vs represents the normalized voltage vector, i represents the i-th value in the vector, Vpmax represents the maximum value of all values in Vp after taking the absolute value, that is, max(abs(Vp)); the normalized voltage value is between 0 and 1.
[0021] Furthermore, each layer in the generalized denoising module adopts a ReLU activation function, and a Dropout coefficient with a parameter of 0.5 is added between two fully connected layers, so that the generalization ability of the neural network is enhanced.
[0022] Furthermore, the self-normalizing neural network model is trained and the solution for the electrical impedance image reconstruction is expressed as:
[0023] ;
[0024] Where N represents the total number of training data. represents the boundary voltage information corresponding to the kth training data, represents the impedance distribution of the field corresponding to the kth training data, L 2 Represents the square Euclidean norm; assuming that the neural network model is when the parameter is θ; assuming that the neural network model is when the parameter is θ, there is a nonlinear mapping relationship f between the output and the input.
[0025] Furthermore, for each data set of the training self-normalizing neural network model, a 2D gridded unit circular surface with an initial grid size of 0.05 is used as the simulation field, the background dielectric constant is set to 1, and 8 equally spaced points are set as electrodes on the field boundary starting from (-1, 0) clockwise; 1 to 8 abnormal circular impedance areas with a dielectric constant between 0.01 and 2 and a radius of 0.1 to 0.3 are randomly generated within the range of 0 to 0.6 from the origin, and the excitation method uses proximity excitation, and the measurement method uses proximity measurement;
[0026] The measurement frame obtained by a single sampling will contain 40 voltage data.
[0027] Since the dynamic imaging method is divided into two parts, it is also necessary to add the measurement frames of the pure background field without abnormal areas. Therefore, each training data will contain 80 voltage data as the input of the model.
[0028] The gridded field with the abnormal area added will be pixelated in 64*64 size and then MinMax normalized. Then the NaN values outside the circular surface will be filled with 1, and finally flattened into a 1-dimensional array of length 4096 as the target output of the model;
[0029] The above method is used to generate multiple impedance data as data sets; among them, there are simple cases consisting of 1 to 2 abnormal circular areas, and there are also complex cases where 7 to 8 abnormal circular areas overlap to form complex irregular shapes.
[0030] The beneficial effects of adopting this technical solution are:
[0031] The present invention uses the boundary voltage measured on the surface of the object as input, and directly outputs the reconstructed image after being processed by the self-normalized neural network model. With the advantages of no gradient explosion, no gradient disappearance, and high robustness of the self-normalized neural network proposed in the present invention, compared with other artificial intelligence EIT reconstruction methods involved in the comparison, the four indicators of mean square error, cosine similarity, structural similarity, and image correlation coefficient are significantly improved, and the training convergence speed and image reconstruction speed of the proposed method are faster. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 Schematic diagram of an 8-electrode two-dimensional circular electrical impedance measurement method in an embodiment of the present invention;
[0033] Figure 2 is a structural diagram of a self-normalizing neural network model in an embodiment of the present invention;
[0034] Figure 3 It is a test data set loss curve diagram when each model is trained in an embodiment of the present invention;
[0035] Figure 4 This is a comparison diagram of images reconstructed by various algorithms in the embodiments of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described below with reference to the accompanying drawings.
[0037] In this embodiment, the present invention proposes an electrical impedance image reconstruction method based on a self-normalizing neural network, comprising the steps of:
[0038] S10, establishing a two-dimensional circular field and generating a training data set by randomly generating a number of superimposed circular abnormal areas;
[0039] S20, establishing and training a self-normalizing neural network model for electrical impedance image reconstruction;
[0040] S30, after the boundary voltage is processed by the self-normalized neural network model, the reconstructed image is directly output.
[0041] As an optimization solution of the above embodiment, Figure 1As shown, the mathematical model of electrical impedance image is established by using 8-electrode two-dimensional circular electrical impedance measurement method;
[0042] There are 8 equidistant electrodes distributed on the boundary of the two-dimensional circular field Ω. The measurement adopts the method of proximity excitation and proximity measurement. When a fixed-amplitude low-frequency sinusoidal excitation current is injected into two adjacent electrodes, the voltage is measured on the remaining adjacent electrodes.
[0043] As an optimization solution of the above embodiment, Figure 2 As shown, a self-normalizing neural network model is constructed, and the self-normalizing neural network model includes:
[0044] Input layer: The electrical impedance image measuring device is used to measure the boundary voltage of the object to be imaged through an 8-electrode array using proximity excitation and proximity measurement methods, and the boundary voltage is normalized and used as the input of the neural network;
[0045] Self-normalization reconstruction module: The number of neurons in the three hidden layers is 512, 512 and 1024 respectively, forming a fully connected self-normalization neural network to deeply reconstruct the impedance distribution.
[0046] Specifically, each layer in the self-normalization reconstruction module uses a SELU activation function, each layer is fully connected, and the parameters of these layers are initialized using a LeCun normal distribution, so that the basic model is converted into a self-normalization neural network model.
[0047] The input of the model is the normalized boundary voltage vector, and the normalization method is:
[0048] ;
[0049] Among them, V0 is the reference boundary voltage vector, V1 is the current boundary voltage vector, Vs represents the normalized voltage vector, i represents the i-th value in the vector, Vpmax represents the maximum value of all values in Vp after taking the absolute value, that is, max(abs(Vp)); the normalized voltage value is between 0 and 1.
[0050] Generalized denoising module: two fully connected layers with 2048 and 1024 neurons respectively;
[0051] Specifically, each layer in the generalized denoising module uses the ReLU activation function, and a Dropout coefficient with a parameter of 0.5 is added between the two fully connected layers to enhance the generalization ability of the neural network.
[0052] Output layer: a one-dimensional vector of length 4096, with the activation function of Sigmoid, so that the final output is reconstructed into a grayscale image of 64*64 pixels with a value range of 0~1 as the final electrical impedance reconstruction result.
[0053] As an optimization solution of the above embodiment, a self-normalizing neural network model is trained, and the solution for electrical impedance image reconstruction is expressed as:
[0054] ;
[0055] Where N represents the total number of training data. represents the boundary voltage information corresponding to the kth training data, represents the impedance distribution of the field corresponding to the kth training data, L 2 Represents the square Euclidean norm; assuming that when the parameter of the neural network model is θ, there is a nonlinear mapping relationship f between the output and the input.
[0056] As an optimization scheme of the above embodiment, for each data set of the training self-normalizing neural network model, a 2D gridded unit circular surface with an initial grid size of 0.05 is used as the simulation field, the background dielectric constant is set to 1, and 8 equally spaced points are set as electrodes on the field boundary starting from (-1, 0) clockwise; 1 to 8 abnormal circular impedance areas with a dielectric constant between 0.01 and 2 and a radius of 0.1 to 0.3 are randomly generated within a range of 0 to 0.6 from the origin, and the excitation method adopts proximity excitation, and the measurement method adopts proximity measurement;
[0057] The measurement frame obtained by a single sampling will contain 40 voltage data.
[0058] Since the dynamic imaging method is divided into two parts, it is also necessary to add the measurement frames of the pure background field without abnormal areas. Therefore, each training data will contain 80 voltage data as the input of the model.
[0059] The gridded field with the abnormal area added will be pixelated in 64*64 size and then MinMax normalized. Then the NaN values outside the circular surface will be filled with 1, and finally flattened into a 1-dimensional array of length 4096 as the target output of the model;
[0060] The above method is used to generate multiple impedance data as data sets; among them, there are simple cases consisting of 1 to 2 abnormal circular areas, and there are also complex cases where 7 to 8 abnormal circular areas overlap to form complex irregular shapes.
[0061] The purpose of generating such random and diverse training data is to make the model more generalizable, so that it can handle both simple and complex scenarios. In addition, the high-difficulty learning data generated in this way can also test the learning ability of different models and highlight the advantages and disadvantages of different models.
[0062] When training the model, 9,000 data points are randomly selected from the 10,000 data points in the data set for training, and the remaining 1,000 data points are used as test data to evaluate the image reconstruction effect and generalization ability of the model. The training uses the Adaptive Moment Estimation (Adam) algorithm, the learning rate is 0.0001, and the loss function is the Mean Squared Error (MSE).
[0063] In order to compare the EIT image reconstruction quality of each algorithm, mean square error, cosine similarity (CosSim), structural similarity (SSIM) and image correlation coefficient (ICC) were selected as evaluation indicators.
[0064] In order to evaluate the EIT image reconstruction capability of the proposed algorithm, it is compared with the back-projection algorithm, Gauss-Newton algorithm, 1DCNN, V-ResNet, and RCU-Net. The same training method is used, that is, the training set and test set are the same, the training parameters are the same, the optimizer is the same, and so on.
[0065] Figure 3 The curves of the MSE loss of the test data set during the training process of 1DCNN, V-ResNet, RCU-Net and the present invention are shown as a function of the training time. As shown in Figure 3, under the same training parameters, RCU-Net takes the longest time to converge (the loss curve drops to the lowest extreme point) during training due to the large number of complex operations it contains, followed by V-ResNet. 1DCNN takes a shorter time to converge due to its relatively simple model structure, and the model proposed by the present invention converges to the extreme point first compared to all other models, and the extreme point is lower, indicating that it has the advantages of fast convergence speed and good convergence effect.
[0066] Figure 4 The image reconstruction results of 6 randomly selected test data are shown. Figure 4It can be seen that among the tested algorithms, the image reconstruction effect of the artificial intelligence model is generally better than that of the traditional algorithm. Compared with other models, the method proposed in the present invention can reconstruct the original image more accurately in the case of simple impedance distribution, and in the case of complex impedance distribution, it can also restore the general outline of the original impedance distribution as much as possible. However, it is difficult to judge the image reconstruction effect between artificial intelligence models with the naked eye, so quantitative comparison is needed. Table 1 shows the mean square error MSE, cosine similarity CosSim, structural similarity SSIM, image correlation coefficient ICC, convergence time (the time it takes to converge to the best model during training) and running speed (the time it takes to complete the processing of one thousand data on the same machine, averaged one hundred times) indicators of each algorithm on the test set.
[0067] Table 1 Quantitative comparison of various algorithms
[0068] MSE CosSim SSIM ICC Convergence time (seconds) Running speed (seconds / thousands of data) Back Projection 0.131 0.796 0.401 0.385 NA 0.0233 Gauss-Newton 0.116 0.821 0.484 0.466 NA 0.0235 1DCNN 0.032 0.951 0.752 0.808 2098 0.2486 V-ResNet 0.032 0.951 0.763 0.809 16655 1.1706 RCU-Net 0.031 0.953 0.781 0.823 430920 17.4504 The present invention 0.028 0.957 0.785 0.836 513 0.2372
[0069] It can be seen from the data in Table 1 that in the test data set, the present invention is superior to other compared algorithms in terms of MSE, CosSim, SSIM, and ICC, leading the next place by 9.6%, 0.4%, 0.5%, and 1.5% respectively, and has the fastest convergence speed during training, and the test set Loss reaches the lowest point first. Although the running speed is not as fast as the traditional algorithm, it still ranks first among all the artificial intelligence algorithms involved in the comparison.
[0070] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for electrical impedance image reconstruction based on a self-normalizing neural network, characterized in that: Includes steps: S10, establishing a two-dimensional circular field and generating a training data set by randomly generating a number of superimposed circular abnormal areas; The two-dimensional circular field is established by using an 8-electrode two-dimensional circular electrical impedance image measurement method; 8 electrodes are distributed at equal intervals on the boundary of the two-dimensional circular field Ω; the adjacent excitation and adjacent measurement method is used during measurement, and when a fixed-amplitude low-frequency sinusoidal excitation current is injected into two adjacent electrodes, the voltage is measured on the remaining adjacent electrodes; S20, establishing and training a self-normalizing neural network model for electrical impedance image reconstruction; Construct a self-normalizing neural network model, which includes: Input layer: The electrical impedance image measuring device is used to measure the boundary voltage of the object to be imaged through an 8-electrode array using proximity excitation and proximity measurement methods, and the boundary voltage is normalized and used as the input of the neural network; Self-normalization reconstruction module: The number of neurons in the three hidden layers is 512, 512 and 1024 respectively, forming a fully connected self-normalization neural network to deeply reconstruct the impedance distribution; Generalized denoising module: two fully connected layers with 2048 and 1024 neurons respectively; Output layer: a one-dimensional vector of length 4096, with the activation function of Sigmoid, so that the final output is reconstructed into a grayscale image of 64*64 pixels with a value range of 0 to 1 as the final electrical impedance reconstruction result; S30, directly outputting a reconstructed image after processing the boundary voltage through a self-normalized neural network model; The input of the model is the normalized boundary voltage vector, and the normalization method is: Wherein, V0 is the reference boundary voltage vector, V1 is the current boundary voltage vector, Vs represents the normalized voltage vector, i represents the i-th value in the vector, and Vpmax represents the maximum value of all values in Vp after taking the absolute value, that is, max(abs(Vp)); the normalized voltage value is between 0 and 1; The self-normalizing neural network model is trained and the solution for electrical impedance image reconstruction is expressed as: Among them, N represents the total number of training data, u k represents the boundary voltage information corresponding to the kth training data, k represents the impedance distribution of the field corresponding to the kth training data, L 2 represents the square Euclidean norm; assuming that when the parameter of the neural network model is θ, there is a nonlinear mapping relationship f between the output and the input; Dataset for training the self-normalizing neural network model For each data, a 2D gridded unit circular surface with an initial grid size of 0.05 is used as the simulation field, the background dielectric constant is set to 1, and 8 equally spaced points are set as electrodes on the field boundary starting from (-1,0) clockwise; 1 to 8 abnormal circular impedance areas with a dielectric constant between 0.01 and 2 and a radius of 0.1 to 0.3 are randomly generated within the range of 0 to 0.6 from the origin, and the excitation method uses proximity excitation, and the measurement method uses proximity measurement; The measurement frame obtained by a single sampling will contain 40 voltage data. Due to the use of time-difference dynamic imaging, it is also necessary to add the measurement frame of the pure background field without abnormal areas. Therefore, each training data will contain 80 voltage data as the input of the model. The gridded field with the abnormal area added will be pixelated according to 64*64 size and then MinMax normalized. Then the NaN values outside the circular surface will be filled with 1, and finally flattened into a 1-dimensional array of length 4096 as the target output of the model; The above method is used to generate multiple impedance data as data sets, including simple cases consisting of 1 to 2 abnormal circular areas and complex cases in which 7 to 8 abnormal circular areas overlap to form complex irregular shapes.
2. The electrical impedance image reconstruction method based on a self-normalizing neural network according to claim 1, characterized in that: Each layer in the self-normalization reconstruction module uses a SELU activation function, and each layer is fully connected. The parameters of these layers are initialized using a LeCun normal distribution, so that the basic model is converted into a self-normalization neural network model.
3. The electrical impedance image reconstruction method based on a self-normalizing neural network according to claim 1, characterized in that: Each layer in the generalized denoising module adopts the ReLU activation function, and a Dropout coefficient with a parameter of 0.5 is added between two fully connected layers, so that the generalization ability of the neural network is enhanced.
Citation Information
Patent Citations
Residual error full-connection neural network-based electrical impedance imaging method
CN116246037A
Electrical impedance tomography image reconstruction method and device based on noise diffusion learning
CN117011673A
Systems, devices, components and methods for detecting the locations of sources of cardiac rhythm disorders in a patient's heart using improved electrographic flow (EGF) methods
EP4029449A1
