Medical image processing method, medical image processing device, storage medium, and program
The method optimizes medical image segmentation by using a deep neural network with labeled and unlabeled data expansion and attention setting to improve accuracy and reduce the need for extensive labeled data, addressing the limitations of existing methods.
Patent Information
- Application Number
- JP2024006733
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-12
- Filing Date
- 2024-01-19
- Publication Date
- 2024-10-25
AI Technical Summary
Existing medical image segmentation methods face challenges in achieving high accuracy due to the time-consuming and costly nature of labeling medical images at the pixel level, especially in tasks involving supervised deep learning, and the low robustness and versatility of methods based on tone value analysis.
A medical image processing method that includes labeled image data training, first and second expansion steps, attention setting, and unlabeled image data training using a deep neural network, optimizing pseudo-labels through probability map averaging and reliability weighting to enhance segmentation accuracy.
Improves the accuracy of medical image processing, particularly in anatomical structure and organ functional unit segmentation, by optimizing pseudo-labels and reducing the reliance on extensive labeled data, thereby enhancing the quality of segmentation results.
Smart Images

Figure 2024152600000001_ABST
Abstract
Description
[Technical field]
[0001] The embodiments disclosed in this specification and the drawings relate to a medical image processing method, a medical image processing device, a storage medium, and a program. [Background technology]
[0002] Currently, methods for performing medical image segmentation can be mainly divided into methods using supervised deep learning and methods based on gray-level analysis.
[0003] The method using supervised deep learning uses a deep neural network (DNN) and labeled medical image data to train a supervised image segmentation or the like. A deep neural network trained in this way can usually achieve high accuracy. However, the method using supervised deep learning requires the use of a large amount of labeled medical image data. For this reason, in tasks such as medical anatomical structure segmentation and organ functional unit segmentation, it is difficult to label medical images at the pixel level, which is not only time-consuming but also costly.
[0004] On the other hand, segmentation methods based on gray-level analysis analyze the gray-level values of medical images and perform segmentation of specific parts or organs by calculating the Hessian matrix. However, segmentation methods based on gray-level analysis usually require parameter tuning, and have problems such as poor versatility and low robustness of results.
[0005] Further, as a method for performing medical image segmentation, there is also a method using semi-supervised deep learning. In the method using semi-supervised deep learning, when training a deep neural network, both labeled medical image data and a large amount of unlabeled medical image data are used, so that high accuracy can be obtained even when the amount of labeled medical image data is small. Semi-supervised deep learning generally includes laws such as consistency regularization and pseudo-label, and also includes a combination method that combines both laws of consistency regularization and pseudo-label.
[0006] The main idea of the consistency regularization law is that for the same input medical image, even if the medical image is subjected to a small perturbation (for example, processing such as data augmentation for the medical image), the predicted mask should also be consistent. However, using the consistency regularization law generally requires the design of some neural network structure and pretext task. This makes the network less versatile and stable, and further affects the prediction accuracy of the deep neural network.
[0007] The principle of the pseudo-labeling law is to first train a basic model (e.g., a deep network model using a convolutional neural network) using a small amount of labeled data. Then, a large amount of unlabeled data is predicted to obtain pseudo-labels, and the model is trained together using both the large amount of pseudo-labeled unlabeled data and the small amount of labeled data. Then, the trained new model is used to predict a large amount of unlabeled data again to obtain pseudo-labels, and then the model is trained again, and the cycle finally reaches convergence. However, in the pseudo-labeling law of the semi-supervised deep learning method, if the model is simply used to predict unlabeled data to obtain pseudo-labels, the quality of the pseudo-labels is usually not high, so the accuracy of the training results and prediction results of the deep network model is not high.
[0008] In methods using semi-supervised deep learning, how to improve the accuracy of training results and prediction results, and especially how to improve the accuracy of prediction results using unlabeled data when the amount of labeled data is small, remain problems to be solved. [Prior art documents] [Non-patent literature]
[0009] [Non-Patent Document 1] Pratima Upretee, Bishesh Khanal, “Fixing FixMatch for Semi-Supervised Semantic Segmentation” arXiv preprint arXiv:2208.00400, 2022. Summary of the Invention [Problem to be solved by the invention]
[0010] One of the problems that the embodiments disclosed in this specification and the drawings aim to solve is to improve the accuracy of medical image processing. However, the problems solved by the embodiments disclosed in this specification and the drawings are not limited to the above problem. Problems corresponding to the effects of each configuration shown in the embodiments described below can also be positioned as other problems. [Means for solving the problem]
[0011] The medical image processing method according to the present embodiment includes a labeled image data training step, a first augmentation step, an attention setting step, a second augmentation step, an unlabeled image data training step, and an image processing step. The labeled image data training step trains a deep neural network for medical image processing using input labeled image data. The first augmentation step performs weak data augmentation on the input unlabeled image data to obtain a first augmented image. The attention setting step predicts the first augmented image using the deep neural network, and determines whether each pixel can be a pseudo label based on prediction information of each pixel in the first augmented image. The second augmentation step performs strong data augmentation on the first augmented image to obtain a second augmented image. The unlabeled image data training step trains the deep neural network using the second augmented image and the pseudo label determined in the attention setting step. The image processing step processes the input medical image using the deep neural network updated based on the training result of the labeled image data and the training result of the unlabeled image data. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing the functional configuration of a medical image processing apparatus according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram showing a configuration of the attention setting function in the first embodiment. [Diagram 3] FIG. 3 is a flowchart showing the procedure of processing (medical image processing method) by the medical image processing apparatus according to the first embodiment. [Figure 4A] FIG. 4A is a diagram showing an example of input labeled image data. [Figure 4B] FIG. 4B is a diagram showing an example of a prediction result (segmentation result) obtained by predicting labeled image data using a deep neural network. [Figure 4C] FIG. 4C is a diagram showing an example of GT (Ground Truth) of labeled image data. [Figure 5A] FIG. 5A is a diagram showing an example of input unlabeled image data. [Figure 5B] FIG. 5B shows the probability map mean value of unlabeled image data. [Figure 5C] FIG. 5C is a diagram showing an example of pseudo labels for unlabeled image data. [Figure 6] FIG. 6 is a block diagram showing the functional configuration of a medical image processing apparatus according to the second embodiment. [Figure 7] FIG. 7 is a block diagram showing a configuration of the attention setting function in the second embodiment. [Figure 8] FIG. 8 is a flowchart showing the procedure of processing (medical image processing method) by the medical image processing apparatus according to the second embodiment. [Figure 9] FIG. 9 is a block diagram showing the functional configuration of a medical image processing apparatus according to the third embodiment. [Figure 10] FIG. 10 is a flowchart showing the procedure of processing (medical image processing method) by the medical image processing apparatus according to the third embodiment. [Figure 11A] FIG. 11A is a diagram showing an example of unlabeled image data input to the region of interest extraction function. [Figure 11B] FIG. 11B shows prediction results of the deep neural network for unlabeled image data. [Figure 11C] FIG. 11C is a diagram showing an example of extracted region of interest data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, embodiments of a medical image processing method, a medical image processing apparatus, a storage medium, and a program will be described in detail with reference to the drawings.
[0014] (First embodiment) Fig. 1 is a block diagram showing the functional configuration of a medical image processing apparatus 10 according to the first embodiment. As shown in Fig. 1, the medical image processing apparatus 10 includes an input interface 101, a communication interface 102, a display 103, a storage circuitry 104, and a processing circuitry 105.
[0015] The input interface 101 is realized by a trackball for performing various settings, a switch button, a mouse, a keyboard, a touchpad for performing input operations by touching the operation surface, a touch screen in which a display screen and a touchpad are integrated, a non-contact input circuit using an optical sensor, and a voice input circuit, etc. The input interface 101 is connected to a processing circuit 105, and converts an input operation received from a user such as a doctor into an electrical signal and outputs it to the processing circuit 105. Note that, although the input interface 101 is provided within the medical image processing device 10 in FIG. 1, it may be provided externally.
[0016] The communication interface 102 is a NIC (Network Interface Card) or the like, and communicates with other devices. For example, the communication interface 102 is connected to the processing circuitry 105, and collects medical images from an ultrasound diagnostic device, which is an ultrasound system, and an X-ray CT (Computed Tomography) device and an MRI (Magnetic Resonance Imaging) device, which are modalities other than the ultrasound system, and outputs the images to the processing circuitry 105.
[0017] The display 103 is connected to the processing circuitry 105 and displays various information and images output from the processing circuitry 105. For example, the display 103 is realized by a liquid crystal monitor, a CRT (Cathode Ray Tube) monitor, a touch panel, or the like. For example, the display 103 displays a GUI (Graphical User Interface) for receiving user instructions, various display images, and various processing results by the processing circuitry 105. Note that, although the display 103 is provided within the medical image processing device 10 in FIG. 1, it may be provided externally.
[0018] The memory circuitry 104 is connected to the processing circuitry 105 and stores various data. Specifically, the memory circuitry 104 stores at least various medical images for image registration and fusion images obtained after registration. For example, the memory circuitry 104 is realized by a semiconductor memory element such as a random access memory (RAM) or a flash memory, a hard disk, an optical disk, or the like. The memory circuitry 104 also stores a program corresponding to each processing function executed by the processing circuitry 105. Note that, although the memory circuitry 104 is provided in the medical image processing device 10 in FIG. 1, it may be provided externally.
[0019] For example, the processing circuit 105 is realized by a processor. As shown in Fig. 1, the processing circuit 105 includes a labeled image data training function 11, a first extension function 12, an attention setting function 13, a second extension function 14, an unlabeled image data training function 15, a neural network update function 16, and an image processing function 17. Fig. 2 is a block diagram showing the configuration of the attention setting function 13 in the first embodiment. As shown in Fig. 2, the attention setting function 13 includes a probability map average value acquisition function 131 and a pseudo label determination function 132.
[0020] Here, each processing function executed by the components of the processing circuitry 105 shown in Fig. 1 is recorded in the storage circuitry 104 of the medical image processing device 10 in the form of a program executable by a computer, for example. The processing circuitry 105 is a processor that realizes the processing function corresponding to each program by reading each program from the storage circuitry 104 and executing it. In other words, the processing circuitry 105 in a state in which each program has been read has each function shown in the processing circuitry 105 in Fig. 1.
[0021] The term "processor" used in the above description means a circuit such as a central processing unit (CPU), a graphics processing unit (GPU), an application specific integrated circuit (ASIC), a programmable logic device (e.g., a simple programmable logic device (SPLD), a complex programmable logic device (CPLD), and a field programmable gate array (FPGA)). When the processor is a CPU, for example, the processor reads out and executes a program stored in the memory circuit 104 to realize the function. On the other hand, when the processor is an ASIC, for example, instead of storing the program in the memory circuit 104, the program is directly incorporated in the circuit of the processor. Note that each processor in this embodiment is not limited to being configured as a single circuit for each processor, and may be configured as one processor by combining multiple independent circuits to realize the function. Furthermore, the multiple components in FIG. 1 may be integrated into one processor to realize the function.
[0022] Each function of the processing circuit 105 stored in the memory circuit 104 in the form of a computer-executable program will be described in detail with reference to a flowchart described later.
[0023] The memory circuitry 104 also stores a deep neural network (also called a "deep learning model") for performing image processing, and training data for training the deep neural network. The deep neural network in this embodiment is trained by a semi-supervised learning method, and the training data includes labeled image data and unlabeled image data. The deep neural network may be any type of neural network, such as a Convolutional Neural Network (CNN) or a Transformer.
[0024] In addition, in this embodiment, the deep neural network can be used to perform at least one of medical anatomical structure segmentation and organ function unit segmentation on the input medical image. The medical anatomical structure segmentation includes, for example, pancreas segmentation, lung lobe segmentation, and liver segmentation, and the organ function unit segmentation includes, for example, hepatic segment segmentation. Each of the various segmentation processes is a prediction type of the deep neural network.
[0025] In addition, in this embodiment, data augmentation is performed to train the deep neural network. Data augmentation is a method of padding data by applying "conversion" to image data (medical images) for learning, and there are various types of "conversion". For example, there are two types of data augmentation: "weak data augmentation" and "strong data augmentation". Weak data augmentation is, for example, performing only position conversion such as translation and mirror image of a medical image, which is image data, as a simple process, without changing the resolution or contrast of the pixel, and without increasing noise. Strong data augmentation is, for example, performing large distortion processing such as changing the sharpness (resolution) or contrast of the image, increasing Gaussian noise in the image, and randomly removing a partial region of the image, on a medical image, which is image data.
[0026] 3 is a flowchart showing the procedure of processing (medical image processing method) by the medical image processing apparatus 10 according to the first embodiment. The medical image processing method according to this embodiment will be described in detail below.
[0027] First, in step S11 (labeled image data training step), the labeled image data training function 11 trains the deep neural network using labeled image data, which is training data stored in the memory circuit 104. The labeled image data training function 11 is an example of a "labeled image data training unit."
[0028] Fig. 4A is a diagram showing an example of input labeled image data. Fig. 4B is a diagram showing an example of a prediction result (segmentation result) of the labeled image data predicted by a deep neural network. Fig. 4C is a diagram showing an example of GT (Ground Truth) of the labeled image data.
[0029] When training a deep neural network using labeled image data, the labeled image data training function 11 performs the following processes.
[0030] For example, when one prediction type of the deep neural network is pancreas segmentation, the labeled image data training function 11 first inputs, as labeled image data, for example, a medical image of the subject's abdomen as shown in FIG. 4A to the deep neural network. Next, the labeled image data training function 11 predicts labeled image data based on the deep neural network, and outputs, for example, the prediction result shown in FIG. 4B as the prediction result of predicting the labeled image data. Then, the labeled image data training function 11 obtains a loss function L1 of the labeled image data as a training result based on the difference between the prediction result of predicting the labeled image data (FIG. 4B) and the GT of the labeled image data (FIG. 4C). Here, the loss function L1 is an example of a "training result of labeled image data".
[0031] An example of the loss function L1 is shown in the following formula. In the formula, CE loss indicates cross entropy loss, Dice loss indicates Dice loss, N indicates the number of pixels in the medical image, M indicates the number of prediction types, and P i,c indicates the probability that pixel i is predicted to be of prediction type c, and y1 i,c indicates the actual label (GT) of pixel i with prediction type c.
[0032]
number
number
number
[0033] On the other hand, in step S12 (first extension step), the first extension function 12 randomly selects any unlabeled image data as input data from all unlabeled image data, which is training data stored in the memory circuit 104, for each training. Then, the first extension function 12 performs weak data extension on the input unlabeled image data to obtain a first extended image. The first extension function 12 is an example of a "first extension unit."
[0034] FIG. 5A is a diagram showing an example of input unlabeled image data. As described above, weak data extension means that, for example, a medical image, which is image data, is subjected to only position transformation such as translation and mirror image of the image as a simple process, without changing the resolution or contrast of the pixel, and without increasing noise. In step S12, for example, the first extension function 12 performs position transformation of two translations (translation to the left and translation to the bottom) and one mirror image (left and right mirror image) on the medical image, which is image data.
[0035] Next, the attention setting function 13 predicts the first extended image using a deep neural network, and determines whether each pixel in the first extended image can be a pseudo label based on the prediction information of each pixel in the first extended image. The attention setting function 13 is an example of an "attention setting unit."
[0036] First, in step S13 (probability map acquisition step), the attention setting function 13 predicts the first extended image using a deep neural network to acquire a probability map. Specifically, the attention setting function 13 predicts the first extended image obtained after one or more position transformations using a deep neural network to acquire one or more probability maps. For example, the attention setting function 13 predicts three first extended images obtained after two translation position transformations and one mirror image position transformation using a deep neural network to acquire three probability maps for each of the three first extended images.
[0037] Next, in step S14 (probability map average value calculation step), the attention setting function 13 calculates the probability map average value of the first extended image. The attention setting function 13 performs an inverse position transformation on one or more probability maps, which is the inverse of the one or more position transformations performed in step S12, and calculates the probability map average value of each pixel in the unlabeled image data using one or more probability maps after the inverse position transformation. The probability map average value is an example of "prediction information for each pixel in the first extended image."
[0038] 5B is a diagram showing the average probability map value of unlabeled image data. Probability is a numerical value between "0" and "1" that represents the degree of likelihood, with a high degree of likelihood being closer to "1" and a low degree of likelihood being closer to "0."
[0039] In the example shown in FIG. 5B, the black area in the figure indicates an area where the probability map average value is "0". When one prediction type of the deep neural network is pancreas segmentation, the probability map average value of "0" in the black area indicates that the probability that the area is predicted to be a pancreas is "0". The white area in the figure indicates an area where the probability map average value is "1". When one prediction type of the deep neural network is pancreas segmentation, the probability map average value of "1" in the white area indicates that the probability that the area is predicted to be a pancreas is "1". There is also a gray area with uneven gradation to the lower left of the white area in the figure, and this gray area is an area where the probability map average value is greater than "0" and less than "1", indicating that the probability that the gray area is predicted to be a pancreas is a numerical value between "0" and "1".
[0040] It should be noted that step S13 (probability map acquisition step) and step S14 (probability map average value calculation step) are examples of the "probability map average value acquisition step".
[0041] Next, in step S15 (pseudo label determination step), the attention setting function 13 determines whether the probability map average value corresponding to each pixel in the first extended image is greater than a predetermined threshold. Then, the attention setting function 13 determines the probability map average value of the pixel greater than the predetermined threshold as the pseudo label. The predetermined threshold is generally set according to the distribution of the probability map grayscale value.
[0042] For example, when one prediction type of the deep neural network is pancreas segmentation, the predetermined threshold value of the probability map average value can be set to "0.5" according to the specific distribution situation of the gray scale value. In this case, the attention setting function 13 judges whether the probability map average value is greater than the predetermined threshold value "0.5" for each pixel. If the probability map average value is greater than the predetermined threshold value "0.5", the attention setting function 13 determines the probability map average value of the pixel as a pseudo label, and if the probability map average value is equal to or less than the predetermined threshold value "0.5", the attention setting function 13 does not determine the probability map average value of the pixel as a pseudo label. Note that in this embodiment, the probability map average value of a pixel that is equal to or less than the predetermined threshold value "0.5" is not used for the subsequent training of the deep neural network.
[0043] 5C is a diagram showing an example of pseudo-labels of unlabeled image data, in which pixels in the white region in FIG. 5C are pixels determined as pseudo-labels.
[0044] It should be noted that step S13 (probability map acquisition step), step S14 (probability map average value calculation step), and step S15 (pseudo label determination step) are examples of an "attention setting step".
[0045] Next, in step S16 (second extension step), the second extension function 14 performs strong data extension on the first extended image obtained in step S12 to obtain a second extended image. As described above, strong data extension refers to performing large distortion processing on a medical image, which is image data, such as changing the sharpness (resolution) or contrast of the image, increasing Gaussian noise in the image, or randomly removing a partial region of the image. The second extension function 14 is an example of a "second extension unit."
[0046] It should be noted that step S16 does not have to be performed after step S15, and may be performed after step S12, for example.
[0047] Next, in step S17 (unlabeled image data training step), the unlabeled image data training function 15 trains the deep neural network using the second augmented image obtained in step S16 and the pseudo label determined in step S15. The unlabeled image data training function 15 is an example of an "unlabeled image data training unit."
[0048] When training a deep neural network using unlabeled image data, the unlabeled image data training function 15 performs the following process.
[0049] For example, when one prediction type of the deep neural network is pancreas segmentation, the unlabeled image data training function 15 first inputs the second extended image obtained in step S16 to the deep neural network. Next, the unlabeled image data training function 15 predicts a probability map of the second extended image based on the deep neural network, and outputs a prediction result (not shown). Then, the unlabeled image data training function 15 obtains a loss function L2 of the unlabeled image data as a training result based on the difference between the prediction result (Predicted Mask) of the probability map of the second extended image and the pseudo label obtained in step S15 (FIG. 5C). Here, the loss function L2 is an example of the "training result of the unlabeled image data".
[0050] An example of the loss function L2 is shown in the following formula. In the formula, CE loss indicates cross entropy loss, Dice loss indicates Dice loss, N indicates the number of pixels in the medical image, M indicates the number of prediction types, and P i,c indicates the probability that pixel i is predicted to be of prediction type c, and y i,c indicates the pseudo label (pseudo GT) for pixel i with prediction type c.
[0051]
number
number
number
[0052] Next, in step S18 (neural network update step), the neural network update function 16 updates the deep neural network based on the training results of the labeled image data (loss function L1) and the training results of the unlabeled image data (loss function L2).
[0053] The above steps S11 to S18 indicate a training process of a deep neural network based on semi-supervised learning, and although not shown, the training process usually needs to be repeated multiple times (several tens to several hundreds of times).
[0054] After a predetermined number of trainings have been performed, in step S19 (image processing step), the image processing function 17 processes the predicted medical image input to the deep neural network using the deep neural network updated in step S18. The image processing function 17 processes the input medical image using the deep neural network updated based on the loss function L1 and the loss function L2.
[0055] Specifically, the image processing function 17 performs at least one of segmentation of medical anatomical structures and segmentation of organ function units on the input medical image using a deep neural network. For example, when one prediction type of the deep neural network is pancreas segmentation, the image processing function 17 predicts pancreas segmentation based on the updated deep neural network for a medical image of the abdomen of a subject input to the deep neural network, and then outputs the pancreas segmentation result. The image processing function 17 is an example of an "image processing unit."
[0056] As described above, in the medical image processing device 10 according to this embodiment, first, the labeled image data training function 11 trains a deep neural network for performing medical image processing using the input labeled image data. Next, the first extension function 12 performs weak data extension on the input unlabeled image data to obtain a first extended image. Next, the attention setting function 13 predicts the first extended image using the deep neural network, and determines whether each pixel can be a pseudo label based on the prediction information (probability map average value) of each pixel in the first extended image. In addition, the second extension function 14 performs strong data extension on the first extended image to obtain a second extended image. Next, the unlabeled image data training function 15 trains the deep neural network using the second extended image and the pseudo label determined by the attention setting function 13. The image processing function 17 processes the input medical image using the deep neural network updated based on the training result of the labeled image data (loss function L1) and the training result of the unlabeled image data (loss function L2). As a result, the medical image processing apparatus 10 according to the first embodiment can improve the accuracy of medical image processing.
[0057] For example, in the process (medical image processing method) by the medical image processing apparatus 10 according to the first embodiment, only pixels with accurate prediction information (probability map average value) can become pseudo labels, but pixels with poor prediction information cannot become pseudo labels. As a result, in this embodiment, the pseudo labels are optimized at the pixel level, increasing the contribution rate of pixels with accurate prediction information to network optimization, while suppressing the influence of pixels with poor prediction information on network optimization. As a result, in this embodiment, the training results when training a deep neural network using unlabeled image data are optimized. Furthermore, in this embodiment, when the deep neural network is used to make predictions such as medical anatomical structure and organ function unit segmentation for medical images, a higher prediction accuracy of medical image processing can be obtained.
[0058] Furthermore, in the processing (medical image processing method) by the medical image processing apparatus 10 according to the first embodiment, a method is adopted in which the probability map average value is obtained by performing multiple position transformations. As a result, in this embodiment, a more accurate and reliable probability map average value can be obtained compared to a case in which no position transformations are performed, and further, when a pseudo label is determined based on the probability map average value, the accuracy of the pseudo label can be improved.
[0059] In this way, in the medical image processing device 10 according to the first embodiment, the medical image processing method based on semi-supervised learning (steps S11 to S19) can significantly improve the quality of medical image segmentation even when the number of labeled image data is small.
[0060] Second Embodiment Next, a medical image processing apparatus 10A and a medical image processing method according to a second embodiment will be described.
[0061] Fig. 6 is a block diagram showing the functional configuration of a medical image processing apparatus 10A according to the second embodiment, Fig. 7 is a block diagram showing the configuration of an attention setting function 13A in the second embodiment.
[0062] 6, the processing circuitry 105 of the medical image processing apparatus 10A according to the second embodiment includes a labeled image data training function 11, a first expansion function 12, an attention setting function 13A, a second expansion function 14, an unlabeled image data training function 15A, a neural network update function 16, and an image processing function 17. That is, the processing circuitry 105 in the second embodiment differs from the first embodiment in that it includes an attention setting function 13A and an unlabeled image data training function 15A instead of the attention setting function 13 and the unlabeled image data training function 15 of the processing circuitry 105 of the medical image processing apparatus 10 shown in FIG.
[0063] 7, the attention setting function 13A in the second embodiment includes a probability map average value acquisition function 131, a pseudo label determination function 132, and a reliability weight determination function 133. That is, the attention setting function 13A in the second embodiment differs from the first embodiment in that it further includes a reliability weight determination function 133 in addition to the probability map average value acquisition function 131 and the pseudo label determination function 132 shown in FIG.
[0064] 8 is a flowchart showing the procedure of processing (medical image processing method) by a medical image processing apparatus 10A according to the second embodiment. In the following description, the same description as in the first embodiment will be omitted, and only the differences will be described.
[0065] As shown in FIG. 8, in the process (medical image processing method) by the medical image processing apparatus 10A according to the second embodiment, step S20 (a reliability weight determination step) is added after step S15.
[0066] In step S20 (reliability weight determination step), the reliability weight determination function 133 sets the reliability weight of each pixel in the first extended image according to the magnitude of the probability map average value of each pixel. The larger the probability map average value of a pixel is, the larger the reliability weight that is determined will be, and the smaller the probability map average value of a pixel is, the smaller the reliability weight that is determined will be. For example, in the case of the probability map average values shown in FIG. 5B, for pixels whose probability map average values are "1", "0.9", "0.6", and "0", respectively, the reliability weights of the pixels can be "1", "0.9", "0.6", and "0", respectively.
[0067] Alternatively, a method of binarizing the reliability weight based on the magnitude of the probability map average value may be adopted. For example, for pixels in the first extended image whose probability map average value is greater than "0.5", the reliability weight of the pixel may be set to "1", and for pixels in the first extended image whose probability map average value is "0.5" or less, the reliability weight of the pixel may be set to "0".
[0068] The confidence weight determination function 133 may set confidence weights only for each pixel determined as a pseudo label in step S15, instead of determining confidence weights for each pixel in the first extended image, because other pixels not determined as a pseudo label do not affect the training results in the subsequent training.
[0069] Also, as shown in FIG. 8, in the processing (medical image processing method) by the medical image processing apparatus 10A according to the second embodiment, processing of step S17A (unlabeled image data training step) is performed instead of step S17 shown in FIG.
[0070] In step S17A (unlabeled image data training step), the unlabeled image data training function 15A trains a deep neural network using the second augmented image obtained in step S16, the pseudo labels obtained in step S15, and the confidence weights obtained in step S20.
[0071] When training a deep neural network using unlabeled image data, the unlabeled image data training function 15A performs the following process.
[0072] For example, when one prediction type of the deep neural network is pancreas segmentation, the unlabeled image data training function 15A first inputs the second extended image obtained in step S16 to the deep neural network. Next, the unlabeled image data training function 15A predicts a probability map of the second extended image based on the deep neural network and outputs the prediction result. Then, the unlabeled image data training function 15A obtains a loss function L2' of the unlabeled image data as a training result taking into account the confidence weights based on the prediction result of the probability map of the second extended image, the pseudo label obtained in step S15, and the confidence weights of each pixel obtained in step S20.
[0073] An example of the loss function L2' is shown in the following formula. In the formula, CE loss' indicates cross entropy loss taking into account the weight of the reliability, and Dice loss indicates Dice loss. N indicates the number of pixels in the medical image, M indicates the number of prediction types, and w i,c indicates the confidence weight that pixel i is predicted to be of prediction type c, and P i,c indicates the probability that pixel i is predicted to be of prediction type c, and y i,c indicates the pseudo label (pseudo GT) for pixel i with prediction type c.
[0074]
number
number
number
[0075] In the processing (medical image processing method) by the medical image processing apparatus 10A according to the second embodiment, by introducing pixel-level reliability weights into the training results of unlabeled image data, pixels with accurate prediction information (probability map average value) are assigned a higher reliability weight. As a result, in this embodiment, the contribution rate of pixels with accurate prediction information to deep neural network optimization can be further strengthened, and the accuracy of image processing of the deep neural network can be further improved.
[0076] In this way, in the medical image processing device 10A according to the second embodiment, the medical image processing method based on semi-supervised learning (steps S11 to S20) can significantly improve the quality of medical image segmentation even when the number of labeled image data is small.
[0077] (Third embodiment) Next, a medical image processing apparatus 10B and a medical image processing method according to the third embodiment will be described.
[0078] FIG. 9 is a block diagram showing the functional configuration of a medical image processing apparatus 10B according to the third embodiment.
[0079] As shown in FIG. 9, the processing circuit 105 of the medical image processing apparatus 10B according to the third embodiment includes a labeled image data training function 11, a first expansion function 12B, an attention setting function 13A, a second expansion function 14, an unlabeled image data training function 15A, a neural network update function 16, an image processing function 17, and a region of interest extraction function 18. That is, the processing circuit 105 in the third embodiment is different from the second embodiment in that it further includes a region of interest extraction function 18 in addition to each function of the processing circuit 105 of the medical image processing apparatus 10A shown in FIG. 6. Also, the processing circuit 105 in the third embodiment is different from the second embodiment in that it includes a first expansion function 12B instead of the first expansion function 12 of the processing circuit 105 of the medical image processing apparatus 10A shown in FIG. 6.
[0080] 10 is a flowchart showing the procedure of processing (medical image processing method) by a medical image processing apparatus 10B according to the third embodiment. In the following description, the same description as in the first and second embodiments will be omitted, and only the differences will be described.
[0081] As shown in FIG. 10, the processing (medical image processing method) by the medical image processing apparatus 10B according to the third embodiment includes step S21 (region of interest extraction step) added before step S12, as compared to the second embodiment.
[0082] In step S21 (region of interest extraction step), region of interest extraction function 18 randomly selects, for each training, any unlabeled image data as input data from all unlabeled image data, which is training data stored in memory circuitry 104. Then, region of interest extraction function 18 extracts, for the input unlabeled image data, a portion of data including a region of interest in the unlabeled image data as region of interest data, based on the prediction result of the deep neural network.
[0083] FIG. 11A is a diagram showing an example of unlabeled image data input to the region of interest extraction function 18. FIG. 11B is a diagram showing a prediction result of a deep neural network for unlabeled image data. In FIG. 11B, the area surrounded by a dashed line is the segmentation result for the segmentation target (pancreas). FIG. 11C is a diagram showing an example of extracted region of interest data. The region of interest can be selected randomly as long as it includes all or most of the area of the predicted segmentation target (pancreas).
[0084] Next, in step S12 (first dilation step), the first expansion function 12B performs weak data expansion on the extracted region of interest data to obtain a first dilated image.
[0085] In the processing (medical image processing method) by the medical image processing device 10B according to the third embodiment, by extracting region of interest data, the amount of data used in the subsequent image processing and the subsequent training can be reduced, and the training efficiency can be improved. Furthermore, in this embodiment, the extraction process corresponds to removing a part of the data with a low contribution rate and relatively increasing the proportion of the data with a high contribution rate, so that the accuracy of the image processing of the deep neural network can be improved to a certain extent.
[0086] The inventors also conducted tests to compare the processing (medical image processing method) by the medical image processing apparatus 10B according to the third embodiment with supervised and semi-supervised techniques as comparative examples. As a result, it was found that the quality of medical image segmentation can be significantly improved in this embodiment even when the amount of labeled data is small.
[0087] For example, Table 1 shows test results when one prediction type of the deep neural network is pancreas segmentation. In the example of Table 1, the Dice coefficient is used as an evaluation index of the test results. Hereinafter, the evaluation index of the test results will be referred to as the "Dice index."
[0088] "Comparative Example 1 (Supervised Technology)" in Table 1 shows the test results (Dice index) of the supervised technology using only a small amount of labeled image data (7 training numbers). "Comparative Example 2 (Semi-Supervised Technology)" in Table 1 shows the test results (Dice index) of the semi-supervised technology using a small amount of labeled image data (7 training numbers) and unlabeled image data (457 training numbers). "Comparative Example 3 (Supervised Technology)" in Table 1 shows the test results (Dice index) of the supervised technology using only labeled image data (43 training numbers) that is larger than that of Comparative Example 1. "Third Embodiment (Semi-Supervised Technology)" in Table 1 shows the test results (Dice index) of the semi-supervised technology using a small amount of labeled image data (7 training numbers) and unlabeled image data (457 training numbers). Here, the semi-supervised technology in Comparative Example 2 differs from this embodiment in that it does not include at least functions corresponding to the attention setting functions 13, 13A, the unlabeled image data training function 15A, and the region of interest extraction function 18 in this embodiment.
[0089] According to Table 1, the Dice index obtained by this embodiment is higher than the supervised technique using only a small amount of labeled image data (Comparative Example 1), higher than the semi-supervised technique (Comparative Example 2), and even exceeds the training result of the supervised technique using only a larger amount of labeled image data (Comparative Example 3). The Dice index shown in Table 1 is commonly used to evaluate the quality of image segmentation algorithms in medical images. The larger the Dice value, the better the segmentation quality of the deep neural network.
[0090] [Table 1]
[0091] In this way, in the medical image processing device 10B according to the third embodiment, the medical image processing method based on semi-supervised learning (steps S11 to S21) can significantly improve the quality of medical image segmentation even when the number of labeled image data is small.
[0092] (Other embodiments) Although the embodiment has been described above, the present invention may be embodied in various different forms other than the above-described embodiment.
[0093] For example, when calculating the probability map average value, other methods may be adopted for step S13 (probability map acquisition step) and step S14 (probability map average value calculation step) in the first embodiment. For example, as another method, in step S13 (probability map acquisition step), the attention setting function 13 predicts the first extended image using multiple deep neural networks corresponding to multiple trainings, respectively, and acquires multiple probability maps. Then, in step S14 (probability map average value calculation step), the attention setting function 13 calculates the average value of the multiple probability maps as the probability map average value. In the other method, a more accurate and reliable probability map average value can be obtained compared to a case where the probability map average value of multiple probability maps is not calculated, and further, the accuracy of the pseudo label can be improved when determining the pseudo label based on the probability map average value.
[0094] In addition, each component of each device illustrated in the present embodiment is a functional concept, and does not necessarily have to be physically configured as illustrated. In other words, the specific form of distribution and integration of each device is not limited to that illustrated, and all or a part of them can be functionally or physically distributed and integrated in any unit according to various loads and usage conditions. Furthermore, each processing function performed by each device can be realized in whole or in any part by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware using wired logic.
[0095] The method described in this embodiment can be realized by executing a prepared program on a computer such as a personal computer or a workstation. This program can be distributed via a network such as the Internet. This program can also be recorded on a non-transitory computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, an MO, or a DVD, and executed by being read from the recording medium by a computer.
[0096] According to at least one of the embodiments described above, the accuracy of medical image processing can be improved.
[0097] Although some embodiments have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, modifications, and combinations of embodiments can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents as described in the claims, as well as in the scope and spirit of the invention. [Explanation of symbols]
[0098] 10, 10A, 10B Medical image processing device 11 Labeled image data training function 12 1st Expansion 13 Attention setting function 14 2nd Expansion 15 Unlabeled image data training function 17 Image processing function
Claims
1. A labeled image data training step of training a deep neural network for performing medical image processing using the input labeled image data; a first dilation step of performing weak data dilation on the input unlabeled image data to obtain a first dilated image; an attention setting step of predicting the first extended image using the deep neural network and determining whether each pixel in the first extended image can be a pseudo label based on prediction information of the pixel; a second dilation step of performing strong data dilation on the first dilated image to obtain a second dilated image; an unlabeled image data training step of training the deep neural network using the second augmented image and the pseudo label determined in the attention setting step; an image processing step of processing an input medical image using the deep neural network updated based on the training results of the labeled image data and the training results of the unlabeled image data; A medical image processing method comprising:
2. The attention setting step includes: a probability map average value acquisition step of predicting the first extended image using the deep neural network to acquire a probability map, and calculating a probability map average value of the first extended image; a pseudo label determination step of determining whether the probability map average value corresponding to each pixel in the first extended image is greater than a predetermined threshold, and determining the probability map average value of pixels greater than the predetermined threshold as the pseudo label; The medical image processing method according to claim 1 , comprising:
3. The attention setting step includes: The method further includes a reliability weight determination step of determining a reliability weight for each pixel in the first dilated image with respect to the magnitude of the probability map average value for each pixel in the first dilated image; In the unlabeled image data training step, the second augmented images, the pseudo labels, and the confidence weights are used to train the deep neural network. The medical image processing method according to claim 2 .
4. In the unlabeled image data training step, the second augmented image is input to the deep neural network, a probability map of the second augmented image is predicted based on the deep neural network, and a training result is obtained that takes into account the confidence weights based on the probability map of the second augmented image, the pseudo label, and the confidence weights of each pixel. The medical image processing method according to claim 3.
5. The method further includes, before the first extension step, a region of interest extraction step of extracting, from the input unlabeled image data, a portion of data including a region of interest in the unlabeled image data as region of interest data based on a prediction result of the deep neural network; In the first dilation step, weak data dilation is performed on the region of interest data to obtain the first dilated image. The medical image processing method according to claim 1 .
6. The probability map average value acquisition step includes: a probability map acquisition step of acquiring one or more probability maps by predicting the first dilated image obtained after one or more position transformations using the deep neural network; a probability map average value calculation step of performing an inverse position transformation that is inverse to the position transformation on each of the one or more probability maps, and calculating a probability map average value of the one or more probability maps after the inverse position transformation; The medical image processing method according to claim 2 , comprising:
7. The probability map average value acquisition step includes: a probability map acquisition step of predicting the first augmented image using a plurality of the deep neural networks corresponding to a plurality of trainings, respectively, to acquire a plurality of probability maps; a probability map average value calculation step of calculating an average value of a plurality of the probability maps as a probability map average value; The medical image processing method according to claim 2 , comprising:
8. In the image processing step, at least one of the following processes is performed on the input medical image: segmentation of medical anatomical structures and segmentation of organ functional units. The medical image processing method according to claim 1 .
9. A labeled image data training unit that uses the input labeled image data to train a deep neural network for performing medical image processing; a first extension unit that performs weak data extension on the input unlabeled image data to obtain a first extended image; an attention setting unit that predicts the first extended image using the deep neural network and determines whether each pixel in the first extended image can be a pseudo label based on prediction information of the pixel; a second extension unit that performs strong data extension on the first extended image to obtain a second extended image; an unlabeled image data training unit that trains the deep neural network using the second augmented image and the pseudo label determined by the attention setting unit; an image processing unit that processes an input medical image using the deep neural network updated based on a training result of the labeled image data and a training result of the unlabeled image data; A medical image processing device comprising:
10. A computer-readable storage medium storing a program for causing a computer to execute each step of the medical image processing method according to claim 1.
11. A program for causing a computer to execute each step of the medical image processing method according to claim 1.
