OCT imaging super-resolution reconstruction method and system based on deep learning convolutional neural network, and computer storage medium
The OCT imaging super-resolution reconstruction method based on deep learning convolutional neural network solves the problem of insufficient resolution and depth of OCT imaging technology, achieves efficient image reconstruction and equipment simplification, and improves the accuracy of clinical diagnosis.
Patent Information
- Application Number
- CN202410752914.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-27
AI Technical Summary
Existing OCT imaging technology has shortcomings in resolution and imaging depth, and cannot meet the clinical needs for high-precision diagnosis of cardiovascular diseases. At the same time, algorithm models based on deep learning have complex hardware deployment due to excessive parameters, making it difficult to implement real-time applications.
The OCT imaging super-resolution reconstruction method based on deep learning convolutional neural network is used to build a lightweight super-resolution reconstruction model through multi-scale fusion and attention module weighting of high-resolution and low-resolution images to reduce matching Differences influence and enhance contextual information fusion.
It achieves low-resolution to high-resolution reconstruction, improves the resolution of OCT images from 15 μm to 5 μm, generates clearer reconstructed images, simplifies the equipment structure, and makes clinical diagnosis more reliable.
Smart Images

Figure CN118710496A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical coherence tomography, and in particular to a method for super-resolution reconstruction of OCT imaging based on a deep learning convolutional neural network. Background Art
[0002] Optical Coherence Tomography (OCT) is a new optical diagnostic technology developed in recent years. It is a medical imaging method. In recent years, it has been mainly used to diagnose coronary heart disease and has achieved relatively good results in clinical applications. OCT is based on near-infrared light interference imaging technology. It uses an interferometer to receive and record the reflected light of biological tissue components at different depths, and then obtains biological tissue tomographic images through computer system processing. It is a non-contact, high-resolution tomography and biological microscope imaging device. The high resolution and tissue-specific recognition function of intracoronary OCT make it of great clinical significance. Based on the imaging characteristics of OCT, OCT coronary atherosclerotic plaques can be clearly classified, which can be roughly divided into three categories: fibrous plaques, calcified plaques, and lipid plaques. OCT imaging shows fibrous plaques as intimal thickening with uniform bright signals, calcified plaques as intimal thickening with low signals and clear boundaries, and lipid plaques as intimal thickening with low signals and blurred boundaries. OCT can evaluate vulnerable plaques and assess the progression of plaques and the effects of drug treatment. OCT is very useful in optimizing and guiding interventional treatment of coronary heart disease, and is widely used in follow-up after coronary stent implantation.
[0003] When analyzing lesions after OCT imaging, since the analysis is determined by imaging, the clarity of the imaging affects the diagnosis of related lesions. In OCT imaging, the normal coronary artery wall is characterized by a typical three-layer structure, which is composed of the vascular intima, media and adventitia. In OCT images, the internal elastic membrane is defined as the boundary between the arterial intima and media, and the external elastic membrane is defined as the boundary between the arterial media and adventitia. Therefore, the clarity of the imaging and the level of resolution are very important indicators, which affect the subsequent diagnosis and treatment. Therefore, high-definition imaging is extremely important to distinguish the lumen contour and the boundary of the three layers of the membrane, and to obtain clearly layered OCT imaging, otherwise a slight inaccuracy in the information will affect the judgment of clinicians.
[0004] Most commercial IV-OCT is based on swept source optical coherence tomography (SS-OCT), with a high scanning rate (100-200 frames / second) and a spatial resolution of about 10μm. However, this resolution is not enough to describe key features, and cannot analyze plaque progression and risk stratification at the cellular level, and cannot achieve detection and early diagnosis of tissue lesions in narrow cavities. Therefore, how to improve OCT image quality is an urgent problem to be solved.
[0005] From the hardware perspective, super-resolution OCT cannot be effectively used in clinical practice due to its high hardware requirements, expensive and bulky light sources, difficulty in assembling optical fibers and prisms, and low reliability. The introduction of separate optical components such as prisms also limits the further miniaturization of optical fiber probes. In addition, due to the limitation of the penetration ability of light waves themselves, the imaging depth of super-resolution OCT is severely limited, and its imaging depth generally does not exceed 1mm. Therefore, it is impossible to evaluate key information such as vascular wall thickness, lumen area and shape from a holistic perspective, and it cannot meet the clinical needs for comprehensive and high-precision diagnosis of cardiovascular diseases.
[0006] From an algorithmic perspective, medical image super-resolution reconstruction technology based on deep learning is an emerging research topic in recent years. By performing model mapping between low-resolution images and high-resolution images, the resolution of low-resolution images is improved through AI technology without changing the hardware structure.
[0007] However, most deep learning-based algorithm models currently require a lot of data processing hardware due to the large number of parameters. In addition, the necessary heat dissipation equipment makes the equipment more complex, resulting in large equipment when deployed on the hardware side, making it difficult to achieve real-time clinical application. Therefore, how to provide an OCT imaging method that simplifies the calculation process and achieves streamlined equipment has become an urgent problem to be solved. Summary of the invention
[0008] The present invention provides a method for super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network, which is used to solve the problem that the existing algorithm model has too much data processing hardware and is difficult to deploy on the hardware side due to the excessive amount of training parameters.
[0009] In order to achieve the above-mentioned purpose, the technical solution of the present invention provides a method for super-resolution reconstruction of OCT imaging based on a deep learning convolutional neural network, including: aligning the high-resolution images and low-resolution images collected in each frame and performing preprocessing to obtain a training data set; performing multi-scale fusion on the image pairs in the training data set, weighting the multi-scale fusion results, superimposing the multi-scale fusion results with the image pairs, and then outputting them after weighting by an attention module to obtain a training result; performing the above-mentioned training operation on at least three adjacent frame image pairs at the same time, superimposing the three adjacent training results, obtaining a super-resolution reconstruction result of OCT imaging, and completing the construction of a super-resolution reconstruction model of OCT imaging, and inputting a low-resolution image to be resolved into the model to obtain a super-resolution image of the image to be resolved.
[0010] As a preferred embodiment of the above technical solution, it is preferable to perform multi-scale fusion on the image pairs in the training data set, including: extracting features from each of the image pairs to obtain feature maps of the image pairs; convolving the feature maps to obtain the number of channels and grouping them; after grouping, except for the first group of feature maps, each group of features is convolved and connected with the next group of residuals.
[0011] As a preferred embodiment of the above technical solution, preferably, the residual connection includes: after the data result obtained after the convolution operation is output, the data result is also used together with the next set of feature maps as the input of the next set of convolution operations, and so on; after the output results are convoluted and connected, multi-scale fusion is achieved.
[0012] As a preferred embodiment of the above technical solution, preferably, the multi-scale fusion result is superimposed with the image pair and then weighted by an attention module to obtain a training result, including: recording the superposition result as an input feature, and simultaneously inputting the parallel maximum pooling layer and average pooling layer, integrating the output results of the maximum pooling layer and the average pooling layer, and weighting them to obtain a channel weighted feature map; after performing maximum pooling operations and average pooling operations on the channel weighted feature map respectively, the maximum pooling operation result and the average pooling operation result are spliced to obtain a channel space double weighted feature map, and the channel space double weighted feature map is integrated with the elements in the corresponding data set after passing through a feature mixing module to output the training result.
[0013] As a preferred embodiment of the above technical solution, preferably, a channel-weighted feature map is obtained after weighting, including: performing a Share MLP operation on the data results output by the maximum pooling layer and the data results output by the average pooling layer, performing a function operation on the operation results to obtain a feature map, and multiplying the feature map with the input feature to obtain the channel-weighted feature map.
[0014] As a preferred embodiment of the above technical solution, preferably, the maximum pooling operation result and the average pooling operation result are spliced to obtain a channel space double weighted feature map, including splicing the maximum pooling operation result and the average pooling operation result in a tiled manner, convolving the spliced result and obtaining a first data result through an activation function, and multiplying the first data result with the channel weighted feature map to obtain the channel space double weighted feature map.
[0015] As a preferred embodiment of the above technical solution, preferably, the above training operation is performed on at least three adjacent frame image pairs simultaneously, including: pre-processing after pairing the collected previous frame high-resolution image and low-resolution image respectively to obtain a first training data set;
[0016] The collected current frame high-resolution image and low-resolution image are paired and preprocessed to obtain a second training data set;
[0017] The collected high-resolution image and low-resolution image of the next frame are paired and preprocessed to obtain a third training data set;
[0018] At the same time, each image pair in the first training data set, the second training data set, and the third training data set are respectively subjected to multi-scale fusion by the residual network, and then weighted iterations of the channel attention mechanism and the spatial attention mechanism are performed to output the first training result, the second training result, and the third training result.
[0019] As a preferred embodiment of the above technical solution, preferably, a set of 1x1 convolution operations are performed on the first training result, the second training result, and the third training result to reduce the channel to the channel dimension of an image, and obtain a super-resolution image that fuses the front and back frame information.
[0020] The present invention provides a system for super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network that can execute the above method, including: a data set acquisition module: used to align the high-resolution images and low-resolution images collected in each frame and perform preprocessing to obtain a training data set.
[0021] The training module is used to perform multi-scale fusion on the image pairs in the training data set acquired by the data set acquisition module, superimpose the multi-scale fusion results with the image pairs, and then output them after weighting by the attention module to obtain training results.
[0022] When performing the multi-scale fusion, the training module extracts features from each of the image pairs to obtain the feature map of the image pair; after convolving the feature map, the number of channels is obtained and grouped; after grouping, except for the first group of feature maps, each group of features is convolved and then connected with the next group of residuals; wherein the residual connection is to output the data result obtained after the convolution operation, and the data result is also used with the next group of feature maps as the input of the next group of convolution operations, and so on; after convolution connection of each output result, multi-scale fusion is achieved. The training module is also used to perform the above training operation on at least three adjacent frame image pairs at the same time, superimpose the three adjacent training results, obtain the super-resolution reconstruction result of OCT imaging, and the super-resolution reconstruction model of OCT imaging is constructed. After the low-resolution image to be resolved is input into the model, the super-resolution image of the image to be resolved is obtained. The training module is also used to record the superposition result as the input feature, and input it into the parallel maximum pooling layer and average pooling layer at the same time, integrate the output results of the maximum pooling layer and the average pooling layer, and obtain the channel weighted feature map after weighting; after performing the maximum pooling operation and the average pooling operation on the channel weighted feature map respectively, the maximum pooling operation result and the average pooling operation result are spliced to obtain the channel space double weighted feature map, and the channel space double weighted feature map is integrated with the elements in the corresponding data set after the feature mixing module to output the training result; specifically, the channel weighted feature map obtained after weighting includes: sharing the data results output by the maximum pooling layer and the data results output by the average pooling layer An MLP operation is performed, and a function operation is performed on the operation result to obtain a feature map, and the feature map is multiplied by the input feature to obtain the channel weighted feature map; the maximum pooling operation result and the average pooling operation result are spliced in a tiled manner, and the spliced result is convolved and then subjected to an activation function to obtain a first data result, and the first data result is multiplied by the channel weighted feature map to obtain the channel space double weighted feature map. The training module is also used to pre-process the high-resolution image and low-resolution image of the previous frame collected, respectively, after pairing them to obtain a first training data set; the high-resolution image and low-resolution image of the current frame collected are paired and pre-processed to obtain a second training data set; the high-resolution image and low-resolution image of the next frame collected are paired and pre-processed to obtain a third training data set; at the same time, each image pair in the first training data set, the second training data set, and the third training data set are respectively multi-scale fused by the residual network, and then the first training result, the second training result, and the third training result are output after weighted iteration of the channel attention mechanism and the spatial attention mechanism; a set of 1x1 convolution operations are performed on the first training result, the second training result, and the third training result to reduce the channel to the channel dimension of an image, and obtain a super-resolution image of the frame information before and after fusion.
[0023] The present invention also provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned OCT imaging super-resolution reconstruction method based on deep learning convolutional neural network.
[0024] The technical solution of the present invention provides a method for super-resolution reconstruction of OCT imaging based on a deep learning convolutional neural network. The method includes: preprocessing the high-resolution images and low-resolution images collected in the same frame after respectively aligning them to obtain a training data set; performing multi-scale fusion on the image pairs in the training data set, superimposing the multi-scale fusion results with the image pairs, and weighting them through an attention module to obtain a training result; performing the above-mentioned training operation on at least three adjacent frame image pairs at the same time, superimposing the three adjacent training results, and obtaining a super-resolution reconstruction result of OCT imaging.
[0025] The present invention provides a method for super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network, wherein high-resolution images and low-resolution images collected in the same frame are registered and preprocessed to obtain a training data set. The training data set contains several registered image pairs, and after multi-scale fusion of the image pairs, the multi-scale fusion results are superimposed on the image pairs and then weighted by an attention module and output to obtain a training result; after the above training operation is performed on at least three adjacent frame image pairs at the same time, the respective training results are superimposed to obtain a super-resolution reconstruction result of OCT imaging, and a super-resolution reconstruction model of OCT imaging is constructed, and a low-resolution image to be resolved is input into the model to obtain a super-resolution image of the image to be resolved.
[0026] The advantage of the present invention is that it provides a method for constructing a lightweight super-resolution reconstruction model, which realizes reconstruction from low resolution to high resolution. In the model, the relevant impact caused by the matching difference is reduced by utilizing the training method of parallel processing of the previous and next frames and the current frame, and the fusion ability of the network context information is also enhanced. By using multi-scale context information fusion and increasing the lightweight attention of channels and space, better super-resolution is achieved, and clearer reconstructed images are generated. Using lightweight super-resolution to reconstruct OCT images, the resolution of 15μm can be increased to 5μm, and super-resolution can be achieved from the algorithm model, so as to achieve the purpose of higher resolution of OCT images and make clinicians' diagnosis clearer and more reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 A schematic flow chart of a method for super-resolution reconstruction of OCT imaging based on a deep learning convolutional neural network provided by the present invention.
[0029] Figure 2 A detailed process diagram of a method for super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network provided by the present invention Figure 1 .
[0030] Figure 3 A detailed process diagram of a method for super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network provided by the present invention Figure 2 .
[0031] Figure 4 Schematic diagram of the structure of the super-resolution reconstruction network model based on OCT imaging.
[0032] Figure 5 This is a diagram of the overall implementation framework of the super-resolution reconstruction network model provided by the present invention.
[0033] Figure 6 It is the super-resolution result of the low-resolution image of the calcification area based on the super-resolution model provided by the present invention. DETAILED DESCRIPTION
[0034] 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 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.
[0035] Figure 1 A schematic diagram of a flow chart provided for an embodiment of the present invention, such as Figure 1 As shown, including:
[0036] Step 101: Collect a number of high-resolution images and low-resolution images.
[0037] Step 102: The high-resolution images and low-resolution images collected in the same frame are respectively registered and pre-processed to obtain a training data set.
[0038] Among them, the image pairs consisting of high-resolution images and low-resolution images of the same frame are preprocessed, and the corresponding relationship between them constitutes a training data set.
[0039] Step 103: Perform multi-scale fusion on the image pairs in the training data set.
[0040] Specifically, feature extraction is performed on the corresponding relationship between each pair of images to obtain an image pair feature map; after convolution of the feature map, the number of channels is obtained and grouped; after grouping, except for the first group of feature maps that are directly convoluted and output, each subsequent group of features is convolved and connected with the next group of residuals. Specifically, in addition to directly outputting the data result obtained after the convolution operation, this data result is also combined with the next group of feature maps as the input of the next group of convolution operations, and so on; after convolution connection of each output result, the output result is superimposed with the initial input image pair feature map to obtain the multi-scale fusion result of the present invention.
[0041] Step 104: superimpose the multi-scale fusion result and the image pair and perform weighting through an attention module to obtain a training result.
[0042] The superposition result is recorded as the input feature of the input attention module, and the weighted result is simultaneously input into the parallel maximum pooling layer and the average pooling layer. The data result of the maximum pooling layer and the data result output by the average pooling layer are convolved after the Share MLP operation, and the two convolution results are subjected to function operation to obtain a feature map. The feature map is multiplied and weighted by the input feature of the attention module to obtain a channel weighted feature map.
[0043] After performing the maximum pooling operation and the average pooling operation on the channel weighted feature map, the maximum pooling operation result and the average pooling operation result are tiled, and the spliced result is convolved and activated by the activation function to obtain the first data result, which is multiplied by the channel weighted feature map to obtain the channel space double weighted feature map. The channel space double weighted feature map is convolved again and superimposed with the initial input feature and then upsampled to obtain the training result.
[0044] Step 105: Perform the above training operation on at least three adjacent frame image pairs simultaneously, and superimpose the three adjacent training results to obtain the super-resolution reconstruction result of OCT imaging. The three adjacent frames refer to the previous frame, the current frame, and the next frame.
[0045] Specifically, the collected high-resolution image and low-resolution image of the previous frame are paired and preprocessed to obtain a first training data set; the collected high-resolution image and low-resolution image of the current frame are paired and preprocessed to obtain a second training data set; the collected high-resolution image and low-resolution image of the next frame are paired and preprocessed to obtain a third training data set. At the same time, each image pair in the first training data set, the second training data set, and the third training data set is respectively executed in step 103 and step 104, and after multi-scale fusion by the residual network, the first training result, the second training result, and the third training result are output after weighted iteration of the channel attention mechanism and the spatial attention mechanism.
[0046] Step 106: Output the super-resolution image.
[0047] A set of 1x1 convolution operations are performed on the first training result, the second training result, and the third training result to reduce the channel to the channel dimension of an image, and obtain a super-resolution image that fuses the front and back frame information.
[0048] The process of constructing a training model in the present invention is now described in detail in conjunction with the embodiments. Figure 2 and Figure 3 shown.
[0049] Step 201: Collect low-resolution images and high-resolution images.
[0050] Specifically, general OCT equipment is used to collect images of blood vessels at specific locations to form low-resolution images for subsequent training; higher-resolution OCT equipment is used to pull back the blood vessels at the same location from the same starting point to collect high-resolution images for subsequent training, thereby constructing a high-resolution image that matches the low-resolution image at a specific location. Images with poor quality are further eliminated, such as images with excessive noise, poor image clarity, blood flow in the blood vessels that has not been completely drained by contrast agents, and complete lack of external elastic membranes. Among them, the specific location refers to a diseased blood vessel, and the types of diseased blood vessels include but are not limited to calcification, lipid, and fibrous blood vessels.
[0051] Step 202: perform preprocessing after image registration to obtain a training data set.
[0052] The images collected by the low-resolution OCT device and the high-resolution OCT device are matched one by one. During the matching process, the target detection algorithm YOLOv8 is used to locate and identify the guidewires in the current corresponding high-resolution image and low-resolution image respectively. The relative positions of the paired high-resolution and low-resolution images are adjusted according to the positioning information to complete the registration, correct the directional deflection of the image, and ensure the consistency of the low-resolution and high-resolution images as much as possible. This avoids the problem of differences in paired images due to uncontrollable factors during the pairing process, including but not limited to directional deflection and misalignment of the image.
[0053] YOLOv8 in the present invention is one of the latest versions of the target detection algorithm YOLO (You Only Look Once). It is a real-time, end-to-end target detection algorithm that is more efficient and accurate than previous versions. YOLOv8 uses a deep convolutional neural network to achieve target detection and directly predicts the bounding boxes and category probabilities of all targets in the image through a single network forward propagation.
[0054] For the data preprocessing in this step: transform the existing samples to increase the training samples by performing affine transformations such as rotation and displacement of the image, mirror transformation, and randomly cropping a certain proportion of the image, so as to improve the generalization ability of the model, avoid the neural network learning irrelevant features, avoid overfitting, and improve the robustness of the network model, thereby solving the problem of overfitting caused by insufficient training data and the difficulty of applying the trained model.
[0055] Step 203: extract features from the elements in the training set to obtain an element feature framework.
[0056] Specifically, the training elements in the present invention are image pairs consisting of a number of matched high-resolution images and low-resolution images, feature extraction is performed on the image pairs to obtain feature relationships between the high-resolution images and the low-resolution images, and feature extraction is performed on the feature relationships to obtain element feature frameworks. Feature relationships include but are not limited to: texture feature relationships, color feature relationships, and structural feature relationships between different image organizations.
[0057] Step 204: Perform multi-scale fusion on the element feature frame after convolution to obtain a multi-scale fusion result.
[0058] After the element feature frame is processed by the front end, it is convolved by a feature mixing module to obtain the first convolution result. The feature map obtained after the first convolution result is normalized by LN is input into the Res2net network for multi-scale context information fusion operation. Specifically:
[0059] like Figure 4 As shown, for the feature map after the first layer of 1×1 convolution of Res2net, the number of channels is set to n, and n is divided into s groups. The number of channels of each group of features is recorded as w, that is, n=s×w, s is set to 8, and each group of features after the average division is recorded as X i ,in For each group of feature maps X after grouping i Except for the first group, which is not processed, the remaining s-1 groups are subjected to corresponding convolution operations K i (),in Remember Y i is the convolution operation K i () output feature map. Starting from the second group (X2 in the figure), each convolution operation K i (), we convert the output Y of the previous group i-1 With the current group's feature X i Perform residual connection as the latter group K i() input, in this way, the present invention realizes the fusion of multi-scale information. Through the above steps, the multi-scale fusion of the Res2net network is used to fuse the coarse-grained features extracted by the front-end network to solve the multi-scale problem.
[0060] Step 205: Superimpose the multi-scale fusion result and the first convolution result to obtain a superposition result.
[0061] Step 206: compress the spatial dimension of the input feature F to obtain a channel weighted feature map.
[0062] First, the channel dimension is passed through the attention mechanism, the channel dimension does not change, and the spatial dimension is compressed. Specifically, the superposition result obtained in step 205 is normalized, and the normalized result is recorded as the input feature F of step 206. The input feature F is synchronously input into the parallel MaxPool layer and AvgPool layer, so that the input feature F changes from C×H×W to C×1×1. Among them, the maximum pooling layer outputs a data result of one dimension of C×1×1, and the average pooling layer outputs a data result of another dimension of C×1×1.
[0063] The data results of two dimensions C×1×1 are synchronously input into the Share MLP module ( Figure 4 In MLP, this module is used to learn the information of the input channel weighted feature map of each channel data (since the number of channels is 8, the dimension of this channel weighted feature map corresponds to the number of channels of the channel data), and then perform element-by-element addition on the output result to combine the weighted feature maps of each channel. Finally, the addition result is activated by the sigmoid function to obtain a new feature map, which is multiplied by F to obtain a new feature map of the original size but with the channel dimension weighted, namely the channel weighted feature map ( Figure 4 At this point, the attention mechanism for the channel dimension is completed, and the overall formula is as follows:
[0064] M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F))).
[0065] Step 207: Obtain channel and space dual-weighted feature maps.
[0066] The channel weighted feature map obtained in step 206 is subjected to the maximum pooling operation and the average pooling operation respectively. The maximum pooling operation result and the average pooling operation result obtained this time are both 1×H×W feature maps, and these two feature maps are tiled and spliced to obtain a 2×H×W feature map. A convolution operation with a convolution kernel size of 7 is performed on this 2×H×W feature map, and the output is a feature map with a channel number of 1. Finally, after a sigmoid activation function, the final result output is multiplied with the channel weighted feature map to achieve the weighted effect of spatial attention. The overall formula is as follows:
[0067] M s (F) = σ(f 7×7 ([AvgPool(F); MaxPool(F)]))
[0068] Through the operations of step 206 and step 207, the purpose of weighting information using lightweight attention is achieved.
[0069] Step 208: Convolve the spatial double-weighted feature map multiple times, and superimpose the convolution result with the previous feature map.
[0070] Specifically, the data obtained by superimposing the spatial double-weighted feature map obtained in step 207 and the superposition result obtained in step 205 are sequentially input into at least two feature mixing modules for convolution in sequence, and the final convolution result is superimposed on the element feature framework after front-end processing.
[0071] Step 209: Output the training result after upsampling.
[0072] Specifically, the image obtained in step 208 is upsampled to obtain a training result, and the training model is constructed. The training result is the output super-resolution image.
[0073] In summary, the present invention uses the residual network to solve and prevent the gradient vanishing and gradient exploding problems. The principle of the residual block is that the residual network has an additional identity branch compared to the previous ordinary network. It is because of the existence of this branch that when the deep learning network model is back-propagated, the loss can directly transmit the gradient to the previous network through this branch, thereby alleviating the problem of network degradation, such as Figure 3 and Figure 5 shown.
[0074] Now further explain how the present invention performs training, such as Figure 5 As shown:
[0075] Step 301: collect images of three adjacent frames.
[0076] Specifically, high-resolution images and low-resolution images of the s-1th frame, sth frame, and s+1th frame of a specific position are collected and paired, specifically, the s-1th frame pair, sth frame pair, and s+1th frame pair.
[0077] Step 302: The model trains the paired images in parallel and outputs super-resolved images.
[0078] Specifically, the training network constructed based on steps 202-209 is synchronously executed on each image pair obtained in step 301, and the super-resolution images corresponding to the s-1th frame pair, sth frame pair, and s+1th frame pair are output.
[0079] Step 303: Convolve each super-resolved image and output the final result.
[0080] In this step, three consecutive frames of images are trained in parallel in the network. Finally, the processed three frames of images are subjected to a set of 1x1 convolutions to reduce the channel dimension to that of an image. At this time, our image is not a simple super-resolution of an image, but a super-resolution image that integrates the previous and next information. This can reduce the impact caused by the alignment difference between low-resolution and high-resolution images, so that we can obtain a super-resolution image that integrates the previous and next information.
[0081] In this step, the problem is solved that although the image adjustment method is used to match the two OCT images in the step of how to train a frame of image pairs provided in the above embodiment, the difference between the images extracted by the two devices cannot be fundamentally eliminated. Therefore, during training, the two frames before and after plus the middle frame are used to form a group of images for parallel training, such as Figure 5 As shown in the figure, on the one hand, this processing method can further reduce the impact caused by image alignment differences, and on the other hand, it can improve the multi-scale information fusion features of the model, which is more conducive to the training and learning of the model.
[0082] Execution completed Figure 4 and Figure 5 In the process shown, the OCT imaging super-resolution reconstruction model based on deep learning convolutional neural network provided by the present invention is constructed.
[0083] In actual practice, the experimental results of low-resolution images based on the super-resolution model provided by the present invention are as follows: Figure 6As shown, it can be seen that the super-resolution image of the calcification area shown in the figure below can better display the outline, size and other key information of the calcification area, and the image after the model super-resolution is more conducive to clinical diagnosis. In summary, the technical solution of the present invention proposes a super-resolution reconstruction model framework, which can realize low-resolution to super-resolution reconstruction. By processing the previous and next frames of the image in parallel plus the current frame, the impact caused by the matching difference is reduced, the context information is integrated, and the model learns features better. For information of different importance, a lightweight channel space dual attention fusion module is used to achieve information screening. This model uses a smaller parameter scale to achieve better results, and solves the problem that the super-resolution network cannot be deployed due to excessive parameters. The present invention has made improvements on the problem that most current deep learning models do not make full use of context information. A multi-scale context information fusion module is used to solve this problem, and a better super-resolution reconstruction effect is obtained.
[0084] The present invention provides a system for super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network, which can execute the above method, and includes: a data set acquisition module and a training module.
[0085] Dataset acquisition module: used to align the high-resolution images and low-resolution images collected in the same frame and perform preprocessing to obtain the training data set.
[0086] The training module is used to perform multi-scale fusion on the image pairs in the training data set acquired by the data set acquisition module, and then superimpose the multi-scale fusion results with the image pairs and output them after weighting by the attention module to obtain the training results. When performing the multi-scale fusion, the training module extracts features from each of the image pairs to obtain the feature maps of the image pairs; after convolving the feature maps, the number of channels is obtained and grouped; after grouping, except for the first group of feature maps, each group of features is convolved and connected with the next group of residuals; wherein the residual connection is to output the data results obtained after the convolution operation, and the data results are also used as the input of the next group of convolution operations with the next group of feature maps, and so on; after convolution connection of each output result, multi-scale fusion is realized. The training module is also used to perform the above training operation on at least three adjacent frame image pairs at the same time, superimpose the three adjacent training results, obtain the super-resolution reconstruction result of OCT imaging, and the super-resolution reconstruction model of OCT imaging is constructed. After the low-resolution image to be resolved is input into the model, the super-resolution image of the image to be resolved is obtained. The training module is also used to record the superposition result as the input feature, and input it into the parallel maximum pooling layer and average pooling layer at the same time, integrate the output results of the maximum pooling layer and the average pooling layer, and obtain the channel weighted feature map after weighting; after performing the maximum pooling operation and the average pooling operation on the channel weighted feature map respectively, the maximum pooling operation result and the average pooling operation result are spliced to obtain the channel space double weighted feature map, and the channel space double weighted feature map is integrated with the elements in the corresponding data set after the feature mixing module to output the training result; specifically, the channel weighted feature map obtained after weighting includes: sharing the data results output by the maximum pooling layer and the data results output by the average pooling layer An MLP operation is performed, and a function operation is performed on the operation result to obtain a feature map, and the feature map is multiplied by the input feature to obtain the channel weighted feature map; the maximum pooling operation result and the average pooling operation result are spliced in a tiled manner, and the spliced result is convolved and then subjected to an activation function to obtain a first data result, and the first data result is multiplied by the channel weighted feature map to obtain the channel space double weighted feature map.The training module is also used to pre-process the high-resolution image and low-resolution image of the previous frame collected, respectively, after pairing them to obtain a first training data set; the high-resolution image and low-resolution image of the current frame collected are paired and pre-processed to obtain a second training data set; the high-resolution image and low-resolution image of the next frame collected are paired and pre-processed to obtain a third training data set; at the same time, each image pair in the first training data set, the second training data set, and the third training data set are respectively multi-scale fused by the residual network, and then the first training result, the second training result, and the third training result are output after weighted iteration of the channel attention mechanism and the spatial attention mechanism; a set of 1x1 convolution operations are performed on the first training result, the second training result, and the third training result to reduce the channel to the channel dimension of an image, and obtain a super-resolution image of the frame information before and after fusion.
[0087] The present invention also provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned OCT imaging super-resolution reconstruction method based on deep learning convolutional neural network.
[0088] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0089] 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 super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network, It is characterized in that The method comprises: The high-resolution images and low-resolution images collected in the same frame are registered and preprocessed to obtain a training data set; After multi-scale fusion of the image pairs in the training data set, the multi-scale fusion result is superimposed on the image pair and then weighted by an attention module and output to obtain a training result; The above training operation is performed on at least three adjacent frame image pairs at the same time, and the three adjacent training results are superimposed to obtain the super-resolution reconstruction result of OCT imaging. The super-resolution reconstruction model of OCT imaging is completed, and a low-resolution image to be resolved is input into the model to obtain a super-resolution image of the image to be resolved.
2. The method according to claim 1, It is characterized in that The performing multi-scale fusion on the image pairs in the training data set comprises: Performing feature extraction on each of the image pairs respectively to obtain a feature map of the image pair; After convolving the feature map, the number of channels is obtained and grouped; After grouping, except for the first set of feature maps, each set of features is convolved and then connected to the next set of residuals.
3. The method according to claim 2, It is characterized in that The residual connection comprises: After the data result obtained after the convolution operation is output, the data result and the next set of feature maps are also used as inputs for the next set of convolution operations, and so on; After convolutionally connecting each output result, multi-scale fusion is achieved.
4. The method according to claim 1, It is characterized in that The multi-scale fusion result is superimposed on the image pair and then weighted by the attention module and then output to obtain the training result, including: The superposition result is recorded as the input feature, and is input into the parallel maximum pooling layer and the average pooling layer at the same time. After integrating the output results of the maximum pooling layer and the average pooling layer, the channel weighted feature map is obtained after weighting. After performing the maximum pooling operation and the average pooling operation on the channel weighted feature map respectively, the maximum pooling operation result is spliced with the average pooling operation result to obtain a channel space double weighted feature map. The channel space double weighted feature map is integrated with the elements in the corresponding data set after passing through a feature mixing module to output the training result.
5. The method according to claim 4, It is characterized in that The channel-weighted feature map obtained after weighting includes: A Share MLP operation is performed on the data result output by the maximum pooling layer and the data result output by the average pooling layer, a function operation is performed on the operation result to obtain a feature map, and the feature map is multiplied by the input feature to obtain the channel weighted feature map.
6. The method according to claim 4, It is characterized in that The channel space double-weighted feature map is obtained by concatenating the maximum pooling operation result with the average pooling operation result, including: The maximum pooling operation result and the average pooling operation result are spliced in a tiled manner, and the spliced result is convolved and then subjected to an activation function to obtain a first data result, and the first data result is multiplied by the channel weighted feature map to obtain the channel space double weighted feature map.
7. The method according to claim 4, It is characterized in that The step of performing the above training operation on at least three adjacent frame image pairs simultaneously includes: The collected previous frame high-resolution image and low-resolution image are paired and pre-processed to obtain a first training data set; The collected current frame high-resolution image and low-resolution image are paired and preprocessed to obtain a second training data set; The collected high-resolution image and low-resolution image of the next frame are paired and preprocessed to obtain a third training data set; At the same time, each image pair in the first training data set, the second training data set, and the third training data set are respectively subjected to multi-scale fusion by the residual network, and then weighted iterations of the channel attention mechanism and the spatial attention mechanism are performed to output the first training result, the second training result, and the third training result.
8. The method according to claim 7, It is characterized in that A set of 1x1 convolution operations are performed on the first training result, the second training result, and the third training result to reduce the channel to the channel dimension of an image, and obtain a super-resolution image that fuses the front and back frame information.
9. A system capable of performing super-resolution reconstruction of OCT imaging based on deep learning convolutional neural network according to any one of claims 1 to 8, It is characterized in that include: Dataset acquisition module: used to register the high-resolution images and low-resolution images collected in the same frame and perform preprocessing to obtain the training data set; A training module, configured to perform multi-scale fusion on the image pairs in the training data set acquired by the data set acquisition module, and then superimpose the multi-scale fusion results with the image pairs and output them after weighting by an attention module to obtain a training result; The training module extracts features from each of the image pairs when performing the multi-scale fusion to obtain feature maps of the image pairs; after convolving the feature maps, the number of channels is obtained and grouped; after grouping, except for the first group of feature maps, each group of features is convolved and then connected with the next group of residuals; wherein the residual connection is to output the data result obtained after the convolution operation, and the data result is also used as the input of the next group of convolution operations with the next group of feature maps, and so on; after convolution connection of each output result, multi-scale fusion is realized; The training module is also used to perform the above training operation on at least three adjacent frame image pairs at the same time, superimpose the three adjacent training results to obtain the super-resolution reconstruction result of OCT imaging, and the super-resolution reconstruction model of OCT imaging is constructed. After the low-resolution image to be resolved is input into the model, the super-resolution image of the image to be resolved is obtained; The training module is also used to record the superposition result as an input feature, and input it into the parallel maximum pooling layer and average pooling layer at the same time, integrate the output results of the maximum pooling layer and the average pooling layer, and obtain a channel weighted feature map after weighting; after performing the maximum pooling operation and the average pooling operation on the channel weighted feature map respectively, the maximum pooling operation result and the average pooling operation result are spliced to obtain a channel space double weighted feature map, and the channel space double weighted feature map is integrated with the elements in the corresponding data set after the feature mixing module to output the training result; specifically, the channel weighted feature map obtained after weighting includes: sharing the data results output by the maximum pooling layer and the data results output by the average pooling layer MLP operation, performing a function operation on the operation result to obtain a feature map, multiplying the feature map with the input feature to obtain the channel weighted feature map; splicing the maximum pooling operation result and the average pooling operation result in a tiled manner, performing convolution on the spliced result and then passing an activation function to obtain a first data result, multiplying the first data result with the channel weighted feature map to obtain the channel space double weighted feature map; The training module is also used to pre-process the collected previous frame high-resolution image and low-resolution image after pairing them respectively to obtain a first training data set; to pre-process the collected current frame high-resolution image and low-resolution image after pairing them respectively to obtain a second training data set; to pre-process the collected next frame high-resolution image and low-resolution image after pairing them respectively to obtain a third training data set; at the same time, each image pair in the first training data set, the second training data set, and the third training data set is respectively subjected to multi-scale fusion by a residual network, and then the first training result, the second training result, and the third training result are output after weighted iteration by a channel attention mechanism and a spatial attention mechanism; a group of 1x1 convolution operations are performed on the first training result, the second training result, and the third training result to reduce the channel to the channel dimension of an image, and obtain a super-resolution image of the frame information before and after fusion.
10. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the OCT imaging super-resolution reconstruction method based on a deep learning convolutional neural network described in any one of claims 1 to 8 are implemented.
Citation Information
Cited By
OCT image super-resolution reconstruction method, system, product, medium and equipment
CN120031721A
Lung cancer image enhancement method based on generative adversarial network
CN120450982A
Lung cancer image enhancement method based on generative adversarial network
CN120450982B
