Intravascular ultrasound image segmentation and reconstruction method based on multi-scale prior coordination mechanism
Through the multi-scale prior coordination mechanism and deep learning method, the problems of noise and anatomical differences in IVUS image segmentation technology are solved, high-precision segmentation and three-dimensional reconstruction of blood vessel lumens and plaques are achieved, and the diagnosis and treatment of cardiovascular diseases are improved. accuracy.
Patent Information
- Application Number
- CN202410682153.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-05-29
AI Technical Summary
Traditional IVUS image segmentation technology is difficult to handle noise, anatomical differences and complex lesions, and the lack of high-quality annotation data results in poor segmentation accuracy and poor generalization.
Using a multi-scale prior coordination mechanism, combined with deep learning methods, through the prior correlation paradigm, hierarchical information enhancement module and adaptive fusion with upper and lower spatial coding modules, multi-scale features are extracted and fused to enhance the accuracy of image segmentation and three-dimensional reconstruction. sex.
It significantly improves the segmentation accuracy and robustness of blood vessel lumens and plaques in IVUS images, generates high-precision three-dimensional blood vessel models, and assists cardiovascular doctors in diagnosis and treatment decisions.
Smart Images

Figure CN118644498A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical image processing technology, and provides an intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism. The present invention uses a deep learning method to perform accurate segmentation and three-dimensional reconstruction of IVUS images. Background Art
[0002] With the development of medical imaging technology, intracardiac ultrasound imaging (IVUS) is a medical imaging technology that is commonly used to evaluate lesions such as atherosclerotic plaques or vascular stenosis, and is widely used in the evaluation and treatment of coronary artery disease. However, it is still very challenging to distinguish the vascular lumen and plaque areas from IVUS images. IVUS images are often affected by electronic noise, speckle noise, motion artifacts, and acoustic scattering, resulting in blurred images and difficulty in distinguishing details. Tiny bubbles or stray reflections in the blood can produce bright spots in the image, interfering with the identification of plaques and blood vessel walls.
[0003] Especially at the bends of blood vessels, uneven lighting and shadow effects in IVUS images may blur or exaggerate the details of certain areas. The evolution from soft plaque to calcified plaque reflects the different stages of atherosclerosis. The different stages of lesions form a complex feature structure of IVUS images. Due to different plaque types and complex vascular morphology, traditional network models have difficulty capturing certain advanced or complex features in IVUS images, and the segmentation results have a large number of misjudgments and edge disappearances.
[0004] In addition, high-quality annotated IVUS data is very scarce and difficult to obtain, and manually annotating IVUS data is not only time-consuming but also labor-intensive. With only a small data sample, the model may not be able to effectively learn sufficiently rich and robust feature representations, resulting in poor generalization of traditional models and poor segmentation accuracy. Therefore, factors such as low-quality images, insufficient capture of complex features, the influence of side branches, and lack of high-quality annotated data restrict the development of automated IVUS segmentation technology. The present invention was created in this context, aiming to provide a novel multi-scale prior coordination framework to overcome the shortcomings of the prior art and improve the accuracy and robustness of IVUS image segmentation. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention provides an intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism, which aims to significantly improve the segmentation accuracy and efficiency of cardiovascular structures such as vascular cavities and plaques in IVUS images. And based on this precise segmentation result, high-precision three-dimensional reconstruction of cardiovascular structures can be performed.
[0006] The present invention innovatively integrates multi-scale feature extraction, deep learning algorithms and multi-dimensional information fusion technology, overcoming the limitations of traditional segmentation technology in noise processing, adaptation to anatomical differences, fine structure recognition, and processing of complex pathological states.
[0007] The technical solution adopted by the present invention to solve the technical problem comprises the following steps:
[0008] S1: Collection of IVUS datasets for various cardiovascular diseases;
[0009] S2: Divide the IVUS dataset into training set and test set;
[0010] S3: construct a multi-scale prior coordination framework model, wherein the framework model specifically includes: a prior correlation paradigm, a hierarchical information enhancement module, an adaptive fusion and an upper and lower layer spatial coding module;
[0011] 1.S4: Preprocess and enhance the training set;
[0012] S5: input the labeled training set to the multi-scale prior coordination framework model to perform IVUS image segmentation training;
[0013] S6: Use the cross entropy loss function to solve the segmentation accuracy and category imbalance problems;
[0014] S7: On the independent test set, the segmentation accuracy and robustness of the model are evaluated by Dice, IoU, MCC, G-Mean, Kappa and other indicators;
[0015] S8: Convert the segmentation result into a three-dimensional model for vascular reconstruction, and use the original image to generate a vascular cross-section.
[0016] Furthermore, in step S2, all IVUS images are uniformly scaled to 480*480 pixels to standardize the input data specifications.
[0017] Furthermore, in step S3, the a priori correlation paradigm includes a priori encoder and a calibration module. The priori encoder relies on the trained weights to perform accurate feature extraction, and the calibration module performs feature matching in the spatiotemporal dimension according to the characteristics of the current task and data set.
[0018] The Masked Autoencoder (MAE) is used as the prior encoder. MAE is a Transformer-based structure that applies the principle of self-supervised learning. MAE adopts an asymmetric design and consists of an encoder that extracts latent features from the image and a decoder that reconstructs the original image from the latent features. Both the encoder and the decoder are visual transformers (ViTs), which divide the image into blocks, randomly mask and remove some blocks, and send the remaining blocks to the Transformer module for feature extraction. The decoder fills the blank blocks in the position of the original removed blocks, and then puts them into the Transformer block for image reconstruction. MAE significantly reduces the computational requirements during training. This makes it possible to use larger models or process larger data sets more efficiently. Through the reconstruction task, MAE forces the model to learn the intrinsic structure and features of the input data, thereby improving the efficiency of data utilization and the depth of understanding.
[0019] The Pyramid Visual Transformer (PVT) is used as the calibration module. PVT designs a series of Transformer layers to generate multi-scale feature maps while increasing the network width, which can be widely used in downstream tasks. This approach effectively enhances the model's ability to capture features at different scales and effectively addresses ViT's shortcomings in dealing with small objects or tasks that require fine feature analysis. PVT expands the scope of application of ViT in the field of computer vision, especially in dense prediction tasks that traditionally rely on convolutional neural networks (CNNs). The spatial reduction attention mechanism introduced by PVT reduces computational complexity and memory usage by reducing the spatial dimensions of keys and values in the attention mechanism. This allows PVT to process large-size images more efficiently. PVT uses dynamic position encoding, which can be dynamically adjusted according to the size of the input image, thereby improving the model's adaptability and generalization ability for different image sizes.
[0020] The described prior correlation paradigm addresses the challenges of extremely scarce annotated datasets and insufficient learning of fine-grained structures. Image mask reconstruction, contrastive learning, and other self-supervised methods are used to train the prior encoder, integrating pre-trained high-level features and temporal coherent data into the framework. In addition, the segmentation task relies on semantic information at different levels, and the calibration module generates multi-scale feature maps and coordinates the prior features obtained from different tasks according to the current task and dataset.
[0021] The hierarchical information enhancement module is as follows:
[0022] The channel attention module and the spatial attention module are used to focus on the relevant features in the input image, so that the framework has dynamic attention capabilities and attenuates less relevant features across spatial and channel dimensions.
[0023] The working principle of the channel attention mechanism is to use global average pooling and global maximum pooling to extract channel-level statistical features. These two pooling operations highlight different feature responses. The feature maps obtained by the two pooling operations are processed by a multi-layer perceptron (MLP) with shared weights, and then added and activated by a sigmoid function to generate a channel attention map. This channel attention map is multiplied channel by channel with the feature map output by the last layer of the prior correlation paradigm to enhance the features of important channels and suppress the features of unimportant channels.
[0024] The spatial attention mechanism applies global average pooling and global maximum pooling to the feature map, but this time along the channel axis, generating two 2D feature maps (one obtained by average pooling and one by maximum pooling). These two feature maps are stacked on the channel and then passed through a convolutional layer to generate a spatial attention map. The output is processed by the sigmoid activation function to obtain the final spatial attention map.
[0025] The correlation direction vectors between pixels are further used to reconstruct the latent subspace from high-level features (feature maps output by the last layer of the prior correlation paradigm) with lower resolution and containing high-level semantic information, and the correlation direction vectors between pixels are extracted from the latent subspace. The correlation direction vectors are used to enhance the fine-grained structural features in the vascular structure of IVUS images.
[0026] Through feature scaling and channel projection, the hierarchical information enhancement module re-encodes the fine-tuned features and extracts direction vectors from the latent subspace. These direction vectors encapsulate the contextual information of the input features, which helps the framework to comprehensively interpret the global environment and high-level semantic features in the vascular structure of IVUS images.
[0027] The adaptive fusion and upper and lower layer spatial coding modules are as follows:
[0028] The adaptive fusion and upper and lower spatial encoding module consists of a lower spatial encoding layer and an adaptive fusion layer. The upper and lower spatial encoding layers are designed to extract and re-encode spatial features from context-rich information, and use associated scene features and content features to promote a tighter integration of local and global information. The associated scene features are interacted across channels to improve the framework's generality and feature learning. Through a complex spatial encoding strategy, the features are projected into various directions and the correlation between these projections is calculated to enhance feature representation.
[0029] The adaptive fusion layer focuses on morphologically fusing the fused features and the decoded features using deformable convolution and advanced pooling strategies. The deformable convolution layer in the adaptive fusion layer is good at adapting to the complex radial pattern characteristics of IVUS images.
[0030] The deformable convolution dynamically adjusts the position of each sampling point in the convolution kernel by introducing an additional offset, so that the convolution kernel can be deformed freely according to the needs of the image content. Deformable convolution increases the adaptability of the network to spatial transformation, especially in complex environments, such as image recognition and analysis of irregular objects and dynamic scenes.
[0031] In CNN, a feature map consists of multiple channels, each of which represents a different type of feature response. The cross-channel interaction technology realizes information exchange and integration between channels through grouped convolution and shuffle operations, improving the overall expression and utilization efficiency of the model for features.
[0032] Furthermore, in step S8, the three-dimensional reconstruction system generates depth estimation and constructs point clouds from the segmented IVUS images through deep learning technology, converts them into three-dimensional mesh models using Marching Cubes reconstruction technology, and enhances visual realism through texture mapping and advanced rendering technology.
[0033] Compared with the prior art, the present invention has the following significant advantages:
[0034] The multi-scale prior coordination framework integrates the prior correlation paradigm, hierarchical information enhancement module, adaptive fusion, and upper and lower spatial encoding modules. The multi-scale prior coordination framework adopts the prior coherence paradigm, trains the prior encoder through image mask reconstruction, contrastive learning and other self-supervised methods, integrates pre-trained high-level features and temporal coherence data into the framework, and generates multi-scale feature maps with a calibration module. It fine-tunes the high-level feature expression according to the current task and dataset to enhance the feature expression of vascular fine-grained structure in the feature map. This module addresses the challenges of the extreme scarcity of annotated datasets and the inadequate learning of fine-grained structures by traditional networks. The upper-level information is lost during the decoding process, and the key features are gradually attenuated in the deep structure. Therefore, we introduce a hierarchical information enhancement module to extract the overall spatial context information and enhance the high-level semantic features in the vascular structure of IVUS images, while attenuating the less relevant elements across spatial and channel dimensions. To address the problems of insufficient utilization of coding features and mismatch of reconstruction information in existing decoders, we use adaptive fusion and upper and lower spatial coding modules in the decoding process. From the perspective of the fusion of global and local information and multi-scale features, we enhance the local details in the global features and enrich the reconstruction information, thereby improving the segmentation ability of fuzzy boundaries while taking into account the regional segmentation effect.
[0035] In addition, the three-dimensional reconstruction technology of the present invention further enhances its application value. Using the high-precision vascular structure segmentation results, the present invention can generate an accurate three-dimensional vascular model, providing an intuitive three-dimensional view for cardiologists. It can not only assist doctors in plaque feature analysis and determine treatment strategies such as angioplasty or stent implantation, but also help study the biomechanical properties of blood vessels, monitor the changes of plaques over time, and evaluate the progression of the disease or the regression of plaques after treatment. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a schematic diagram of a process of a multi-scale prior coordination framework in an embodiment of the present invention;
[0037] Figure 2 Schematic diagram of segmentation of five types of labeled frames in an IVUS data set in an embodiment of the present invention;
[0038] Figure 3 is an overall framework diagram of a multi-scale prior coordination framework in an embodiment of the present invention;
[0039] Figure 4 is a schematic diagram of a priori correlation paradigm in a multi-scale priori coordination framework in an embodiment of the present invention;
[0040] Figure 5 is a block diagram of a hierarchical information enhancement module in a multi-scale prior coordination framework in an embodiment of the present invention;
[0041] Figure 6 It is a framework diagram of the adaptive fusion and upper and lower layer spatial coding modules in the multi-scale prior coordination framework in an embodiment of the present invention;
[0042] Figure 7 It is a performance comparison of the multi-scale prior coordination framework in the embodiment of the present invention on the IVUS dataset with other existing methods;
[0043] Figure 8 The schematic diagram of segmentation of selected samples in the IVUS dataset by each model is shown;
[0044] Fig. 9 The figure shows the effect of converting the segmented image into a three-dimensional model. DETAILED DESCRIPTION
[0045] The present invention is further explained below with reference to the embodiments.
[0046] In particular, the present invention relates to a multi-scale prior coordination framework (PricoMS), which is designed to accurately identify and segment complex vascular structures such as vascular cavities and plaques, understand information such as the intima-media thickness (IMT), blood flow velocity, stenosis, pressure waveform and anatomical characteristics of bifurcations of intracardiac arteries, so as to support the diagnosis and treatment of cardiovascular diseases, and can perform high-precision three-dimensional reconstruction of vascular structures based on these precise segmentation results. The three-dimensional reconstruction technology provides an intuitive three-dimensional view for cardiologists, which helps to more deeply understand the spatial distribution and pathological changes of cardiovascular structures, thereby improving the accuracy of diagnosis and the effectiveness of treatment.
[0047] like Figure 1 As shown, the present invention proposes a multi-scale prior coordination framework for segmenting IVUS images, which specifically includes the following steps:
[0048] S1: Collection of IVUS datasets for various cardiovascular diseases;
[0049] S2: Divide the IVUS dataset into training set and test set;
[0050] S3: construct a multi-scale prior coordination framework, which specifically includes: a prior correlation paradigm, a hierarchical information enhancement module, an adaptive fusion and an upper and lower spatial coding module;
[0051] S4: Preprocessing and data enhancement of training sets;
[0052] S5: input the labeled training data to the multi-scale prior coordination framework for IVUS image segmentation training;
[0053] S6: Use the cross entropy loss function to solve the segmentation accuracy and category imbalance problems;
[0054] S7: On the independent test set, the segmentation accuracy and robustness of the model are evaluated by Dice, IoU, MCC, G-Mean, Kappa and other indicators;
[0055] S8: Convert the segmentation result into a three-dimensional model for vascular reconstruction, and use the original image to generate a vascular cross-section.
[0056] For steps S1, S2, and S4:
[0057] The present invention uses an IVUS dataset of 70 patients. Imaging was performed using an Infraredx 2.4F50MHz Dualpro system, which captures IVUS video at 30 frames per second with a resolution of 480×480 pixels. The comprehensive dataset includes 197 vessels, resulting in a total of 26,678 end-diastolic frames. These frames were meticulously annotated by four experts over a two-year period.
[0058] For the study, we compiled a dataset of 3,500 labeled frames and an additional 10,000 unlabeled frames (13,500 frames in total) to aid in boundary segmentation, which requires analysis of adjacent frames. Our dataset ensures diversity by including training and test data from different patient populations. Evaluation of the training and test sets was performed by two experienced cardiologists who annotated and evaluated the patients' diseases. In addition, a senior expert with more than 2,000 days of experience selected the best annotations and refined them manually to ensure the highest quality and accuracy of our dataset analysis.
[0059] Specifically, the training set used 2,653 labeled frames, which were classified as follows: the first type of labeled frames were 113 IVUS images with larger vascular radius; the second type of labeled frames were 633 IVUS images with large shadows due to calcification; the third type of labeled frames were 328 IVUS images with smaller shadows behind calcification; the fourth type of labeled frames were 91 IVUS images with other side branch vascular structures; the fifth type of labeled frames were 1,488 IVUS images without the other four obvious features. The five types of segmentation are shown in the figure below. Figure 2 As shown, the training set uses 1000 labeled frames.
[0060] A series of data augmentation operations including random horizontal flipping, resizing, random cropping, standardization, large-scale jittering, etc. are performed on the training set and validation set to significantly enhance the diversity and complexity of the data set. Through dynamic combination transformation, it helps the model to obtain better generalization ability during training and ensure the consistency of input data and the effectiveness of model training.
[0061] Figure 3 The overall framework of the network model in the present invention is shown, and the following section will explain the framework in detail.
[0062] For the a priori correlation paradigm, the schematic diagram is as follows Figure 4As shown, the unlabeled IVUS image is first randomly masked by the encoder so that the network can learn the features of the unmasked part. Subsequently, the decoder predicts the content of the masked area to complete the image reconstruction task. In view of the fact that the focus of the present invention is on image segmentation rather than reconstruction, the encoder and its training weights are retained. The retained encoder becomes the prior encoder. The prior encoder uses MAE to perform self-supervised tasks of image masking and reconstruction. The main component of the calibration module is the feature extractor, which is composed of a certain number of convolutional layers and Transformer layers. A hierarchical structure is introduced to generate multi-scale feature maps, which is convenient for extracting fine-grained details and broader contextual information, while coordinating the prior features obtained from different tasks according to the current task and data set. The present invention uses PVT as a calibration module.
[0063] The IVUS image with labels is input into the multi-scale prior coordination framework model and encoded through the prior correlation paradigm. The specific process is as follows: Input IVUS image X in ∈R H×W×3 After the pre-trained prior encoder, , where H, W, and 3 are the length, width, and number of channels of the IVUS image respectively. The IVUS image is decomposed into image patches, each of which is 16×16×3 in size. Then, the flattened image patches are mapped to a linear space to generate a feature sequence whose size is Where C1 is the dimension of linear projection. Then, the linearly embedded feature sequence is added to the positional encoding and put into the Transformer layer with the number of layers d1. The feature is extracted through the self-attention mechanism to obtain the global feature as the final output of the prior encoder. The size of the global feature is still Reorganize the global features into a priori feature map e0∈R H×W×3 ,Then the prior feature map e0 is input into the calibration module.
[0064] Denote the encoder output at each stage in the calibration module as e n ,The calibration module has four encoding stages, and the encoding output of each stage is e2, e3, e4 and e5 respectively.
[0065] Convolution, batch normalization and activation operations are performed on the prior feature map e0 to obtain the alignment map e1, which is reduced to
[0066] e1=δ(BN(W1·e0))
[0067] In this equation, δ represents the “ReLU” activation function, is a convolution kernel with a dimension of 7×7, a stride of 2, a padding of 3, and C kIndicates the number of channels of the alignment graph e1, the size is 32; It represents the number of channels of the prior feature map e0, and “BN” is the batch normalization function.
[0068] The prior feature map e0 is then placed in the pyramid structure, passed through a Transformer module with layer l1, and the output shape is adjusted to Get the feature map e2.
[0069] By repeating the encoding strategy of the first stage in the calibration module, a series of feature maps are further generated using the feature maps from the adjacent previous stage as input. The strides of feature maps e3, e4 and e5 relative to the prior feature map e0 are 8, 16 and 32 pixels respectively, among which feature map e5 is a high-level feature map; the multi-scale feature maps {e1, e2, e3, e4, e5} are applied to downstream segmentation tasks.
[0070] After the prior correlation paradigm operation is completed, the hierarchical information enhancement module is used to enhance the high-level feature map e5 obtained by the last stage encoder in the calibration module. This is because the high-level feature map e5 has a lower resolution and contains rich semantic information, which can promote the framework's comprehensive understanding of the global context. The specific operation of the hierarchical information enhancement module is as follows Figure 5 shown.
[0071] The high-level feature map e5 will be convolved, normalized, and activated, and upsampled to the same size as the input IVUS image X in Size matching to obtain the latent space feature map This map contains a lot of overall spatial information of the image structure. A 1×1 convolution kernel W2 is used for channel mapping, and E is pooled by global average pooling. pre Compress and finally extract the channel direction information v pre , v pre Essentially reflects the underlying vascular structure.
[0072] v pre =GAP(W2E pre )
[0073] Among them, GAP is the global average pooling, convolution kernel Among them C N The size of is three times the number of output categories.
[0074] Then, without changing the size, the high-level feature map e5 is obtained by channel attention and spatial attention. This operation aims to highlight key features and reduce the correlation of edge elements in the spatial and channel dimensions, thereby improving the feature topology. A 1×1 convolution is used Channel direction information v pre Re-encode the re-encoded channel direction information v pre Mapped to v enhance The same dimension. Then, the re-encoded channel direction information v pre Activate and normalize the projection vector through the sigmoid gating function σ:
[0075] α pre =σ(δ(W3v pre ))
[0076] α pre With v enhance Perform channel-level multiplication according to α pre The directional attributes contained in it selectively strengthen or weaken the features. The final stage consists of using a 1×1 convolution kernel Re-encode the output result and combine it with the high-level feature map e5 residual:
[0077] e HCS =W4(α pre ·e enhance )+e5
[0078] Finally, the feature map e HCS Input to the decoder of the present invention, and perform the final decoding operation to restore the input IVUS image X in The decoder uses adaptive fusion and upper and lower spatial coding modules. The specific process is as follows Figure 6 and Figure 2 As shown:
[0079] In the first stage, the feature map e HCS Upsampling is performed to make its size 4 times the original and the number of channels doubled, resulting in Subsequently, global average pooling is applied to d'4 to compress its embedding to produce After this, d'4 and are sent to the upper and lower spatial coding layers, and in the upper and lower spatial coding layers d'4 and After re-encoding to optimize the spatial characteristics of feature representation, d'4 is spatially encoded twice to obtain the associated scene features and content features Generated by compression After convolution and activation operations, a feature map focusing on spatial attributes is finally formed. Calculate the optimal k value to adjust The result after dimension adjustment is applied with one-dimensional convolution to reduce the number of channels, thereby promoting local cross-channel interaction and obtaining the final output calculate and The similarity between relation. Element-by-element multiplication is performed to refine the features, and finally the refined feature map d″4 is derived. The specific mathematical expressions of some parameters are as follows:
[0080]
[0081] Where w1∈R 1×1 , indicating that the size is k and the padding is set to The convolution kernel, in The squeeze and transpose operations of the prior feature map e5 are used to adjust the feature dimension to adapt to the one-dimensional convolution. ⊙ represents element-by-element multiplication, and sum() represents summation over a specific dimension.
[0083] The refined feature map d″4 is fused with the feature map e4 of the same size in the encoder through a skip connection. The result of the skip connection is channel compressed to obtain the final decoded feature d4.
[0084] Through the same decoding operation, the refined feature maps d″3, d″2 and d″1 are obtained, which are fused with the feature maps e3, e2 and e1 of the same size in the encoder through jump connections. The results of the jump connection are channel compressed to obtain d3, d2 and d1, where d1 is the final decoded feature. At the same time, the decoded feature maps {d1, d2, d3, d4} are obtained.
[0085] The multi-scale feature maps {e1, e2, e3, e4} obtained by the encoder are subjected to multi-scale feature fusion. The specific operation is: {e2, e3, e4} are upsampled to the same size and number of channels as e1, and all upsampled results are combined with e1 to obtain the fused feature x1. Figure 3 As shown, the fused features x1 and d1 are passed through the adaptive fusion layer, the fused feature x1 is extracted through deformable convolution to obtain x'1 and averaged and max pooled, the two results after average and max pooling are dot-producted, and softmax is used to calculate the first attention map attention1:
[0086] attention1=Softmax(AvgPool(x′1)⊙MaxPool(x′1))
[0087] Multiply attention1 by d1 and generate out1 by reshaping and merging the feature maps.
[0088] At the same time, d1 will be re-encoded as d'1, and the vertical feature Pool(H,1) and the horizontal feature Pool(1,W) will be separated through the pooling operation in a specific direction. The features in the two orthogonal directions are multiplied to obtain the position-related attention map attention2:
[0089]
[0090] attention2=Softmax(Pool(1,W)(d′1)⊙Pool(H,1)(d′1))
[0091] Multiply attention2 and x1 to get out2. Finally, combine d1, x1, out1 and out2 to get the result feat that integrates multi-scale feature maps. Perform a simple upsampling on feat to restore it to the original input size and apply it to subsequent segmentation tasks.
[0092] Furthermore, the framework of step S6 adopts a cross-loss entropy function, which can ensure the efficiency and performance of model learning while effectively addressing challenges in IVUS image analysis, such as category imbalance and detail segmentation accuracy.
[0093]
[0094] Where N is the number of samples, y i is the true label of sample i, is the model's predicted value for sample i.
[0095] Furthermore, in step S7, the model is used to perform segmentation on an independent test set, and the segmentation result is compared with the true label. The evaluation indicators include Dice Coefficient (Dice), Intersection over Union (IoU), Matthews Correlation Coefficient (MCC), Geometric Mean (G-Mean), and Cohen's Kappa Coefficient (Kappa). The specific contents are as follows:
[0096] Dice is a statistical indicator used to measure the similarity between two samples, especially for measuring the overlap between samples. In image segmentation, Dice is used to quantitatively evaluate the overlap between the predicted segmentation region and the true segmentation region.
[0097]
[0098] In this formula, S is the total number of categories, V pred.j is the region of the predicted class, V truth.jis the region of the real class.
[0099] IoU is a commonly used evaluation metric in image segmentation, which is used to quantify the ratio of the intersection and union between the predicted bounding box or segmentation area and the true bounding box or segmentation area.
[0100]
[0101] In this formula, |V pred.j ∪V truth.j ∣ represents j th The union of the predicted and true classes, i.e. the total number of unique elements in both sets.
[0102] MCC is an indicator used to measure the quality of binary classification in image segmentation, combining the true positive rate, false positive rate, true negative rate and false negative rate. MCC is a value between -1 and +1, which is used to measure the quality of segmentation. +1 indicates perfect segmentation, 0 indicates average random segmentation, and -1 indicates completely inconsistent segmentation.
[0103]
[0104] In this formula, for the jth th samples, TP j This is a real example, TN j It is a true negative example, FP j It is a false positive example, FN j is a false negative example.
[0105] G-Mean is a common statistical metric in image segmentation. It is used to measure the central tendency of images in a data set. It is the geometric mean of sensitivity and specificity and is used to measure the balanced performance of the model in processing positive and negative samples of images.
[0106]
[0107] In this formula, for the jth th samples, TPR j This is a real example, TNR j j is a true negative example.
[0108] Kappa is an indicator used to evaluate segmentation accuracy in image segmentation. It not only takes into account the accuracy of segmentation, but also factors such as random consistency and category imbalance, thus providing a more comprehensive performance evaluation method than traditional accuracy.
[0109]
[0110] In this formula, P o (j) is the relative observed agreement between raters, and Pe (j) is the jth th The hypothesized probability that the samples are consistent by chance.
[0111] To verify the effectiveness of our proposed method, we conducted a comparative analysis of 13 different model methods in a uniformly controlled experimental setting, including UNet, DeepLab, ICNet, etc. We give the specific data of the model performance in Table 1. For data visualization and statistical analysis, Figure 7 In , we integrate the actual segmentation contours of the lumen and vessel regions with the predicted segmentation contours of each model onto the actual IVUS images.
[0112]
[0113] Table 1 Segmentation performance of each model for plaque and vascular lumen area
[0114] The data in Table 1 show that for the segmentation results of the plaque part, our method is 5.1% higher than the best DUNet among other models on Dice; for the segmentation results of the vascular lumen part, our method is 1.4% higher than the best DeepLab among other models on Dice. Some traditional models with symmetrical encoding and decoding structures lack the disadvantages of multi-scale feature fusion and context loss. Our network realizes spatial perception projection and spatial feature re-encoding through upper and lower spatial encoding modules, strengthens the information reshaping ability of the decoding process, and calls the multi-scale features of the whole process through the adaptive fusion module to realize the interaction of global information and deep structural information; some networks perform poorly on small data such as medical images, so our network uses a priori encoder to realize feature migration and adaptation, thereby strengthening feature extraction capabilities; some networks use rich attention mechanisms to capture more extensive contextual information, but their performance decreases when processing scenes with complex textures or small objects. The hierarchical information enhancement module we proposed focuses on the hierarchical structure of the image through spatial resampling and re-encoding strategies to improve the understanding of complex textures. The superior performance in Kappa and other data shows that the multi-scale prior coordination framework has high accuracy and consistency, and can effectively identify segmentation boundaries and correctly segment the lumen and plaque areas when dealing with unbalanced data sets.
[0115] Through comprehensive data analysis, the accuracy of the segmentation model of the plaque area is significantly lower than that of the segmentation model of the vascular lumen. Plaques are composed of heterogeneous components such as lipids, cholesterol, calcification, and fibrous tissue, and show rich reflective characteristics after onset. The acoustic shadowing and scattering effects of plaques in the blood can make the imaging of these areas more complicated. Therefore, in IVUS image segmentation technology, it is a major challenge and difficulty to achieve accurate segmentation of plaque areas. The lumen area mainly contains blood, which is composed of red blood cells, white blood cells, platelets, and plasma. Its structural complexity is relatively low and its contours are clearer, so it is necessary to learn global and local fine-grained features more deeply. Improving the segmentation accuracy of the lumen area can further improve the accuracy of plaque area segmentation. Therefore, lumen segmentation is the focus of IVUS image segmentation technology.
[0116] To verify the key contributions of various components in our method to enhance segmentation performance, we conducted a series of ablation studies, as shown in Table 2. The experiments include variable control experiments on the prior encoder (a), calibration module (b), hierarchical information enhancement module (c), adaptive fusion and upper and lower spatial encoding modules (d).
[0117]
[0118] Table 2 Segmentation performance of the framework after removing each module
[0119] The data shown in Table 2 show that the overall function of the model is the synergistic result of the collaboration of these modules. Ignoring any module will significantly reduce the segmentation ability of the model. After removing the prior encoder, we found that the segmentation performance dropped significantly due to the lack of prior features. Relying solely on the limited labeled IVUS image dataset, the framework cannot recognize the complex vascular fine-grained structure in IVUS images. Removing the prior encoder leads to a 6% reduction in Dice in the plaque area and a 1.7% reduction in Dice in the lumen area. This proves that the preliminary features of IVUS images can be learned through the reconstruction task of unlabeled images under self-supervised learning. These preliminary features can be effectively applied to our segmentation task, while improving the segmentation performance of the model and reducing the dependence on labeled data. Replace the original calibration module with the traditional U-Net encoder structure. After replacing the calibration module, the Dice in the plaque area dropped by 4.2%, and the Dice in the lumen area dropped by 0.9%. It can be seen that without the matching effect of the calibration module on the features derived from the prior encoder, the features obtained by the model from the large sample image reconstruction task cannot be well applied to the subsequent image segmentation task.
[0120] After the framework removed the hierarchical information enhancement module, the segmentation Dice for the plaque area decreased by 2.6%, and for the vascular cavity area, the segmentation Dice decreased by 1.0%. Without the enhancement of the latent subspace features, the network loses shallow semantic features and contextual information during the encoding process, and the understanding of local information decreases. At the same time, high-level semantic information is no longer adaptively adjusted through the channel attention and spatial attention modules. The feature map contains a large number of features that are irrelevant to the fine-grained structure of the blood vessel, and the framework's ability to parse complex and subtle structures such as the fine structure of the blood vessel decreases.
[0121] Without adaptive fusion and upper and lower spatial encoding modules, the framework can only rely on traditional upsampling and skip connections for decoding. In the decoding process, only the interpolation of surrounding pixels cannot accurately restore the detail information, and blurred edges and insufficient details often occur. After removing the adaptive fusion and upper and lower spatial encoding modules, the segmentation Dice of plaque and lumen area decreased by 4.3% and 1.4%, respectively. It can be seen that the deeper integration of local and global contextual cues can significantly improve the sensitivity of the segmentation model to subtle changes in IVUS images. The adaptive fusion module is a fusion process of multi-scale feature maps. The traditional encoding-decoding structure only uses the features obtained by decoding and ignores the rich features of the encoding process. The adaptive encoding module combines features of different resolutions from the encoding and decoding processes to improve the accuracy of segmentation.
[0122] Finally, in order to enhance the practical value of the research in clinical applications, this study used a multi-scale prior coordination framework to reconstruct IVUS images in three dimensions. The three-dimensional model generated by this technology based on clinical needs can provide important support for doctors throughout the treatment process, including preoperative diagnosis, intraoperative decision-making, and postoperative effect monitoring, and has significant clinical significance.
[0123] In the specific practice of 3D reconstruction, we selected three sets of IVUS image sequences for analysis, which contained 110, 215, and 134 images respectively. These three sets of sequences were named sequence a, sequence b, and sequence c. Fig. 9 The three-dimensional structural profiles composed of the original images of these sequences and the corresponding three-dimensional structural reconstruction of blood vessels are displayed. Through these profiles, we can clearly observe the outer contour, shape and size of the corresponding part of the blood vessels, and show the specific situation of the blood vessel cross section in detail. This process not only helps doctors and researchers to deeply understand the pathological conditions of blood vessels from multiple angles and levels, but also through the precise segmentation of the sequence images and subsequent three-dimensional reconstruction, doctors can obtain a panoramic view of the internal structure of the blood vessels.
Claims
1. An intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism, characterized in that: Collect IVUS datasets of various cardiovascular diseases; The IVUS dataset is divided into training set and test set; Constructing a multi-scale prior coordination framework model, the framework model specifically includes: a prior correlation paradigm, a hierarchical information enhancement module, an adaptive fusion and an upper and lower layer spatial coding module; Preprocess and enhance the training set; Input the labeled training set to the multi-scale prior coordination frame model for IVUS image segmentation training; The cross entropy loss function is used to solve the problems of segmentation accuracy and category imbalance; The segmentation results are converted into a three-dimensional model for vascular reconstruction and a vascular cross-section diagram is generated.
2. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 1, characterized in that: The IVUS dataset is a collection of 3,500 labeled frames and an additional 10,000 unlabeled frames. The dataset ensures its diversity by including training and test data from different patient groups; and the training set and test set are professionally annotated and evaluated.
3. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 1, characterized in that: The training set was classified as follows: the first type of marked frames were IVUS images with a blood vessel radius greater than the set threshold I; the second type of marked frames were IVUS images with a large shadow area greater than the set threshold II due to the calcification area; the third type of marked frames were IVUS images with a shadow area behind the calcification area less than the set threshold III; the fourth type of marked frames were IVUS images with other side branch vascular structures; the fifth type of marked frames were IVUS images without the other four types of obvious features.
4. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 1, characterized in that: The a priori correlation paradigm includes a priori encoder and a calibration module. The a priori encoder relies on trained weights to perform accurate feature extraction, and the calibration module is used for multi-scale feature map generation.
5. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 4, characterized in that: The mask autoencoder is used as the prior encoder; the pyramid visual transformer is used as the calibration module.
6. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 4, characterized in that: The IVUS image with labels is input into the multi-scale prior coordination framework model and encoded through the prior correlation paradigm. The specific process is as follows: Input IVUS image X in The pre-trained prior encoder is decomposed into multiple image blocks; the flattened image blocks are mapped to a linear space to generate a feature sequence; the linearly embedded feature sequence is added to the position code and put into the Transformer layer with a layer number of d1, and the feature is extracted through the self-attention mechanism to obtain the global feature as the final output of the prior encoder. The global feature is reorganized into the prior feature map e0 and then input into the calibration module; The calibration module has a total of 4 encoding stages, and the encoding outputs of each encoding stage are e2, e3, e4 and e5 respectively; the prior feature map e0 is convolved, batch normalized and activated to obtain the alignment map e1, and the alignment map e1 is reduced; then the prior feature map e0 is placed in a pyramid structure, passed through a Transformer module with l1 layers, and the output shape is adjusted to obtain the feature map e2; by repeating the encoding strategy of the first stage in the calibration module, using the feature map from the adjacent previous stage as input, a series of feature maps are generated in sequence: e3, e4 and e5, among which the feature map e5 is a high-level feature map; the multi-scale feature maps {e1, e2, e3, e4, e5} are applied to downstream segmentation tasks.
7. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 4, characterized in that: The hierarchical information enhancement module uses a channel attention module and a spatial attention module to focus on the relevant features of the input image; The working principle of the channel attention mechanism is to use global average pooling and global maximum pooling to extract channel-level statistical features. The feature maps obtained by the two pooling are processed by multi-layer perceptrons with shared weights, and then added and activated by the sigmoid function to generate a channel attention map. This channel attention map is multiplied channel by channel with the feature map output by the last layer of the prior correlation paradigm to enhance the features of important channels. The spatial attention mechanism applies global average pooling and global maximum pooling to the feature map along the channel axis to generate two two-dimensional feature maps, stack the two two-dimensional feature maps on the channel axis, and then generate a spatial attention map through a convolutional layer. The output is processed by the sigmoid activation function to obtain the final spatial attention map.
8. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 6, characterized in that: The hierarchical information enhancement module is implemented as follows: the high-level feature map e5 is convolved, normalized, and activated, and upsampled to the same level as the input IVUS image X in Size matching, get the latent space feature map E pre , use convolution kernel W2 for channel mapping, and use global average pooling to pre Compress and finally extract the channel direction information v pre Without changing the size, the high-level feature map e5 is obtained by channel attention and spatial attention. enhance ; Use convolution kernel W3 to transform channel direction information v pre Re-encode the re-encoded channel direction information v pre Mapped to v enhance The same dimension; then the re-encoded channel direction information v pre Activate and normalize the projection vector α through the sigmoid gating function σ pre ; The projection vector α pre With v enhance Perform channel-level multiplication according to the projection vector α pre The directional attributes contained in it selectively strengthen or weaken the features; the final stage uses the convolution kernel W4 to α pre With v enhance The multiplication result of re-encodes the output, and combines the re-encoded result with the high-level feature map e5 residual to obtain the feature map e HCS .
9. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 6, characterized in that: The adaptive fusion and upper and lower spatial coding module is composed of an upper and lower spatial coding layer and an adaptive fusion layer. The upper and lower spatial coding layers are designed to extract and re-encode spatial features from context-rich information, and use associated scene features and content features to promote a tighter integration of local and global information; and perform cross-channel interaction on associated scene features, project features to various directions through complex spatial coding strategies, and calculate the correlation between these projections, thereby enhancing feature representation; The adaptive fusion layer focuses on morphologically fusing the fused features and the decoded features using deformable convolution and advanced pooling strategies. The deformable convolution layer in the adaptive fusion layer is good at adapting to the complex radial pattern characteristics of IVUS images, where the deformable convolution dynamically adjusts the position of each sampling point in the convolution kernel by introducing an additional offset, so that the convolution kernel can be freely deformed according to the needs of the image content.
10. The intravascular ultrasound image segmentation and reconstruction method based on a multi-scale prior coordination mechanism according to claim 6, characterized in that: The specific implementation of the adaptive fusion and upper and lower layer spatial coding modules is as follows: The feature map e HCS Upsample to get d'4; apply global average pooling to d'4 to compress it and embed it to produce D'4 and are sent to the upper and lower spatial coding layers, where d'4 and After re-encoding to optimize the spatial characteristics of feature representation; d'4 is spatially encoded twice to obtain the associated scene features and content features Generated by compression After convolution and activation operations, a feature map focusing on spatial attributes is finally formed. Calculate the optimal k value to adjust The feature dimension of the resized result is applied with one-dimensional convolution to reduce the number of channels, thereby promoting local cross-channel interactions and obtaining the final output calculate and The similarity between relation and Perform element-by-element multiplication to refine the features and finally derive the refined feature map d″4; The refined feature map d″4 is fused with the feature map e4 of the same size in the encoder through a skip connection; the result of the skip connection is channel compressed to obtain the final decoded feature d4; Through the same decoding operation, the refined feature maps d″3, d″2 and d″1 are obtained, which are fused with the feature maps e3, e2 and e1 of the same size in the encoder through jump connections respectively; the results of the jump connection are channel compressed to obtain d3, d2 and d1, where d1 is the final decoding feature; and the decoding feature maps {d1, d2, d3, d4} are obtained at the same time; The multi-scale feature maps {e1, e2, e3, e4} obtained by the encoder are subjected to multi-scale feature fusion. The specific operations are as follows: {e2, e3, e4} are upsampled to the same size and number of channels as e1, and all upsampling results are merged with e1 to obtain the fused feature x1; the fused features x1 and d1 are passed through the adaptive fusion layer, and the fused feature x1 is extracted through deformable convolution to obtain x'1 and averaged and max-pooled, the two results after average and max-pooling are dot-producted, and softmax is used to calculate the first attention map attention1, and the first attention map attention1 is combined with d1 Multiply, and generate out1 by reshaping the merged feature map; at the same time, d1 will be re-encoded as d'1, and the vertical feature Pool(H,1) and the horizontal feature Pool(1,W) are separated through pooling operations in a specific direction. The features in the two orthogonal directions are multiplied to obtain the position-related attention map attention2, and attention2 is multiplied with the fused feature x1 to obtain out2; finally, d1, x1, out1 and out2 are combined to obtain the result feat that fuses the multi-scale feature map; feat is upsampled to restore it to the original input size and applied to subsequent segmentation tasks.
Citation Information
Patent Citations
Intravascular ultrasound image three-dimensional reconstruction method and system based on deep learning
CN111063018A
Blood vessel lumen automatic segmentation method based on deep learning
CN111627017A
Semi-supervised segmentation method based on annotation and prediction consistency
CN117036285A
Carotid plaque segmentation method based on double-branch multi-scale cross fusion network
CN117058170A
Cited By
Method and system for constructing and training remote sensing image reconstruction model
CN119130801A
Needle-knife mirror operation control system
CN119174624A
CBCT mandibular neural tube refined segmentation method based on multi-view feature fusion
CN119399117A
Method for determining exact boundary of outer elastic membrane of blood vessel lacuna in IVUS image
CN119540267A
SAM-based image segmentation method capable of prompting multiple organs
CN119559391A
