An image restoration method for saturation artifacts in optical coherence tomography images
By constructing an OCT saturation artifact data set and using a neural network to train a correction model, the problem of signal saturation artifacts in the OCT system is solved, efficient image restoration is achieved, hardware costs are reduced, and image details are maintained with strong generalization ability.
Patent Information
- Application Number
- CN202210694957.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-20
AI Technical Summary
The artifact problem caused by signal saturation in the optical coherence tomography (OCT) system seriously affects the imaging quality, especially in the imaging of samples with complex structures and large surface undulations. The removal effect of existing hardware and digital processing methods is limited and is not effective. The loss of image details is large.
An OCT saturation artifact image data set is constructed and a neural network is used to train a correction model. The enhanced generative adversarial neural network is used to remove saturation artifacts in OCT images and achieve image restoration.
No hardware changes are required to reduce costs. The method based on deep learning has good effects on removing saturation artifacts, excellent image restoration effects, low requirements on sample types, and strong generalization ability.
Smart Images

Figure CN114943786B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of image processing and imaging, and in particular relates to an image restoration method for saturation artifacts of optical coherence tomography images. Background Art
[0002] Optical coherence tomography (OCT) is a technique that uses the backscattered light from the sample surface or interior to form an image. For spectral domain OCT systems, due to the dynamic range limitations of the photodetector CMOS or CCD, signal saturation will occur at the sample's strong reflection point or interface, resulting in saturation artifacts in the OCT image obtained by inverse Fourier transform. This saturation artifact will introduce false signals on the one hand, and may mask the real signal on the other. Saturation artifacts seriously affect the imaging effect, especially in the imaging of biological tissues with complex structures and samples with large surface fluctuations.
[0003] Removing saturation artifacts is of great significance for improving the quality of OCT imaging. The typical hardware method is to remove saturation artifacts by reconstructing saturated signals based on power splitting. For example, in 2014, Wu et al. proposed a "parallel" acquisition method, replacing the single-line array CCD in spectral domain OCT with a dual-line array CCD, and using the unsaturated signal detected by the B-line array CCD to compensate for the saturated signal detected by the A-line array CCD (Wu CT, Tsai MT, Lee CK. Two-level optical coherencetomography scheme for suppressing spectral saturation artifacts. Sensors. 2014, 14 (8): 13548-13555.). However, this signal compensation has limited effect on removing saturation artifacts and is of poor practicality.
[0004] With the improvement of computing power, some methods based on digital image processing have also been used to remove saturation artifacts from OCT images. In 2012, Huang et al. used linear interpolation of adjacent A-scans to reduce saturation artifacts, but it is not suitable for densely distributed artifacts (Huang Y, Kang J U. Real-time reference A-line subtraction and saturation artifact removal using graphics processing unit for high-frame-rate Fourier-domain optical coherence tomography video imaging. Optical Engineering. 2012, 51 (7): 073203.). In 2021, Liu et al. proposed a dictionary-based sparse representation method for OCT saturation artifact image restoration (Liu H, Cao S, Ling Y, Gan Y. Inpainting for saturation artifacts in optical coherence tomography using dictionary-based sparse representation. IEEE photonics journal. 2021, 13 (2): 3900110.). However, these methods will smooth the image, resulting in loss of image details, and the dataset construction has high requirements on the number of sample types. Summary of the invention
[0005] In order to overcome the above problems, the present invention provides an image restoration method for saturation artifacts of optical coherence tomography images.
[0006] The present invention first constructs an OCT saturation artifact image dataset, which consists of OCT saturation artifact images and normal image pairs; then constructs an OCT image saturation artifact correction model, and uses the OCT saturation artifact image dataset to train a neural network; finally, based on the constructed OCT image saturation artifact correction model, the saturation artifacts in the OCT image are removed to achieve image restoration.
[0007] To achieve the above objectives, the present invention adopts the following technical solutions:
[0008] An image restoration method for optical coherence tomography image saturation artifacts includes three steps:
[0009] Step 1: Construct an optical coherence tomography (OCT) saturation artifact image dataset:
[0010] The OCT saturation artifact image dataset consists of OCT saturation artifact images and normal image pairs, which can be obtained by two methods: experimental acquisition and digital simulation;
[0011] The method for experimental acquisition of an OCT saturation artifact image dataset is as follows: first, an unsaturated two-dimensional OCT image of a sample is acquired, and the unsaturated two-dimensional OCT image is a normal image; the interference signal intensity is adjusted at the same position of the sample, so that the spectral signal acquired by the photodetector CMOS or CCD is saturated, and after inverse Fourier transformation, a two-dimensional OCT saturation artifact image is obtained, forming an OCT saturation artifact image and a normal image pair; a pair of normal images and saturation artifact image pairs are acquired at M different positions of the sample, and a total of M pairs of normal images and saturation artifact image pairs are acquired to construct a saturation artifact image dataset, and the M value is a natural number greater than or equal to 20;
[0012] The method for adjusting the intensity of the interference signal includes: adjusting the output intensity of the OCT light source, the size of the reference arm aperture, or moving the height of the sample stage to change the focus position of the incident light beam in the sample;
[0013] A method for obtaining an OCT saturation artifact image data set by digital simulation: first, an unsaturated two-dimensional OCT image of a sample is collected, and the unsaturated two-dimensional OCT image is a normal image; a threshold is introduced into each A-line spectral signal corresponding to the normal image, and after inverse Fourier transformation, a simulated two-dimensional OCT saturation artifact image is obtained, forming an OCT saturation artifact image and a normal image pair; one normal image is collected at each of N different positions of the sample, and a total of N normal images are collected, and corresponding N simulated two-dimensional OCT saturation artifact images are obtained by digital simulation, and a saturated artifact image data set consisting of N pairs of normal images and simulated saturation artifact image pairs is constructed, and the N value is a natural number greater than or equal to 20;
[0014] The method of introducing the threshold value is as follows: for the spectral signal corresponding to each A-line of the normal image, a threshold value h is set, and the spectral signal values greater than or equal to the threshold value h are uniformly assigned a value of h.
[0015] The method for obtaining the threshold h is: detecting the spectral signal corresponding to the normal image, calculating the mean value I_mean and the maximum value I_max of the spectral signal, and selecting the threshold h between I_mean and I_max.
[0016] Step 2: Construct an OCT image saturation artifact correction model;
[0017] The OCT image saturation artifact dataset was used to train the neural network and construct the OCT image saturation artifact correction model.
[0018] Step 3: Implement OCT image restoration based on the constructed OCT image saturation artifact correction model;
[0019] The OCT saturation artifact image is input into the constructed OCT image saturation artifact correction model to obtain the OCT image with saturation artifacts removed, thus realizing OCT image restoration.
[0020] Beneficial effects of the present invention:
[0021] 1. The present invention uses a digital method to repair OCT saturation artifact images without any modification of mechanical hardware devices, which can reduce the hardware cost of system development;
[0022] 2. The present invention constructs a data set based on the mechanism of saturation artifacts in OCT images, and uses deep learning methods to remove saturation artifacts in OCT images, with good image restoration effects;
[0023] 3. The implementation of the present invention has low requirements on the types and number of samples for constructing a data set and has strong generalization ability. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flow chart of the image restoration method of optical coherence tomography image saturation artifacts provided by the present invention;
[0025] Figure 2 It is a flow chart of constructing an OCT saturation artifact image data set obtained by the digital simulation method provided by the present invention;
[0026] Figure 3 It is a schematic diagram of the generator structure of the present invention;
[0027] Figure 4 Schematic diagram of the residual dense connection block structure in the generator of the present invention;
[0028] Figure 5 Schematic diagram of the discriminator structure of the present invention;
[0029] Figure 6 It is the zebrafish OCT saturation artifact image restoration result achieved by the present invention; wherein (a) is the zebrafish dorsal OCT saturation artifact image collected by the present invention, and (b) is the artifact-free OCT image after restoration achieved by the present invention.
[0030] Figure 7 It is a flow chart of constructing an OCT saturation artifact image data set obtained by the experimental acquisition method provided by the present invention;
[0031] Figure 8 is a schematic diagram of OCT image acquisition provided by the present invention;
[0032] Fig. 9It is the restoration result of the OCT saturated artifact image realized by the present invention; among which (a) is the OCT saturated artifact image of zebrafish scales collected by the present invention, and (b) is the artifact-free OCT image after restoration realized by the present invention. Detailed implementation manners
[0033] The present invention will be further clarified below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and not to limit the scope of the present invention. After reading the present invention, various equivalent modifications made by those skilled in the art fall within the scope defined by the appended claims of this application.
[0034] Embodiment 1
[0035] An image restoration method for optical coherence tomography image saturation artifacts, the method flow is as shown in the attached Figure 1 and includes:
[0036] Step 1: Construct an OCT saturated artifact image dataset:
[0037] In this embodiment, an OCT saturated artifact image dataset is obtained by digital simulation, as shown in the attached Figure 2 ;
[0038] The specific implementation method is as follows:
[0039] First, collect an unsaturated two-dimensional OCT image of a sample, that is, a normal image. Introduce a threshold into each A-line spectral signal corresponding to the normal image. After inverse Fourier transform, obtain a simulated two-dimensional OCT saturated artifact image; collect N normal images at N different positions of the sample, and digitally simulate to obtain the corresponding N simulated two-dimensional OCT saturated artifact images, and construct an N-pair dataset of normal images and simulated saturated artifact images, where the value of N is a natural number greater than or equal to 20.
[0040] The method of introducing the threshold is: for each A-line corresponding spectral signal of the normal image, set a threshold h, and uniformly assign the spectral signal values greater than or equal to the threshold h to h.
[0041] The method for obtaining the threshold h is: detect the spectral signal corresponding to the normal image, calculate the mean value I_mean and the maximum value I_max of the spectral signal, and set h as the threshold for each A-line spectral signal; among them, under the condition of I_mean < h < I_max, in this embodiment, the value of h is selected between 1.2×I_mean and 1.5×I_mean. The smaller the value of h, the denser the artifacts in the saturated artifact image.
[0042] In this embodiment, an OCT saturated artifact image dataset of a phantom sample made of AB silicone is obtained by a digital simulation method, and the dataset contains 25 pairs of OCT saturated artifact images and normal image pairs. Among them, the OCT image size is 1000×2048 (pixel×pixel), corresponding to a field of view of 3mm×2.3mm. Each OCT image is cropped into a small image of 64×64 (pixel×pixel), and the black background image with too low brightness is removed. The dataset is expanded by mirror flipping to generate 11525 pairs of 64×64 (pixel×pixel) OCT saturated artifact images and normal image pairs. Among them, 95% of the images constitute the training dataset, and the remaining images constitute the verification dataset.
[0043] Step 2: Construct an OCT image saturation artifact correction model;
[0044] The specific implementation methods are as follows:
[0045] The OCT image saturation artifact dataset was used to train the neural network and construct the OCT image saturation artifact correction model.
[0046] This embodiment uses an enhanced generative adversarial neural network to establish an OCT image saturation artifact correction model. The enhanced generative adversarial neural network consists of a generator and a discriminator. The OCT saturation artifact image is input into the generator of the enhanced generative adversarial neural network to obtain a generated image; the generated image and the normal OCT image are input into the discriminator, and the discriminator is used to distinguish the generated image from the normal OCT image. The two networks compete with each other to update the weight parameters, and the training is repeated until the enhanced generative adversarial neural network converges, that is, the discriminator cannot distinguish the result of the generator from the normal OCT image.
[0047] The generator structure in the enhanced generative adversarial neural network is as shown in the attached Figure 3 As shown, it includes a convolution module, a feature extraction module and a feature reconstruction module;
[0048] The convolution module includes a convolution layer Conv;
[0049] The feature extraction module includes 23 residual densely connected blocks RRDBBlock. The structure of each residual densely connected block is as shown in the attached figure. Figure 4 As shown in the figure, it is composed of 3 cascaded densely connected blocks with residual edges; each densely connected block contains 5 convolutional layers and 4 LReLU layers. The convolutional layers and LReLU layers are densely connected, and skip connections are added between the feature maps of each layer;
[0050] The feature reconstruction module reconstructs the learned features into an artifact-free image through three convolutional layers Conv and an upsampling module Upsampling.
[0051] The discriminator structure in the enhanced generative adversarial neural network is shown in the attached Figure 5 As shown in the figure, it contains 5 convolutional layers Conv with 3×3 filter kernels and 5 convolutional layers Conv with 4×4 filter kernels; the activation function between layers is LeakyReLU; except for the first layer, there is a batch normalization layer BN between each convolutional layer and the LeakyReLU layer. After feature extraction through the convolutional layer, the output value is obtained after two linear layers and a LeakyReLU layer.
[0052] The convolution kernel size (k), number (n), and step size (s) corresponding to each convolution layer in the enhanced generative adversarial neural network have been Figure 3 , Figure 4 and Figure 5 Marked in.
[0053] The network parameter settings refer to the original network parameters, using the Adam optimizer, and the learning rate is initialized to 10 -4 The model was trained for 150,000 iterations with a batch size of 4. Both training and testing were performed using Pytorch software on a server with 64GB RAM and an NVIDIA TITAN RTX GPU.
[0054] Step 3: Implement OCT image restoration based on the OCT image saturation artifact correction model;
[0055] The OCT saturation artifact image is input into the OCT image saturation artifact correction model constructed in step 2, and the model outputs an OCT image with saturation artifacts removed.
[0056] As attached Figure 6 As shown, the OCT saturation artifact image restoration result achieved by the present invention is given. Figure 6 (a) is an OCT saturation artifact image of the zebrafish spine collected by the present invention, Figure 6 (b) is an artifact-free OCT image output by the OCT image saturation artifact correction model established by the present invention. It can be seen that the short vertical line saturation artifacts are removed from the image output by the present invention. This shows that the method of the present invention can repair artifacts in saturated images with high visual quality and has good generalization ability.
[0057] Example 2
[0058] An image restoration method for optical coherence tomography image saturation artifacts, the method flow is as shown in the attached Figure 1 As shown, including:
[0059] Step 1: Construct an OCT saturation artifact image dataset:
[0060] In this embodiment, an OCT saturation artifact image dataset is obtained by an experimental acquisition method, as shown in the attached Figure 7 As shown;
[0061] The specific implementation methods are as follows:
[0062] First, a frame of unsaturated two-dimensional OCT image of the sample is acquired, that is, a normal image; the acquisition system is as shown in the attached Figure 8 As shown, the system includes a light source 101, a reference arm aperture 102, a reference mirror 103, a beam splitter 104, a sample stage 105, and a detector 106. The focal position of the incident light beam in the sample can be changed by adjusting the output intensity of the OCT light source, the size of the reference arm aperture, or by moving the sample stage height axially, thereby changing the intensity of the interference signal. This embodiment adopts a method of adjusting the size of the reference arm aperture to increase the intensity of the interference signal at the same position of the sample, so that the spectral signal collected by the photodetector CMOS or CCD becomes saturated, and after inverse Fourier transformation, a two-dimensional OCT saturated artifact image is obtained, forming an OCT saturated artifact image and a normal image pair; according to the above method, a pair of normal images and saturated artifact image pairs are collected at M different positions of the sample, and a saturated artifact image data set is constructed, and the M value is a natural number greater than or equal to 20;
[0063] In this embodiment, an OCT saturated artifact image dataset of a phantom sample made of AB silicone was obtained by an experimental acquisition method, and the dataset contained 25 OCT saturated artifact images and normal image pairs. Among them, the OCT image size is 1000×2048 (pixel×pixel), corresponding to a field of view of 3mm×2.3mm. Each OCT image is cropped into a small image of 64×64 (pixel×pixel), the black background image with too low brightness is removed, and the dataset is expanded by mirror flipping to generate 11391 pairs of 64×64 (pixel×pixel) OCT saturated artifact images and normal image pairs. Among them, 95% of the images constitute the training dataset, and the remaining images constitute the verification dataset.
[0064] Step 2: Construct an OCT image saturation artifact correction model;
[0065] The calibration model construction method is the same as in Example 1.
[0066] Step 3: Implement OCT image restoration based on the OCT image saturation artifact correction model;
[0067] The OCT saturation artifact image is input into the OCT image saturation artifact correction model constructed in step 2, and the model outputs an OCT image with saturation artifacts removed.
[0068] As attached Fig. 9 As shown, the OCT saturation artifact image restoration result achieved by the present invention is given. Fig. 9(a) is an OCT saturation artifact image of the zebrafish spine collected by the present invention, Fig. 9 (b) is an artifact-free OCT image output by the OCT image saturation artifact correction model established by the present invention. It can be seen that the short vertical line saturation artifacts are removed from the image output by the present invention. This shows that the method of the present invention can repair artifacts in saturated images with high visual quality and has good generalization ability.
[0069] When the present invention is implemented, firstly, an OCT saturation artifact image and a normal image pair are obtained by experimental acquisition or digital simulation method, and an OCT saturation artifact image data set is constructed; then an OCT image saturation artifact correction model is constructed, and a neural network is trained using the OCT saturation artifact image data set; finally, the OCT saturation artifact image is input into the constructed OCT image saturation artifact correction model to obtain an OCT image with saturation artifact removed. The present invention can realize image restoration of saturation artifacts of optical coherence tomography images without modifying the hardware system, with fast speed and strong generalization ability.
[0070] The above embodiments are for illustrating the technical concept and features of the present invention, and their purpose is to enable those familiar with this technology to understand the contents of the present invention and implement them. They cannot be used to limit the protection scope of the present invention. All equivalent changes or modifications made according to the essence of the present invention should be included in the protection scope of the present invention.
Claims
1. An image restoration method for saturation artifacts in optical coherence tomography images. It is characterized in that include: Step 1: Construct an optical coherence tomography (OCT) saturation artifact image dataset: The OCT saturation artifact image dataset consists of an OCT saturation artifact image and a normal image pair; The OCT saturation artifact image data set is obtained by an experimental acquisition method, and the specific method is: firstly, an unsaturated two-dimensional OCT image of a sample is acquired, and the unsaturated two-dimensional OCT image is a normal image; the interference signal intensity is adjusted at the same position of the sample, so that the spectral signal acquired by the photodetector CMOS or CCD is saturated, and after inverse Fourier transformation, a two-dimensional OCT saturation artifact image is obtained, which constitutes an OCT saturation artifact image and a normal image pair; a pair of normal images and saturation artifact image pairs are acquired at M different positions of the sample, and a saturated artifact image data set is constructed, and the M value is a natural number greater than or equal to 20; The method for adjusting the intensity of the interference signal includes: adjusting the output intensity of the OCT light source, the size of the reference arm aperture, or moving the height of the sample stage to change the focus position of the incident light beam in the sample; Step 2: Construct an OCT image saturation artifact correction model; The OCT image saturation artifact dataset was used to train the neural network and construct the OCT image saturation artifact correction model. Step 3: Implement OCT image restoration based on the constructed OCT image saturation artifact correction model; The OCT saturation artifact image is input into the constructed OCT image saturation artifact correction model to obtain the OCT image with saturation artifacts removed, thus realizing OCT image restoration.
2. The method for image restoration of saturation artifacts in optical coherence tomography images according to claim 1, It is characterized in that The OCT saturation artifact image data set is obtained by a digital simulation method. The specific method is: first, an unsaturated two-dimensional OCT image of a sample is acquired, and the unsaturated two-dimensional OCT image is a normal image; a threshold is introduced into each A-line spectral signal corresponding to the normal image, and after inverse Fourier transformation, a simulated two-dimensional OCT saturation artifact image is obtained to form an OCT saturation artifact image and a normal image pair; one normal image is acquired at each of N different positions of the sample, and a total of N normal images are acquired, and corresponding N simulated two-dimensional OCT saturation artifact images are obtained by digital simulation, and a saturated artifact image data set consisting of N pairs of normal images and simulated saturated artifact image pairs is constructed, and the N value is a natural number greater than or equal to 20.
3. The method for image restoration of saturation artifacts in optical coherence tomography images according to claim 2, It is characterized in that The method of introducing the threshold value is as follows: for the spectral signal corresponding to each A-line of the normal image, a threshold value h is set, and the spectral signal values greater than or equal to the threshold value h are uniformly assigned a value of h.
4. The method for image restoration of saturation artifacts in optical coherence tomography images according to claim 3, It is characterized in that The method for obtaining the threshold h is: detecting the spectral signal corresponding to the normal image, calculating the mean value I_mean and the maximum value I_max of the spectral signal, and selecting the threshold h between I_mean and I_max.
Citation Information
Patent Citations
Cataract OCT image restoration method and system based on machine learning
CN112700390A
