Medical image data augmentation method based on phase change
By using phase-changing optical systems or digital image processing methods in medical image processing, through Fourier transform and phase information modulation, the problems of complexity and data requirements of existing medical image data augmentation methods are solved, and rapid, Efficient data augmentation supports the application of deep learning in medical image processing.
Patent Information
- Application Number
- CN202011358385.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-27
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-11-27
AI Technical Summary
Among the existing medical image data augmentation methods, the physical process of the basic image processing method is unclear and the algorithm is complex, while the training process of the deep learning method requires a large amount of data and is slow.
Optical systems or digital image processing methods based on phase changes are used to achieve augmentation of medical image data through Fourier transform and random modulation of phase information.
This method can quickly and efficiently generate a large amount of augmented data from a small amount of medical image data, simplifying the physical process and reducing training data requirements. It is suitable for deep learning in fields such as medical image denoising, segmentation and reconstruction.
Smart Images

Figure CN112465694B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an image data augmentation method in the field of image data processing, and in particular to a method for augmenting medical image data by utilizing phase information. Background Art
[0002] At present, deep learning has been successfully applied to the fields of image processing and computer vision. In the field of medical image processing, deep learning methods have also attracted widespread attention. However, due to patient privacy, medical image data of lesions is also very scarce compared to normal medical data, and the cost of doctors labeling medical image data is high. Limited medical image data has become a constraint on the development of deep learning methods in the field of medical image processing. In particular, high-performance deep learning methods require a large amount of image data, which requires data augmentation of limited medical images, which is of great significance for further medical image processing, such as using medical images to determine the location, morphology and boundaries of digestive tract tumors, and for the precise treatment of tumors and various diseases.
[0003] There are many methods for image data augmentation. Image data augmentation techniques include basic image processing methods, deep learning methods, etc. Basic image processing methods include geometric data augmentation, color conversion, noise injection, mixed images, and random erasure. Geometric data augmentation uses the input geometric transformation image, including flipping, cropping, rotation, translation, deformation, and scaling. Color conversion includes color perturbation, which is the process of increasing or decreasing certain color components in the color space, or changing the order of color channels. Noise injection adds random noise, for example, Gaussian noise in the input image. The mixed image method synthesizes a new image sample in the image. Random erasure is to remove certain parts of the training image in order to solve the occlusion problem. Among them, methods such as mixed images and random erasure are not based on physical laws of nature. Although they can achieve certain image data augmentation effects, they are difficult to understand and the algorithms are complex.
[0004] With the rapid development of deep learning, some researchers have discussed using deep learning for data augmentation. Data augmentation methods based on deep learning functions include adversarial training, style transfer of neural networks, and generative networks. Deep learning data augmentation methods are slow to determine. Taking CycleGAN as an example, the image collection in the dataset can be expanded through style transfer, object transfer, or season transfer, such as zebra transfer to horse, or winter image transfer to summer image. Deep learning data augmentation methods require a large amount of training data during the training process, and the training process is slow. Summary of the invention
[0005] The purpose of the present invention is to solve the technical problems in the existing medical image data augmentation methods, that is, the basic image processing methods have unclear physical processes and complex algorithms, and the data augmentation methods using deep learning require a large amount of training data during the training process and the training process is slow. A medical image data augmentation method based on phase change is proposed to augment the medical image data, so that a large number of medical images can be generated with a small amount of doctor annotations, which provides a basis for the research on deep learning in medical image denoising, medical image segmentation and medical image reconstruction.
[0006] The medical image data augmentation method of the present invention is implemented in two ways: one is to use an optical imaging method to introduce changes in phase information in the optical system; the other is to use a digital image processing method based on simulation of optical image data to add changes in phase information after Fourier transform.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is:
[0008] A method for medical image data augmentation based on phase change, which is special in that the medical image data augmentation is realized by using a phase change optical system, or by using phase change digital image processing simulation to realize medical image data augmentation, comprising the following steps:
[0009] Step 1: Read the original medical image;
[0010] Step 2: Perform Fourier transform on the original medical image to obtain a frequency domain image, wherein the frequency domain image includes an amplitude image and a phase image;
[0011] Step 3, generating a randomly transformed phase image;
[0012] Step 4, performing phase addition on the frequency domain image obtained in step 2 and the randomly transformed phase image generated in step 3 to form a Fourier transform image after adding the random phase, obtaining a phase-enhanced medical image after inverse Fourier transform, and removing the phase information to obtain an augmented medical image;
[0013] Step 5: Repeat steps 3 and 4 to obtain new augmented medical images after different phase transformations.
[0014] Furthermore, the medical image data augmentation is realized by using a phase-changing optical system, comprising the following steps:
[0015] Step 1, placing the original medical image on the object plane of the optical system;
[0016] The optical system comprises a first optical lens 2, a spatial light modulator 3, a second optical lens 4 and a camera 5 which are arranged in sequence along the optical path from left to right; the first optical lens 2 and the second optical lens 4 are arranged coaxially and confocally, so that the left focal position of the first optical lens 2 is the object plane, the right focal position of the second optical lens 4 is the image plane, and the common focal position of the first optical lens 2 and the second optical lens 4 is the Fourier plane; the spatial light modulator 3 is placed on the Fourier plane of the optical system; and the camera 5 is placed on the image plane of the optical system;
[0017] Step 2: After the original medical image is Fourier transformed by the first optical lens 2, a frequency domain image is formed on the Fourier plane, and the frequency domain image includes an amplitude image and a phase image;
[0018] Step 3, by modulating the spatial light modulator 3, a phase image with random phase transformation is generated on the Fourier plane, and the amplitude range of the random phase is [0, m], m∈[0.5, 1.5];
[0019] Step 4: perform phase addition on the Fourier plane on the frequency domain image obtained in step 2 and the randomly transformed phase image generated in step 3 to form a Fourier transformed image with random phase added, and after inverse Fourier transformation by the optical lens 4, form a phase-enhanced medical image on the image plane of the optical system; the camera 5 records the augmented medical image;
[0020] Step 5: Repeat steps 3 and 4 to obtain new augmented medical images after different phase transformations.
[0021] Furthermore, the first optical lens 2 and the second optical lens 4 are lenses with equal focal lengths, and the two optical lenses are coaxially and confocally arranged to form a 4F optical system.
[0022] Furthermore, in step 1, the spatial light modulator 3 is a phase-type spatial light modulator.
[0023] Furthermore, in order to avoid generating a random phase that is too large or too small, in step 3, the amplitude range of the random phase is [0, 1].
[0024] Furthermore, in step 1, the camera 5 adopts a high-resolution, high-dynamic range camera, selects a CCD or CMOS detector with a resolution greater than 2k*2k, and selects a quantization bit number of 12 bits or 16 bits.
[0025] Furthermore, the medical image data augmentation is realized by using phase-changing digital image processing simulation, including the following steps:
[0026] Step 1: Use software to read the original medical image I1 (x, y);
[0027] Step 2: The original medical image I1(x, y) is subjected to Fourier transformation to obtain the frequency domain image F(f x , f y )
[0028]
[0029] Where B(x, y) is the amplitude image after Fourier transformation; is the phase image after Fourier transformation;
[0030] Step 3: Perform random phase transformation according to the following formula to generate a randomly transformed phase image p(x, y):
[0031]
[0032] Where δ(x, y) is the phase of random transformation, and the phase amplitude range is [0, m], m∈[0.5, 1.5];
[0033] Step 4: Add the phase of the frequency domain image obtained in step 2 to the randomly transformed phase image generated in step 3 to form a Fourier transform image F' (f x , f y )
[0034]
[0035] For F'(f x , f y ) is inversely transformed with Fourier transform to obtain the phase-enhanced medical image, and the absolute value is taken to obtain the augmented medical image I2(x, y)
[0036]
[0037] Step 5: Repeat steps 3 and 4 to obtain new augmented medical images after different phase transformations.
[0038] Furthermore, in step 1 of the above method, the software adopts Matlab.
[0039] Furthermore, in order to avoid generating a random phase that is too large or too small, in step 3, the phase amplitude range of δ(x, y) is [0, 1].
[0040] Beneficial effects of the present invention:
[0041] 1) The medical image data augmentation method based on optical phase change of the present invention can utilize a limited amount of medical image data for augmentation, thereby obtaining a large amount of medical image data required for deep learning. The present invention fully considers the nature of optical imaging and is an image data augmentation method based on physical processes. Compared with other existing image augmentations, it is simple and intuitive, and the physical process is clear; compared with image data augmentation methods based on deep learning such as generative networks, whether it is an optical system method or a digital image processing simulation method, it highlights its fast and efficient characteristics.
[0042] 2) The optical system of the present invention adopts two optical lenses in a coaxial confocal setting, and the spatial light modulator is located on the Fourier plane at the confocal point. The frequency information of the medical image is randomly phase modulated to generate an augmented image on the image plane; the optical system has a simple structure and is easy to implement.
[0043] 3) In the medical image data augmentation method based on phase change of the present invention, new image augmentation data can be generated by only changing the corresponding phase information of the image, so a large amount of effective image data can be obtained quickly and efficiently. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 Schematic diagram of the optical system of embodiment 1 of the present invention.
[0045] Description of reference numerals:
[0046] 1-computer, 2-first optical lens, 3-spatial light modulator, 4-second optical lens, 5-camera. DETAILED DESCRIPTION
[0047] In order to more clearly illustrate the technical solution of the present invention, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0048] The medical image augmentation method based on phase change of the present invention can be implemented by using an optical experimental platform, using an optical system to introduce changes in phase information. On the other hand, it can also be implemented completely by a digital image processing method, adding changes in phase information after Fourier transformation, thereby simulating changes in optical phase information.
[0049] Example 1
[0050] The method of medical image augmentation using a phase-changing optical system mainly includes the following steps:
[0051] In the first step, in order to introduce the change of optical phase, an optical system that causes phase change is constructed, such as Figure 1As shown, the optical system includes a first optical lens 2 (L1), a spatial light modulator 3 (SLM), a second optical lens 4 (L2), and a camera 5 arranged in sequence along the optical path. The original medical image is placed at the object position (object plane) of the optical system; a phase-type spatial light modulator 3 is added to the optical system; and the camera 5 is placed on the image plane. The spatial light modulator 3 and the camera 5 are both controlled by a computer 1.
[0052] The second step is to place the spatial light modulator 3 on the Fourier plane of the 4F optical system. In the 4F optical system, the first optical lens 2 and the second optical lens 4 are coaxially and confocally arranged, and the spatial light modulator 3 is placed in the middle of the first optical lens 2 and the second optical lens 4. After the original medical image passes through the optical system, the frequency information of the image is obtained at the position where the spatial light modulator 3 is located, that is, in the frequency domain.
[0053] The third step is to control the spatial light modulator 3 through the computer 1 to generate optical random phase modulation. The spatial light modulator 3 uses a phase-type spatial light modulator, and the amplitude of the random phase is [0, m], where the selection of m is adjusted in the range of [0.5, 1.5] according to the actual situation. In this embodiment, m can be 1, or a value near 1. If m takes a too large value, the random phase generated will be too large, resulting in the final augmented image data being completely different from the original medical image data, and the meaning of data augmentation is lost. If m takes a too small value, the random phase generated is small, resulting in the augmented image data generated being similar to the original medical image data, and the purpose of image augmentation cannot be achieved.
[0054] The phase modulation of the spatial light modulator 3 in the present invention is not limited to random phase information, but can also generate specific phase information according to actual applications.
[0055] In the fourth step, a camera 5 with high resolution and high dynamic range is used to record the image 2 generated after the original medical image passes through the optical system. The image obtained by the camera 5 is the augmented image.
[0056] The resolution of the camera 5 should be greater than the resolution of the spatial light modulator 3. In this embodiment, a CCD or CMOS detector with a resolution greater than 2k*2k and a quantization bit number of 12 bits or 16 bits can be selected.
[0057] If new augmented data is needed, it is only necessary to change the phase modulation information of the spatial light modulator 3 .
[0058] Example 2
[0059] The method of simulating medical image augmentation using phase-changing digital image processing mainly includes the following steps:
[0060] The first step is to use software (such as MATLAB) to read in the original medical image I1 (x, y).
[0061] In the second step, the Fourier transform of the image is used to calculate the frequency domain image F(f x , f y ),
[0062]
[0063] The frequency domain image F(f x , f y ) is a complex image, including the amplitude image B(x, y) and the phase image
[0064] The third step is to use equation (2) to generate a randomly transformed phase image p(x, y),
[0065]
[0066] δ(x, y) is the phase of the random transformation. Similar to that in optical experiments, the phase amplitude of the random transformation is [0, m]. The choice of m can be adjusted in the range of [0.5, 1.5] according to actual conditions. Try to choose a value of 1 or near 1 to avoid generating a random phase that is too large or too small.
[0067] The present invention is not limited to random phase information, but can also generate specific phase information according to actual applications.
[0068] The fourth step is to combine the randomly transformed phase image p(x, y) generated by equation (2) with the frequency domain image F(f x , f y ) is added to obtain F'(f x , f y )
[0069]
[0070] In formula (3), F'(f x , f y ) is the Fourier transform frequency domain image after adding the random transformation phase; B(x, y) is the Fourier transform amplitude image, is the Fourier transformed phase image.
[0071] After the inverse Fourier transform, the phase-augmented image is obtained. Since the camera can only record intensity information and the phase information is lost, the absolute value of the complex image after phase augmentation is taken, as shown in formula (4), and the image I2(x, y) is obtained.
[0072]
[0073] Image I2 (x, y) is the image data generated after the original medical image is augmented by phase change.
[0074] If new augmented data is needed, it is only necessary to change the corresponding phase information δ(x, y).
[0075] The image data augmentation method based on phase change of the present invention can obtain a large amount of useful data simply and efficiently regardless of whether it is an optical system method or a digital image processing simulation.
[0076] In the above two embodiments, the medical image data that can be processed by the image data augmentation step include the medical image data itself, and can also include the doctor's annotation data. For example, in the problem of medical image segmentation, first, the original medical image is augmented through the above steps; secondly, the corresponding doctor-annotated medical image data is also augmented through the above steps under the same parameters. In this way, a complete medical image data pair is completed. Similarly, the above steps can also be used in other medical image fields such as medical image recognition and classification.
[0077] The above is only a description of the preferred implementation mode of the present invention, and is not a limitation of the technical solution of the present invention. Any known deformation made by those skilled in the art on the basis of the main technical concept of the present invention belongs to the technical scope to be protected by the present invention.
Claims
1. A method for medical image data augmentation based on phase change, characterized in that: The method of realizing medical image data augmentation by using a phase-changing optical system or by using a phase-changing digital image processing simulation comprises the following steps: Step 1: Read the original medical image; Step 2: Perform Fourier transform on the original medical image to obtain a frequency domain image, wherein the frequency domain image includes an amplitude image and a phase image; Step 3, generating a randomly transformed phase image; Step 4, performing phase addition on the frequency domain image obtained in step 2 and the randomly transformed phase image generated in step 3 to form a Fourier transform image after adding the random phase, obtaining a phase-enhanced medical image after inverse Fourier transform, and removing the phase information to obtain an augmented medical image; Step 5: Repeat steps 3 and 4 to obtain new augmented medical images after different phase transformations.
2. The method for medical image data augmentation based on phase change according to claim 1, characterized in that: The method of realizing medical image data augmentation by using a phase-changing optical system includes the following steps: Step 1, placing the original medical image on the object plane of the optical system; The optical system comprises a first optical lens (2), a spatial light modulator (3), a second optical lens (4) and a camera (5) which are arranged in sequence from left to right along the optical path; the first optical lens (2) and the second optical lens (4) are arranged coaxially and confocally, so that the left focal position of the first optical lens (2) is the object plane, the right focal position of the second optical lens (4) is the image plane, and the common focal position of the first optical lens (2) and the second optical lens (4) is the Fourier plane; the spatial light modulator (3) is placed on the Fourier plane of the optical system; and the camera (5) is placed on the image plane of the optical system; Step 2: After the original medical image is Fourier transformed by the first optical lens (2), a frequency domain image is formed on the Fourier plane, wherein the frequency domain image includes an amplitude image and a phase image; Step 3, by modulating the spatial light modulator (3), a phase image with random phase transformation is generated on the Fourier plane, and the amplitude range of the random phase is [0, m], m∈[0.5, 1.5]; Step 4: performing phase addition on the Fourier plane on the frequency domain image obtained in step 2 and the randomly transformed phase image generated in step 3 to form a Fourier transformed image with a random phase added thereto, and after inverse Fourier transformation by an optical lens (4), forming a phase-enhanced medical image on the image plane of the optical system; a camera (5) records the enhanced medical image; Step 5: Repeat steps 3 and 4 to obtain new augmented medical images after different phase transformations.
3. The method for medical image data augmentation based on phase change according to claim 2, characterized in that: In step 1, the first optical lens (2) and the second optical lens (4) are lenses with equal focal lengths.
4. The method for medical image data augmentation based on phase change according to claim 2 or 3, characterized in that: In step 1, the spatial light modulator (3) is a phase-type spatial light modulator.
5. The method for medical image data augmentation based on phase change according to claim 4, characterized in that: In step 3, the amplitude range of the random phase is [0, 1].
6. The method for medical image data augmentation based on phase change according to claim 5, characterized in that: In step 1, the camera (5) is a CCD or CMOS detector with a resolution greater than 2k*2k, and a quantization bit number of 12 bits or 16 bits.
7. The method for medical image data augmentation based on phase change according to claim 1, characterized in that: Medical image data augmentation is achieved by using phase-changing digital image processing simulation, including the following steps: Step 1: Use software to read the original medical image I1 (x, y); Step 2: The original medical image I1(x, y) is transformed by Fourier transform to obtain the frequency domain image F(f x ,f y ) F(f x ,f y )=FFT(I1(x,y))=B(x,y)exp(jφ(x,y)) Where B(x,y) is the amplitude image after Fourier transformation; is the phase image after Fourier transformation; Step 3: Perform random phase transformation according to the following formula to generate a randomly transformed phase image p(x,y) p(x, y) = exp(jδ(x, y)) Where δ(x,y) is the phase of random transformation, and the phase amplitude range is [0,m], m∈[0.5,1.5]; Step 4: Add the phase of the frequency domain image obtained in step 2 to the randomly transformed phase image generated in step 3 to form a Fourier transform image F' (f x ,f y ) F′(f x ,f y )=B(x,y)exp(jφ(x,y)+jδ(x,y)) For F'(f x ,f y ) is inversely transformed with Fourier transform to obtain the phase-enhanced medical image, and the absolute value is taken to obtain the augmented medical image I2(x,y) I2(x,y)=abs(FFT -1 (F′(f x ,f y ))) Step 5: Repeat steps 3 and 4 to obtain new augmented medical images after different phase transformations.
8. The method for medical image data augmentation based on phase change according to claim 7, characterized in that: In step 1, the software adopts matlab.
9. The method for medical image data augmentation based on phase change according to claim 8, characterized in that: In step 3, the phase amplitude range of δ(x,y) is [0,1].
Citation Information
Patent Citations
Phase object identification device and method
CA2719195A1
Improved variational mode decomposition-based DSPI phase extraction method
CN108053379A
Image fusion method based on Fourier spectrum extraction
CN110503620A
Space-time multiplexing compressed video imaging method
CN110650340A
Topographic phase control for overlay measurement
WO2016187468A1
