Cerebral hemorrhage magnetic induction tomography image reconstruction method and system
Through the dictionary matrix adaptive algorithm and conductivity-sensitive undersampling mode, combined with sparse reconstruction model and imaging reconstruction network, the problems of detail recovery and feature fusion in magnetic induction tomography of cerebral hemorrhage are solved, and high-quality image reconstruction is achieved, which enhances the Detection capability and image clarity.
Patent Information
- Application Number
- CN202410920433.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN118887307A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a method and system for reconstructing magnetic induction tomography images of cerebral hemorrhage. Background Art
[0002] Magnetic induction tomography is a non-invasive, radiation-free medical imaging technology that plays an important role in the diagnosis and treatment of cerebral hemorrhage. However, due to the difference in the conductivity distribution of the cerebral hemorrhage area and normal brain tissue, the collected magnetic induction tomography data has problems such as undersampling and noise, which affects the imaging quality and diagnostic accuracy.
[0003] There are many common problems with existing technologies. The electrical conductivity sensitivity of the cerebral hemorrhage area is not fully utilized, making it difficult to accurately restore the detailed information of the hemorrhage area; there is a lack of effective fusion of features of different scales, which affects the clarity and contrast of the reconstructed image; there is a lack of adaptive adjustment mechanism for the importance of different channels and spatial positions in the reconstruction network, making it difficult to suppress redundant information and noise.
[0004] Therefore, a new method is needed to achieve high-quality and efficient reconstruction based on the characteristics of magnetic induction tomography data of cerebral hemorrhage, combining conductivity prior information and artificial intelligence technology, which can solve the problems in existing technologies. Summary of the invention
[0005] The embodiment of the present invention provides a method and system for reconstructing magnetic induction tomography images of cerebral hemorrhage, which can solve the problems in the prior art.
[0006] According to a first aspect of the embodiments of the present invention,
[0007] Provided is a method for reconstructing magnetic induction tomography images of cerebral hemorrhage, comprising:
[0008] Acquire a magnetic induction tomography image of cerebral hemorrhage, perform denoising and correction preprocessing to obtain magnetic induction tomography data, construct a sparse representation based on a dictionary matrix adaptive algorithm according to the change characteristics of the electrical conductivity of the cerebral hemorrhage area, extract the sparse domain features of the magnetic induction tomography data, and obtain sparse domain data;
[0009] Based on a conductivity-sensitive undersampling mode, the sparse domain data is undersampled to obtain undersampled sparse domain data, a reconstruction model of the undersampled sparse domain data is established based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and a reconstructed conductivity distribution is obtained by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution;
[0010] The reconstructed conductivity distribution is input into an imaging reconstruction network to obtain a reconstructed magnetic induction tomography image of cerebral hemorrhage, wherein the imaging reconstruction network adopts an encoder-decoder structure and integrates multi-scale features and an attention mechanism, and is trained through an objective function constructed based on minimization of perceptual loss and adversarial loss to obtain an optimal imaging reconstruction network.
[0011] In an optional embodiment,
[0012] Based on the dictionary matrix adaptive algorithm, according to the conductivity change characteristics of the cerebral hemorrhage area, a sparse representation is constructed to extract the sparse domain features of the magnetic induction tomography data, and the sparse domain data obtained includes:
[0013] Selecting image blocks containing cerebral hemorrhage areas and normal brain tissues from the magnetic induction tomography data to construct a training sample set;
[0014] Based on the training sample set, the dictionary matrix is trained by minimizing the reconstruction error and the L1 norm regularization term of the sparse representation coefficient, and sparse coding and updating of the dictionary matrix are performed alternately; when updating the sparse coding, the dictionary matrix is fixed, and the sparse representation coefficient of each training sample is solved by the pursuit algorithm; when updating the dictionary matrix, the sparse representation coefficient is fixed, and based on the usage frequency of the dictionary atoms in the dictionary matrix, the dictionary atoms are adaptively updated column by column, and the updated dictionary atoms are normalized by the L2 norm; the sparse coding and updating of the dictionary matrix are repeated until a preset number of training iterations is reached to generate an optimal dictionary matrix;
[0015] Based on the optimal dictionary matrix, the magnetic induction tomography data is sparsely represented to obtain a sparse representation coefficient matrix, and the sparse representation coefficient matrix is used as a sparse domain feature corresponding to the magnetic induction tomography data.
[0016] In an optional embodiment,
[0017] Update sparse coding includes:
[0018] The formula is as follows:
[0019]
[0020] Among them, α i (t+1) represents the sparse code of the i-th sample after the t+1th iteration, t represents the number of iterations, α represents the currently updated sparse code, i represents the sample number, and x i represents the i-th sample data, D (t)represents the dictionary matrix at the tth iteration, b0 represents the initial value of the sparsity regularization parameter, m represents the adjustment rate of the sparsity regularization parameter, c0 represents the initial value of the L2 norm term regularization parameter, and n represents the adjustment rate of the L2 norm term regularization parameter.
[0021] In an optional embodiment,
[0022] Updating the dictionary matrix includes:
[0023] The formula is as follows:
[0024]
[0025] Among them, d k (t+1) represents the value of the atom in the kth column of the dictionary matrix D after the t+1th iteration, d k Indicates the value of the kth atom in the currently updated dictionary matrix D, I k Indicates the sample subscript set using the k-th atom, (α i (t+1) ) k represents the kth component of the sparse coding of the i-th sample after the t+1-th iteration, g represents the weight coefficient of the L1 regularization term, and h represents the weight coefficient of the L2 regularization term.
[0026] In an optional embodiment,
[0027] Based on the conductivity-sensitive undersampling mode, the sparse domain data is undersampled to obtain undersampled sparse domain data. Based on the predetermined imaging sensitivity matrix and the joint sparse representation of the conductivity distribution, a reconstruction model of the undersampled sparse domain data is established. In combination with the gradient sparse prior and the total variation regularization constraint of the conductivity distribution, the reconstruction conductivity distribution is obtained by solving the reconstruction model, including:
[0028] Based on magnetic induction tomography data, the conductivity sensitive state is identified, the conductivity change of each sampling area is determined, and the conductivity distribution is generated. The area where the conductivity change is greater than or equal to the preset conductivity threshold is set as the sampling dense area, and the area where the conductivity change is less than the preset conductivity threshold is set as the sampling sparse area, and the under-sampling mode is constructed;
[0029] Based on the undersampling mode, determining sampling positions from the sparse domain data to obtain an undersampling subset, constructing an undersampling matrix based on the undersampling subset with 0 or 1 as a matrix element, and multiplying the undersampling matrix with the sparse domain data to obtain undersampled sparse domain data;
[0030] Performing low-rank decomposition on a predetermined imaging sensitivity matrix to obtain a set of basic sensitivity patterns, combining the basic sensitivity patterns with a sparse representation corresponding to the conductivity distribution to construct a joint sparse representation model;
[0031] Based on the joint sparse representation model, the relationship between the undersampled sparse domain data and the conductivity distribution is determined, and a reconstruction model is constructed. When solving the reconstruction model, the gradient sparse prior and total variation regularization constraints of the conductivity distribution are combined to construct a reconstruction optimization, and the reconstructed conductivity distribution is obtained by solving the model through an optimization algorithm.
[0032] In an optional embodiment,
[0033] The imaging reconstruction network comprises:
[0034] The imaging reconstruction network is constructed based on an encoder-decoder structure;
[0035] The encoder is composed of a plurality of encoder convolutional layers and a plurality of encoder downsampling layers, and the encoder convolutional layers and the encoder downsampling layers are alternately arranged;
[0036] After each of the encoder convolution layers, a channel attention module and a spatial attention module are set to adaptively adjust the weights of different channels and different spatial positions in the current scale feature, wherein the channel attention module calculates the weight of each channel through global average pooling and a fully connected layer, and the spatial attention module calculates the weight of each spatial position through an attention convolution layer and a sigmoid activation function;
[0037] After each of the encoder downsampling layers, by adding an additional convolution layer and adding an upsampling operation, the current scale feature is upsampled to the same resolution as the input reconstructed conductivity distribution, to obtain a feature representation of the corresponding scale, and determine a multi-scale feature;
[0038] The decoder is composed of a plurality of decoder convolutional layers and a plurality of decoder upsampling layers;
[0039] After each of the decoder convolutional layers, a channel attention module and a spatial attention module identical to the corresponding part of the encoder are set to adaptively adjust the weights of different channels and spatial positions in the current scale feature;
[0040] After each upsampling layer of the decoder, the feature representation of the encoder at the corresponding scale is spliced with the feature representation generated by the decoder, and multi-scale fusion is performed to obtain a reconstruction result to reconstruct the magnetic induction tomography image of cerebral hemorrhage.
[0041] In an optional embodiment,
[0042] The objective function includes:
[0043] Based on the nonlinear combination of perceptual loss and adversarial loss, the formula is as follows:
[0044]
[0045] Among them, L represents the objective function, N represents the total number of network layers, n represents the number of layers, φ n represents the activation function corresponding to the nth layer, Represents the image corresponding to the reconstructed conductivity distribution, σ represents the image corresponding to the true conductivity distribution, θ represents the interaction adjustment factor, E represents the calculated expected value, and D() represents the discriminator's discrimination result.
[0046] According to a second aspect of the embodiments of the present invention,
[0047] Provided is a cerebral hemorrhage magnetic induction tomography image reconstruction system, comprising:
[0048] The first unit is used to obtain a magnetic induction tomography image of cerebral hemorrhage, perform denoising and correction preprocessing to obtain magnetic induction tomography data, construct a sparse representation based on a dictionary matrix adaptive algorithm according to the change characteristics of the electrical conductivity of the cerebral hemorrhage area, extract the sparse domain features of the magnetic induction tomography data, and obtain sparse domain data;
[0049] The second unit is used to undersample the sparse domain data based on the conductivity-sensitive undersampling mode to obtain undersampled sparse domain data, establish a reconstruction model of the undersampled sparse domain data based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and obtain a reconstructed conductivity distribution by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution;
[0050] The third unit is used to input the reconstructed conductivity distribution into an imaging reconstruction network to obtain a reconstructed magnetic induction tomography image of cerebral hemorrhage, wherein the imaging reconstruction network adopts an encoder-decoder structure and integrates multi-scale features and an attention mechanism, and trains the imaging reconstruction network through an objective function constructed based on minimization of perceptual loss and adversarial loss to obtain an optimal imaging reconstruction network.
[0051] According to a third aspect of the embodiments of the present invention,
[0052] An electronic device is provided, comprising:
[0053] processor;
[0054] a memory for storing processor-executable instructions;
[0055] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0056] A fourth aspect of the embodiments of the present invention is:
[0057] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.
[0058] In the embodiment of the present invention, an adaptive dictionary learning algorithm is adopted, and in combination with the change characteristics of the electrical conductivity in the cerebral hemorrhage area, a sparse dictionary suitable for the current imaging data can be adaptively constructed. Through sparse representation, the important features of the cerebral hemorrhage area can be effectively captured and the accuracy of feature extraction can be improved; through sparse representation, the sparse domain features of magnetic induction tomography data can be extracted, the original data can be compressed into a sparse representation, the redundancy of the data can be reduced, the significant features of the cerebral hemorrhage area can be highlighted, and the detection and identification capabilities of the cerebral hemorrhage area can be enhanced; through the conductivity-sensitive undersampling mode, the sampling points can be reduced without affecting the reconstruction quality, and the time and resources for data acquisition and processing can be reduced; combined with the gradient sparse prior of the conductivity distribution and the total variation regularization constraint, the edges and details of the image can be better maintained, the noise and artifacts in the reconstruction process can be reduced, and the quality of the reconstructed image can be improved; through the joint sparse representation model, the joint information of the conductivity distribution and the imaging sensitivity matrix can be used to improve the robustness and stability of the reconstruction algorithm, and high-quality reconstruction results can still be obtained under undersampling conditions; by introducing the imaging reconstruction network, adopting the encoder-decoder structure and fusing multi-scale features and attention mechanism, the image details can be better captured and reconstructed, and the quality of the reconstructed image can be significantly improved; the imaging reconstruction network fusing multi-scale features can more comprehensively extract image features of different scales, making the reconstructed image clearer and more delicate. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a flowchart of a method for reconstructing magnetic induction tomography images of cerebral hemorrhage according to an embodiment of the present invention;
[0060] Figure 2 It is a schematic diagram of the structure of a magnetic induction tomography image reconstruction system for cerebral hemorrhage according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0063] Figure 1 FIG. 4 is a flow chart of a method for reconstructing magnetic induction tomography images of cerebral hemorrhage according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0064] S101. Obtain a magnetic induction tomography image of cerebral hemorrhage, perform denoising and correction preprocessing to obtain magnetic induction tomography data, construct a sparse representation based on a dictionary matrix adaptive algorithm according to the change characteristics of the conductivity of the cerebral hemorrhage area, extract the sparse domain features of the magnetic induction tomography data, and obtain sparse domain data;
[0065] The electrical conductivity of the cerebral hemorrhage area specifically refers to the electrical conductivity of the tissue in the cerebral hemorrhage area. Electrical conductivity is a measure of the ability of a substance to conduct electric current, which determines the propagation speed and distribution of the current in the corresponding area; in the cerebral hemorrhage area, the electrical conductivity of the blood is different from the electrical conductivity of the surrounding healthy brain tissue and is usually higher.
[0066] The sparse representation specifically refers to representing a signal or data as a linear combination of a small number of non-zero coefficients. Specifically, the sparse representation uses a dictionary matrix and a sparse coefficient vector, so that the original signal can be represented as the product of the dictionary matrix and the sparse coefficient vector, where the sparse coefficient vector is a vector containing a large number of zero elements. The sparse representation method can effectively capture the main features of the signal and plays an important role in applications such as data compression and noise removal.
[0067] In this embodiment, an adaptive dictionary learning algorithm is used, combined with the change characteristics of the conductivity of the cerebral hemorrhage area, to adaptively construct a sparse dictionary suitable for the current imaging data. Through sparse representation, the important features of the cerebral hemorrhage area can be effectively captured, and the accuracy of feature extraction can be improved; through sparse representation, the sparse domain features of the magnetic induction tomography data can be extracted, and the original data can be compressed into a sparse representation, reducing the redundancy of the data, highlighting the significant features of the cerebral hemorrhage area, and enhancing the detection and recognition capabilities of the cerebral hemorrhage area; the sparse domain data contains the main information in the original imaging data, while removing unnecessary redundancy and noise. Through the representation of sparse domain data, the efficiency and effect of image reconstruction and subsequent processing can be improved, providing a reliable data basis for the generation of high-quality magnetic induction tomography images of cerebral hemorrhage.
[0068] In an optional embodiment, based on a dictionary matrix adaptive algorithm, a sparse representation is constructed according to the conductivity change characteristics of the cerebral hemorrhage area, and the sparse domain features of the magnetic induction tomography data are extracted, and the sparse domain data obtained includes:
[0069] Selecting image blocks containing cerebral hemorrhage areas and normal brain tissues from the magnetic induction tomography data to construct a training sample set;
[0070] Based on the training sample set, the dictionary matrix is trained by minimizing the reconstruction error and the L1 norm regularization term of the sparse representation coefficient, and sparse coding and updating of the dictionary matrix are performed alternately; when updating the sparse coding, the dictionary matrix is fixed, and the sparse representation coefficient of each training sample is solved by the pursuit algorithm; when updating the dictionary matrix, the sparse representation coefficient is fixed, and based on the usage frequency of the dictionary atoms in the dictionary matrix, the dictionary atoms are adaptively updated column by column, and the updated dictionary atoms are normalized by the L2 norm; the sparse coding and updating of the dictionary matrix are repeated until a preset number of training iterations is reached to generate an optimal dictionary matrix;
[0071] Based on the optimal dictionary matrix, the magnetic induction tomography data is sparsely represented to obtain a sparse representation coefficient matrix, and the sparse representation coefficient matrix is used as a sparse domain feature corresponding to the magnetic induction tomography data.
[0072] The dictionary matrix is a matrix composed of atomic column vectors, which is used to represent the linear combination of data. Specifically, in the sparse representation, each column of the dictionary matrix is an atom, and the data can be represented by the sparse linear combination of atoms. The goal of the dictionary matrix is to enable the data to be represented with the least non-zero sparse coefficients, so as to achieve data compression and feature extraction. The dictionary matrix plays the role of a base in the sparse representation, and can represent complex signals with a small number of non-zero coefficients, thereby improving the efficiency and effect of data processing.
[0073] The dictionary atom is a column vector of the dictionary matrix, and each atom represents a basis or feature. A dictionary matrix contains multiple dictionary atoms, with the column number representing the index of the atom; the dictionary atom, as a basis element, provides the basic unit for constructing signals in the sparse representation. The signal is represented by a sparse linear combination of dictionary atoms, and the quality and quantity of dictionary atoms directly affect the effect of sparse representation.
[0074] Sparse coding refers to the process of representing a signal or data as a sparse coefficient vector. Specifically, given a dictionary matrix and a signal, the goal of sparse coding is to find a sparse coefficient vector so that the signal is approximately equal to the product of the dictionary matrix and the sparse coefficient vector, and the sparse coefficient vector has fewer non-zero elements; sparse coding can effectively capture the main features of the signal through the sparse coefficient vector while reducing redundant data.
[0075] Image blocks containing cerebral hemorrhage areas and normal brain tissues are selected from magnetic induction tomography data to construct a training sample set, and sufficient representative image blocks are obtained for the subsequent dictionary learning training process.
[0076] Based on the training sample set, the dictionary matrix is trained by minimizing the reconstruction error and the L1 norm regularization term of the sparse representation coefficient. The training process adopts an alternating optimization strategy to perform sparse coding and update the dictionary matrix respectively.
[0077] In the sparse coding stage, the dictionary matrix is fixed, and the sparse representation coefficients of each training sample are solved by the pursuit algorithm. The pursuit algorithm is a greedy algorithm used to solve the sparse representation problem. It gradually approaches the original signal by iteratively selecting the dictionary atoms most relevant to the residual until the stopping condition is reached;
[0078] In the dictionary matrix update phase, the sparse representation coefficient is fixed, and the dictionary atoms are adaptively updated column by column based on the usage frequency of the dictionary atoms in the dictionary matrix. The usage frequency of dictionary atoms reflects the importance of dictionary atoms in sparse representation. Atoms with high usage frequency correspond to the main patterns in the data and need to be retained; while atoms with low usage frequency correspond to noise or redundant components in the data and need to be replaced or updated. By adaptively updating dictionary atoms, the dictionary matrix can better adapt to the characteristics of the data and improve the effect of sparse representation. After the update is completed, the updated dictionary atoms are normalized by the L2 norm to ensure the energy consistency of the dictionary atoms.
[0079] The sparse coding and dictionary matrix updating are repeated until the preset number of training iterations is reached, and the optimal dictionary matrix can be generated. The optimal dictionary matrix can better characterize the characteristics of the cerebral hemorrhage area and normal brain tissue in the magnetic induction tomography data.
[0080] Based on the optimal dictionary matrix, the magnetic induction tomography data is sparsely represented to obtain a sparse representation coefficient matrix. Specifically, for each magnetic induction tomography data, sparse coding is performed on the optimal dictionary matrix through the pursuit algorithm to solve the corresponding sparse representation coefficient. The sparse representation coefficients of all magnetic induction tomography data are combined to obtain a sparse representation coefficient matrix. The sparse representation coefficient matrix can be used as a sparse domain feature corresponding to the magnetic induction tomography data.
[0081] In this embodiment, the design of the dictionary matrix enables complex signals to be represented by a small number of non-zero coefficients, thereby achieving data compression and feature extraction. While reducing storage and transmission costs, important data information is retained; dictionary atoms, as base elements, provide basic units for constructing signals. High-quality and sufficient dictionary atoms can more accurately represent signals and improve the accuracy and effect of signal reconstruction; sparse coding captures the main features of signals through sparse coefficient vectors, reduces redundant data, helps remove noise, and enhances signal clarity and reliability; by minimizing the reconstruction error and the L1 norm regularization term of the sparse representation coefficient, the dictionary matrix is trained, and an alternating optimization strategy is adopted to make the update of sparse coding and dictionary matrix more efficient, thereby improving the efficiency of sparse representation; adaptive updates are performed based on the frequency of use of dictionary atoms, important atoms are retained, and low-frequency atoms are replaced or updated, so that the dictionary matrix better adapts to data characteristics and improves the sparse representation effect; through L2 norm normalization, the energy consistency of the updated dictionary atoms is guaranteed, numerical instability is prevented, and the convergence and stability of the algorithm are ensured; the optimal dictionary matrix can better characterize the characteristics of cerebral hemorrhage areas and normal brain tissues in magnetic induction tomography data, and enhance the quality of image reconstruction.
[0082] In an optional embodiment, updating the sparse coding includes:
[0083] The formula is as follows:
[0084]
[0085] Among them, α i (t+1) represents the sparse code of the i-th sample after the t+1th iteration, t represents the number of iterations, α represents the currently updated sparse code, i represents the sample number, and x i represents the i-th sample data, D (t) represents the dictionary matrix at the tth iteration, b0 represents the initial value of the sparsity regularization parameter, m represents the adjustment rate of the sparsity regularization parameter, c0 represents the initial value of the L2 norm term regularization parameter, and n represents the adjustment rate of the L2 norm term regularization parameter.
[0086] Given sample data x i , current dictionary matrix D (t) , and the initial value of the sparsity regularization parameter b0, the initial value of the L2 norm regularization parameter c0, in each iteration, the sparse coding α i Update to the encoding α for the next iteration i (t+1) ;
[0087] The sparse code is updated by minimizing the objective function, in this formula:
[0088] The first term is the data error term, which measures the sample data x i and dictionary matrix D (t) The difference between the product of α and the sparse code; the second term is the sparsity regularization term, which is used to control the sparsity of the sparse code. As the number of iterations t increases, the weight of this term gradually decreases; the third term is the L2 norm regularization term, which is used to control the size of the sparse code. As the number of iterations t increases, the weight of this term gradually decreases.
[0089] The formula for sparse coding update contains two exponential decay terms, which are used to adjust the weights of the sparsity regularization parameter and the L2 norm regularization parameter respectively.
[0090] By minimizing the objective function, the optimal sparse coding α under the current iteration is solved i (t+1) .
[0091] According to the formula, the exponential decay parameter is referenced so that the sparsity and L2 regularization strength can be dynamically adjusted in each iteration. As the number of iterations increases, the regularization strength gradually decreases, which helps to capture the details of the data more finely; through the combination of L1 norm terms and L2 norm terms, the formula can simultaneously consider sparsity and reconstruction error, balance the sparse representation and reconstruction accuracy of the model, help improve the effect of signal reconstruction, reduce noise and redundant information; adaptively adjust sparse coding, optimize the current sparse representation, so that the sparse representation can better adapt to the current dictionary matrix, and improve the efficiency and effect of sparse coding; the dynamically adjusted regularization parameters enable sparse coding to better utilize the current dictionary matrix in each iteration, gradually optimize the learning process of the dictionary matrix, and improve the effect of dictionary learning.
[0092] In an optional embodiment, updating the dictionary matrix includes:
[0093] The formula is as follows:
[0094]
[0095] Among them, d k (t+1) represents the value of the atom in the kth column of the dictionary matrix D after the t+1th iteration, d k Indicates the value of the kth atom in the currently updated dictionary matrix D, I k Indicates the sample subscript set using the k-th atom, (α i (t+1) ) k represents the kth component of the sparse coding of the i-th sample after the t+1-th iteration, g represents the weight coefficient of the L1 regularization term, and h represents the weight coefficient of the L2 regularization term.
[0096] Given the current dictionary matrix D (t), sparse coding α i (t+1) , and regularization term weight coefficients g and h.
[0097] In each iteration, the k-th column of the dictionary matrix is atom d k (t+1) Updated to the value for the next iteration.
[0098] The dictionary atoms are updated by minimizing the objective function, in this formula:
[0099] The first term is the data error term, which measures the sample data x i and the current dictionary matrix D (t) With sparse coding α i (t+1) To update the kth atom, the product of the current dictionary matrix and the sparse code is subtracted from the correction error term, and the product of the updated dictionary atom and its corresponding sparse code component is added; the second term is the L1 regularization term, which is used to control the sparsity of the dictionary atom; the third term is the L2 norm regularization term, which is used to control the size of the dictionary atom.
[0100] By minimizing the objective function, the optimal dictionary atom d in the current iteration is solved. k (t+1) .
[0101] According to the formula, by minimizing the reconstruction error between sample data and the dictionary matrix and sparse coding, the dictionary matrix can better adapt to the characteristics of the data, minimize the reconstruction error, and improve the representation ability of the data; the atoms in the dictionary matrix are updated column by column, so that each dictionary atom can be optimized for the corresponding sparse coding, thereby improving the overall performance and representation ability of the dictionary matrix; the kth component of the sparse coding is used for updating, so that each atom in the dictionary matrix can be adaptively adjusted according to actual usage, thereby ensuring the effectiveness and representativeness of the dictionary atoms.
[0102] S102. Based on the conductivity-sensitive undersampling mode, the sparse domain data is undersampled to obtain undersampled sparse domain data, a reconstruction model of the undersampled sparse domain data is established based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and a reconstructed conductivity distribution is obtained by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution;
[0103] Undersampling specifically refers to acquiring data at a rate lower than the original sampling rate during the data collection process, which means reducing the amount of collected data while maintaining key information, reducing the complexity of data processing and storage requirements. The undersampling mode achieves efficient data collection and processing by selectively collecting data in areas that are sensitive to conductivity changes.
[0104] The imaging sensitivity matrix specifically refers to a matrix that describes the sensitivity of the signal response at different positions in the imaging system to the change in conductivity. It reflects the relationship between the conductivity distribution and the measured data and plays a key role in the imaging reconstruction process. The sensitivity matrix is used to map the collected data back to the original image space and reconstruct the distribution of conductivity.
[0105] The conductivity distribution specifically refers to the spatial distribution of conductivity values at different locations in the imaging area, reflecting the conductivity characteristics of tissues at different locations, and is a key parameter used by magnetic induction tomography systems to reconstruct internal structures and characteristics. By reconstructing the conductivity distribution, an image of the internal conductivity characteristics of the imaging object can be obtained to help identify abnormal areas.
[0106] The gradient sparse prior specifically refers to a regularization constraint used to maintain the sparsity of image gradients during image reconstruction. The gradient sparse prior assumes that the gradient of the conductivity distribution is zero at most locations, and only non-zero values appear at boundaries or abnormal areas, which helps to remove noise and keep image edges clear during reconstruction, thereby improving the quality of the reconstructed image.
[0107] In this embodiment, by using a conductivity-sensitive undersampling mode, the sampling points are reduced without affecting the reconstruction quality, thereby reducing the time and resources for data acquisition and processing; by combining the gradient sparse prior of the conductivity distribution and the total variation regularization constraint, the edges and details of the image can be better maintained, the noise and artifacts in the reconstruction process can be reduced, and the quality of the reconstructed image can be improved; by using a joint sparse representation model and utilizing the joint information of the conductivity distribution and the imaging sensitivity matrix, the robustness and stability of the reconstruction algorithm can be improved, and high-quality reconstruction results can still be obtained under undersampling conditions; by utilizing the gradient sparse prior of the conductivity distribution and the total variation regularization constraint, the prior information is fully utilized, the actual conductivity changes can be more accurately reflected, and the physical reality of the reconstruction can be improved; and by adopting the undersampling mode, the amount of data to be processed can be greatly reduced, the computational efficiency can be improved, and the speed of the reconstruction process can be accelerated.
[0108] In an optional embodiment, based on a conductivity-sensitive undersampling mode, the sparse domain data is undersampled to obtain undersampled sparse domain data, a reconstruction model of the undersampled sparse domain data is established based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and a reconstructed conductivity distribution is obtained by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution, including:
[0109] Based on magnetic induction tomography data, the conductivity sensitive state is identified, the conductivity change of each sampling area is determined, and the conductivity distribution is generated. The area where the conductivity change is greater than or equal to the preset conductivity threshold is set as the sampling dense area, and the area where the conductivity change is less than the preset conductivity threshold is set as the sampling sparse area, and the under-sampling mode is constructed;
[0110] Based on the undersampling mode, determining sampling positions from the sparse domain data to obtain an undersampling subset, constructing an undersampling matrix based on the undersampling subset with 0 or 1 as a matrix element, and multiplying the undersampling matrix with the sparse domain data to obtain undersampled sparse domain data;
[0111] Performing low-rank decomposition on a predetermined imaging sensitivity matrix to obtain a set of basic sensitivity patterns, combining the basic sensitivity patterns with a sparse representation corresponding to the conductivity distribution to construct a joint sparse representation model;
[0112] Based on the joint sparse representation model, the relationship between the undersampled sparse domain data and the conductivity distribution is determined, and a reconstruction model is constructed. When solving the reconstruction model, the gradient sparse prior and total variation regularization constraints of the conductivity distribution are combined to construct a reconstruction optimization, and the reconstructed conductivity distribution is obtained by solving the model through an optimization algorithm.
[0113] The magnetic induction tomography data of the target to be imaged is collected by magnetic induction tomography equipment. According to the collected data, the conductivity changes in different areas are analyzed to identify the conductivity sensitive state. Specifically, the conductivity change value in each sampling area is calculated, and the change value is mapped to the conductivity distribution map to generate a conductivity distribution image reflecting the spatial distribution characteristics of conductivity. In the conductivity distribution image, the area where the conductivity change is greater than or equal to the preset conductivity threshold is marked as a densely sampled area, and the area where the conductivity change is less than the preset conductivity threshold is marked as a sparsely sampled area. According to the distribution of densely sampled areas and sparsely sampled areas, the corresponding undersampling mode is designed to guide the subsequent data sampling process.
[0114] The magnetic induction tomography data is converted to the sparse domain space to obtain the sparse domain data. Based on the undersampling mode, some data points are selected from the sparse domain data as sampling positions to obtain the undersampling subset. Specifically, an undersampling matrix of the same size as the sparse domain data is constructed with 0 or 1 as elements, where 1 indicates that the data point at the corresponding position is selected as the sampling point, and 0 indicates that it is not selected as the sampling point. By multiplying the undersampling matrix with the sparse domain data, the undersampled sparse domain data containing only the sampling points can be obtained, thereby realizing data compression and dimensionality reduction.
[0115] The prior information of the imaging sensitivity matrix is introduced, and the imaging sensitivity matrix is combined with the sparse representation of the conductivity distribution to construct a more accurate signal recovery model. By performing low-rank decomposition on the predetermined imaging sensitivity matrix, a set of basic sensitivity patterns are obtained to characterize the main characteristics of the sensitivity distribution during the imaging process. The basic sensitivity patterns are combined with the representation of the conductivity distribution in the sparse domain to construct a joint sparse representation model, establish the relationship between the undersampled sparse domain data and the conductivity distribution, and provide constraints for the subsequent reconstruction solution.
[0116] Based on the joint sparse representation model, a reconstruction model is constructed to describe the mapping relationship between undersampled sparse domain data and conductivity distribution. When solving the reconstruction model, the prior knowledge of conductivity distribution is fully utilized, and the gradient sparse prior and total variation regularization constraints are introduced to construct the reconstruction optimization problem. Among them, the gradient sparse prior assumes that the conductivity distribution is sparse in the gradient domain, and encourages the solution to have sparse gradient characteristics; the total variation regularization constraint encourages the solution to have piecewise smooth characteristics, while keeping the edges clear, making the smooth area as smooth as possible. Incorporating this prior constraint into the reconstruction optimization problem can effectively suppress noise and artifacts in the reconstruction process and improve the reconstruction quality. The optimization algorithm is used to solve the reconstruction optimization problem, and after iterative updates, the final reconstructed conductivity distribution is obtained.
[0117] In this embodiment, conductivity-sensitive areas are identified by analyzing conductivity changes, and undersampling patterns are designed based on the sensitive areas to reduce unnecessary sampling points and improve sampling efficiency. Undersampling is performed in a sparse domain space, and some data points are selected using an undersampling matrix to reduce the amount of data, thereby achieving data compression and dimensionality reduction. Prior information of the imaging sensitivity matrix is introduced, and a basic sensitivity pattern is obtained through low-rank decomposition, which is combined with a sparse representation of the conductivity distribution to construct a joint sparse representation model to provide a more accurate signal recovery model. Gradient sparse priors and total variation regularization constraints are introduced into the reconstruction model, and prior knowledge of the conductivity distribution is used to effectively suppress noise and artifacts, thereby improving the quality and accuracy of reconstruction. The gradient sparse prior encourages the solution to have sparse gradient characteristics and keep edges clear. The total variation regularization constraint ensures that the smooth area is as smooth as possible, thereby improving the quality and detail expression of the reconstructed image as a whole.
[0118] S103. Input the reconstructed conductivity distribution into an imaging reconstruction network to obtain a reconstructed magnetic induction tomography image of cerebral hemorrhage, wherein the imaging reconstruction network adopts an encoder-decoder structure and integrates multi-scale features and an attention mechanism, and trains the imaging reconstruction network through an objective function constructed based on minimization of perceptual loss and adversarial loss to obtain an optimal imaging reconstruction network.
[0119] In this embodiment, by introducing an imaging reconstruction network, adopting an encoder-decoder structure and fusing multi-scale features and an attention mechanism, image details can be better captured and reconstructed, and the quality of the reconstructed image can be significantly improved; the imaging reconstruction network fusing multi-scale features more comprehensively extracts image features of different scales, making the reconstructed image clearer and more delicate; the attention mechanism is used to make the network pay more attention to key areas, ignore irrelevant background information, and improve the accuracy and efficiency of reconstruction; training is performed based on the objective functions of perceptual loss and adversarial loss, effectively improving the visual effect and consistency of the generated image, making the reconstructed image more realistic and natural; by minimizing the objective functions of perceptual loss and adversarial loss, the network can be optimized and trained to obtain the optimal imaging reconstruction network, providing higher quality magnetic induction tomography images of cerebral hemorrhage.
[0120] In an optional embodiment, the imaging reconstruction network includes:
[0121] The imaging reconstruction network is constructed based on an encoder-decoder structure;
[0122] The encoder is composed of a plurality of encoder convolutional layers and a plurality of encoder downsampling layers, and the encoder convolutional layers and the encoder downsampling layers are alternately arranged;
[0123] After each of the encoder convolution layers, a channel attention module and a spatial attention module are set to adaptively adjust the weights of different channels and different spatial positions in the current scale feature, wherein the channel attention module calculates the weight of each channel through global average pooling and a fully connected layer, and the spatial attention module calculates the weight of each spatial position through an attention convolution layer and a sigmoid activation function;
[0124] After each of the encoder downsampling layers, by adding an additional convolution layer and adding an upsampling operation, the current scale feature is upsampled to the same resolution as the input reconstructed conductivity distribution, to obtain a feature representation of the corresponding scale, and determine a multi-scale feature;
[0125] The decoder is composed of a plurality of decoder convolutional layers and a plurality of decoder upsampling layers;
[0126] After each of the decoder convolutional layers, a channel attention module and a spatial attention module identical to the corresponding part of the encoder are set to adaptively adjust the weights of different channels and spatial positions in the current scale feature;
[0127] After each upsampling layer of the decoder, the feature representation of the encoder at the corresponding scale is spliced with the feature representation generated by the decoder, and multi-scale fusion is performed to obtain a reconstruction result to reconstruct the magnetic induction tomography image of cerebral hemorrhage.
[0128] An imaging reconstruction network based on the encoder-decoder structure is constructed. The encoder part is composed of multiple encoder convolutional layers and multiple encoder downsampling layers alternating to extract the multi-scale features of the input reconstructed conductivity distribution. The decoder part is composed of multiple decoder convolutional layers and multiple decoder upsampling layers to gradually restore and fuse multi-scale features to generate reconstruction results.
[0129] In the encoder part, a channel attention module and a spatial attention module are set after each encoder convolution layer to adaptively adjust the weights of different channels and different spatial positions in the current scale feature. The channel attention module compresses the feature map of each channel into a scalar value through a global average pooling operation, calculates the weight coefficient of each channel through a fully connected layer, and performs weighted adjustment on the features of different channels. The spatial attention module calculates the weight coefficient of each spatial position through an attention convolution layer and a sigmoid activation function, and performs weighted adjustment on the features of different spatial positions. By introducing the channel attention and spatial attention mechanisms, the salient features related to the reconstruction task can be effectively captured and strengthened, redundant or irrelevant information can be suppressed, and the quality of feature representation can be improved.
[0130] After each encoder downsampling layer, by adding additional convolutional layers and upsampling operations, the feature map of the current scale is upsampled to the same resolution as the input reconstructed conductivity distribution to obtain the feature representation of the corresponding scale. In this way, during the encoding process, not only compressed features at multiple scales are obtained, but also multi-scale feature representations with the same input resolution are obtained, which provides rich information for subsequent decoding and fusion.
[0131] In the decoder part, the same channel attention module and spatial attention module as the corresponding part of the encoder are set after each decoder convolution layer to adaptively adjust the weights of different channels and spatial positions in the current scale feature, which is similar to the role of the encoder part.
[0132] After each decoder upsampling layer, the feature representation of the encoder at the corresponding scale is spliced with the feature representation generated by the decoder to achieve multi-scale feature fusion. Specifically, the feature map generated by the encoder at that scale is spliced with the feature map obtained by upsampling the decoder in the channel dimension to form a richer and more comprehensive feature representation. Through this cross-scale feature fusion, the high-level semantic information extracted by the encoder can be combined with the detailed information restored by the decoder to obtain a more accurate and clearer reconstruction result.
[0133] After multiple encoder-decoder feature extraction, attention adjustment, and multi-scale fusion, the reconstructed magnetic induction tomography image of cerebral hemorrhage is finally obtained.
[0134] In this embodiment, the network extracts multi-scale features of the reconstructed conductivity distribution of the input, and gradually restores and fuses these features during the decoding process, so that the reconstruction result is more comprehensive and delicate, and the channel adaptively adjusts the weights of different channels and spatial positions in the features, strengthens the significant features related to the reconstruction task, suppresses redundant or irrelevant information, improves the quality of feature representation, effectively captures and strengthens important features, and significantly enhances the network's representation ability for complex image structures; multi-scale features are spliced and fused in the decoder part, combining high-level semantic information with detail information to enhance the accuracy and clarity of the reconstruction result; through cross-scale feature fusion and attention adjustment, the network can suppress noise and artifacts while maintaining image details to generate high-quality reconstructed images; the channel and spatial attention modules can adaptively adjust weights according to different inputs, enhance the network's adaptability to various input data, and improve the robustness and effect of reconstruction.
[0135] In an optional embodiment, the objective function includes:
[0136] Based on the nonlinear combination of perceptual loss and adversarial loss, the formula is as follows:
[0137]
[0138] Among them, L represents the objective function, N represents the total number of network layers, n represents the number of layers, φ n represents the activation function corresponding to the nth layer, Represents the image corresponding to the reconstructed conductivity distribution, σ represents the image corresponding to the true conductivity distribution, θ represents the interaction adjustment factor, E represents the calculated expected value, and D() represents the discriminator's discrimination result.
[0139] The objective function is composed as follows:
[0140] The first part is the perceptual loss, which calculates the difference between the reconstructed conductivity distribution image and the real conductivity distribution image by comparing the activation values of each network layer. Specifically, the L2 norm difference between the activation function outputs of each layer is calculated and summed for all layers. This part of the loss aims to ensure that the reconstructed image is similar to the real image at different feature levels. The second part is the adversarial loss, which distinguishes between real images and reconstructed images by introducing a discriminator. First, the expected value of the probability that the real image is judged as a real image by the discriminator is calculated, and then the expected value of the probability that the reconstructed image is judged as a real image by the discriminator is calculated. Finally, the product of these two expected values is multiplied by an interaction adjustment factor to form an adversarial loss, which aims to improve the realism of the reconstructed image and make it more difficult for the discriminator to distinguish it.
[0141] According to the formula, by comparing the features of the reconstructed image and the real image at different network levels, it is ensured that the reconstructed image is similar to the real image at all feature levels, the structure and detail features of the image are retained, and the overall perceptual quality of the reconstructed image is ensured; by introducing the discriminator, the reconstructed image is more difficult to be distinguished as a false image, and the visual fidelity of the reconstructed image is improved. The adversarial loss forces the generated image to be closer to the real image, improving the authenticity of the reconstruction result; by combining the perceptual loss and the adversarial loss, the objective function balances the feature similarity and visual fidelity of the image during the optimization process, avoiding the instability and artifact problems that may be caused by relying solely on one loss; the introduction of the interaction adjustment factor allows the weight between the perceptual loss and the adversarial loss to be dynamically adjusted, further enhancing the robustness of the network and adapting to different reconstruction tasks and image features; the perceptual loss ensures the similarity between the reconstructed image and the real image at all feature levels, especially the high-level features can retain the overall structure and semantic information of the image, and the low-level features can retain details and edge information.
[0142] Figure 2 FIG. 1 is a schematic diagram of the structure of a magnetic induction tomography image reconstruction system for cerebral hemorrhage according to an embodiment of the present invention. Figure 2 As shown, the system comprises:
[0143] The first unit is used to obtain a magnetic induction tomography image of cerebral hemorrhage, perform denoising and correction preprocessing to obtain magnetic induction tomography data, construct a sparse representation based on a dictionary matrix adaptive algorithm according to the change characteristics of the electrical conductivity of the cerebral hemorrhage area, extract the sparse domain features of the magnetic induction tomography data, and obtain sparse domain data;
[0144] The second unit is used to undersample the sparse domain data based on the conductivity-sensitive undersampling mode to obtain undersampled sparse domain data, establish a reconstruction model of the undersampled sparse domain data based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and obtain a reconstructed conductivity distribution by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution;
[0145] The third unit is used to input the reconstructed conductivity distribution into an imaging reconstruction network to obtain a reconstructed magnetic induction tomography image of cerebral hemorrhage, wherein the imaging reconstruction network adopts an encoder-decoder structure and integrates multi-scale features and an attention mechanism, and trains the imaging reconstruction network through an objective function constructed based on minimization of perceptual loss and adversarial loss to obtain an optimal imaging reconstruction network.
[0146] According to a third aspect of the embodiments of the present invention,
[0147] An electronic device is provided, comprising:
[0148] processor;
[0149] a memory for storing processor-executable instructions;
[0150] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0151] A fourth aspect of the embodiments of the present invention is:
[0152] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.
[0153] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for reconstructing magnetic induction tomography images of cerebral hemorrhage, characterized in that: include: Acquire a magnetic induction tomography image of cerebral hemorrhage, perform denoising and correction preprocessing to obtain magnetic induction tomography data, construct a sparse representation based on a dictionary matrix adaptive algorithm according to the change characteristics of the electrical conductivity of the cerebral hemorrhage area, extract the sparse domain features of the magnetic induction tomography data, and obtain sparse domain data; Based on a conductivity-sensitive undersampling mode, the sparse domain data is undersampled to obtain undersampled sparse domain data, a reconstruction model of the undersampled sparse domain data is established based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and a reconstructed conductivity distribution is obtained by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution; The reconstructed conductivity distribution is input into an imaging reconstruction network to obtain a reconstructed magnetic induction tomography image of cerebral hemorrhage, wherein the imaging reconstruction network adopts an encoder-decoder structure and integrates multi-scale features and an attention mechanism, and is trained through an objective function constructed based on minimization of perceptual loss and adversarial loss to obtain an optimal imaging reconstruction network.
2. The method according to claim 1, characterized in that Based on the dictionary matrix adaptive algorithm, according to the conductivity change characteristics of the cerebral hemorrhage area, a sparse representation is constructed to extract the sparse domain features of the magnetic induction tomography data, and the sparse domain data obtained includes: Selecting image blocks containing cerebral hemorrhage areas and normal brain tissues from the magnetic induction tomography data to construct a training sample set; Based on the training sample set, the dictionary matrix is trained by minimizing the reconstruction error and the L1 norm regularization term of the sparse representation coefficient, and sparse coding and updating of the dictionary matrix are performed alternately; when updating the sparse coding, the dictionary matrix is fixed, and the sparse representation coefficient of each training sample is solved by the pursuit algorithm; when updating the dictionary matrix, the sparse representation coefficient is fixed, and based on the usage frequency of the dictionary atoms in the dictionary matrix, the dictionary atoms are adaptively updated column by column, and the updated dictionary atoms are normalized by the L2 norm; the sparse coding and updating of the dictionary matrix are repeated until a preset number of training iterations is reached to generate an optimal dictionary matrix; Based on the optimal dictionary matrix, the magnetic induction tomography data is sparsely represented to obtain a sparse representation coefficient matrix, and the sparse representation coefficient matrix is used as a sparse domain feature corresponding to the magnetic induction tomography data.
3. The method according to claim 2, characterized in that Update sparse coding includes: The formula is as follows: Among them, α i (t+1) represents the sparse code of the i-th sample after the t+1th iteration, t represents the number of iterations, α represents the currently updated sparse code, i represents the sample number, and x i represents the i-th sample data, D (t) represents the dictionary matrix at the tth iteration, b0 represents the initial value of the sparsity regularization parameter, m represents the adjustment rate of the sparsity regularization parameter, c0 represents the initial value of the L2 norm term regularization parameter, and n represents the adjustment rate of the L2 norm term regularization parameter.
4. The method according to claim 3, characterized in that Updating the dictionary matrix includes: The formula is as follows: Among them, d k (t+1) represents the value of the atom in the kth column of the dictionary matrix D after the t+1th iteration, d k Indicates the value of the kth atom in the currently updated dictionary matrix D, I k Indicates the sample subscript set using the k-th atom, (α i (t+1) ) k represents the kth component of the sparse coding of the i-th sample after the t+1-th iteration, g represents the weight coefficient of the L1 regularization term, and h represents the weight coefficient of the L2 regularization term.
5. The method according to claim 1, characterized in that Based on the conductivity-sensitive undersampling mode, the sparse domain data is undersampled to obtain undersampled sparse domain data. Based on the predetermined imaging sensitivity matrix and the joint sparse representation of the conductivity distribution, a reconstruction model of the undersampled sparse domain data is established. In combination with the gradient sparse prior and the total variation regularization constraint of the conductivity distribution, the reconstruction conductivity distribution is obtained by solving the reconstruction model, including: Based on magnetic induction tomography data, the conductivity sensitive state is identified, the conductivity change of each sampling area is determined, and the conductivity distribution is generated. The area where the conductivity change is greater than or equal to the preset conductivity threshold is set as the sampling dense area, and the area where the conductivity change is less than the preset conductivity threshold is set as the sampling sparse area, and the under-sampling mode is constructed; Based on the undersampling mode, determining sampling positions from the sparse domain data to obtain an undersampling subset, constructing an undersampling matrix based on the undersampling subset with 0 or 1 as a matrix element, and multiplying the undersampling matrix with the sparse domain data to obtain undersampled sparse domain data; Performing low-rank decomposition on a predetermined imaging sensitivity matrix to obtain a set of basic sensitivity patterns, combining the basic sensitivity patterns with a sparse representation corresponding to the conductivity distribution to construct a joint sparse representation model; Based on the joint sparse representation model, the relationship between the undersampled sparse domain data and the conductivity distribution is determined, and a reconstruction model is constructed. When solving the reconstruction model, the gradient sparse prior and total variation regularization constraints of the conductivity distribution are combined to construct a reconstruction optimization, and the reconstructed conductivity distribution is obtained by solving the model through an optimization algorithm.
6. The method according to claim 1, characterized in that The imaging reconstruction network comprises: The imaging reconstruction network is constructed based on an encoder-decoder structure; The encoder is composed of a plurality of encoder convolutional layers and a plurality of encoder downsampling layers, and the encoder convolutional layers and the encoder downsampling layers are alternately arranged; After each of the encoder convolution layers, a channel attention module and a spatial attention module are set to adaptively adjust the weights of different channels and different spatial positions in the current scale feature, wherein the channel attention module calculates the weight of each channel through global average pooling and a fully connected layer, and the spatial attention module calculates the weight of each spatial position through an attention convolution layer and a sigmoid activation function; After each of the encoder downsampling layers, by adding an additional convolution layer and adding an upsampling operation, the current scale feature is upsampled to the same resolution as the input reconstructed conductivity distribution, to obtain a feature representation of the corresponding scale, and determine a multi-scale feature; The decoder is composed of a plurality of decoder convolutional layers and a plurality of decoder upsampling layers; After each of the decoder convolutional layers, a channel attention module and a spatial attention module identical to the corresponding part of the encoder are set to adaptively adjust the weights of different channels and spatial positions in the current scale feature; After each upsampling layer of the decoder, the feature representation of the encoder at the corresponding scale is spliced with the feature representation generated by the decoder, and multi-scale fusion is performed to obtain a reconstruction result to reconstruct the magnetic induction tomography image of cerebral hemorrhage.
7. The method according to claim 1, characterized in that The objective function includes: Based on the nonlinear combination of perceptual loss and adversarial loss, the formula is as follows: Among them, L represents the objective function, N represents the total number of network layers, n represents the number of layers, φ n represents the activation function corresponding to the nth layer, Represents the image corresponding to the reconstructed conductivity distribution, σ represents the image corresponding to the true conductivity distribution, θ represents the interaction adjustment factor, E represents the calculated expected value, and D() represents the discriminator's discrimination result.
8. A magnetic induction tomography image reconstruction system for cerebral hemorrhage, used to implement the method according to any one of claims 1 to 7, characterized in that: include: The first unit is used to obtain a magnetic induction tomography image of cerebral hemorrhage, perform denoising and correction preprocessing to obtain magnetic induction tomography data, construct a sparse representation based on a dictionary matrix adaptive algorithm according to the change characteristics of the electrical conductivity of the cerebral hemorrhage area, extract the sparse domain features of the magnetic induction tomography data, and obtain sparse domain data; The second unit is used to undersample the sparse domain data based on the conductivity-sensitive undersampling mode to obtain undersampled sparse domain data, establish a reconstruction model of the undersampled sparse domain data based on a predetermined imaging sensitivity matrix and a joint sparse representation of the conductivity distribution, and obtain a reconstructed conductivity distribution by solving the reconstruction model in combination with a gradient sparse prior and a total variation regularization constraint of the conductivity distribution; The third unit is used to input the reconstructed conductivity distribution into an imaging reconstruction network to obtain a reconstructed magnetic induction tomography image of cerebral hemorrhage, wherein the imaging reconstruction network adopts an encoder-decoder structure and integrates multi-scale features and an attention mechanism, and trains the imaging reconstruction network through an objective function constructed based on minimization of perceptual loss and adversarial loss to obtain an optimal imaging reconstruction network.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
