Image processing method and related device, electronic device and storage medium
By determining substructure sub-regions in medical images based on individual conditions and converting the target area task into outlining several substructures, the problem of poor target area delineation in the existing technology is solved, the delineation efficiency and accuracy are improved, and the The range of supported diseases.
Patent Information
- Application Number
- CN202111012990.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing target area delineation methods are not effective in medical images and are difficult to adapt to the individual differences of different target objects, resulting in low delineation efficiency and accuracy.
By obtaining the medical image of the target object to be tested, the sub-regions of the substructure are determined based on individual conditions, and the target area delineation task is transformed into the task of outlining several substructures. The pre-trained delineation model is used combined with user interaction to dynamically adjust the target area to Adapt to individual differences.
It improves the effect and efficiency of target area delineation, reduces the workload of subsequent adjustments, enhances user experience, and expands the range of supported diseases.
Smart Images

Figure CN113633306B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to an image processing method and related devices, electronic equipment and storage media. Background Art
[0002] Medical images such as CT (Computed Tomography) and MRI (Magnetic Resonance Imaging) are of great significance in clinical applications such as target area delineation.
[0003] The existing target area delineation generally directly delineates the entire target area in the medical image, such as taking the medical image as a single input and directly delineating the entire target area in the medical image, or directly delineating the entire target area in the medical image by combining multimodal data such as medical images. The delineation method of directly delineating the entire target area often has poor delineation effect. In view of this, how to improve the target area delineation effect has become an urgent problem to be solved. Summary of the invention
[0004] The present application provides an image processing method and related devices, electronic equipment and storage medium.
[0005] The first aspect of the present application provides an image processing method, comprising: obtaining a medical image to be tested of a target object; wherein the target object involves a target disease, and the target area of the target disease is related to a plurality of substructures; based on the individual situation of the target object, determining a sub-area of the substructure in the medical image to be tested as a target sub-area; and based on the target sub-area, outlining the target area of the target disease in the medical image to be tested.
[0006] Therefore, a medical image of a target object to be tested is obtained, and the target object involves a target disease, and the target area of the target disease is related to several substructures. Then, based on the individual situation of the target object, a subregion of the substructure in the medical image to be tested is determined as a target subregion, and based on the target subregion, the target area of the target disease in the medical image to be tested is outlined, that is, in the process of target area delineation, the task of delineating the target area as a whole is converted into the task of delineating several substructures, and the target area delineation task is broken down into parts, and combined with the individual situation of the target object, the subregion of the substructure related to the individual situation is outlined, and the target area of the target disease is obtained based on these subregions, so that it can adapt to the individual differences of different target objects, which is conducive to improving the target area delineation effect. In addition, since the delineated target area can adapt to the individual differences of different target objects, has a good delineation effect, and can even be used directly without adjusting the target area, it can greatly reduce the workload required for subsequent adjustment of the target area, which is conducive to greatly improving the efficiency of target area delineation.
[0007] Wherein, based on the individual situation of the target object, a subregion of a substructure in the medical image to be tested is determined as a target subregion, including: based on the individual situation, selecting a target substructure from several substructures in the medical image to be tested, and outlining a subregion of the target substructure as the target subregion; or outlining subregions of several substructures in the medical image to be tested as candidate subregions, and selecting the target subregion from the candidate subregions based on the individual situation.
[0008] Therefore, based on individual conditions, a target substructure is selected from several substructures in the medical image to be tested, and a subregion of the target substructure is outlined as the target subregion. Alternatively, subregions of several substructures in the medical image to be tested are outlined as candidate subregions, and based on individual conditions, a target subregion is selected from the candidate subregions. That is, in the process of target area delineation, the target area can be obtained based on a workflow of first selecting the target substructure and then outlining the target subregion, or the target area can be obtained based on a workflow of first outlining the subregion and then selecting the target subregion. Therefore, different delineation habits can be met as much as possible, which is conducive to greatly improving user experience.
[0009] Among them, based on individual conditions, a target substructure is selected from several substructures in the medical image to be tested, including: displaying several first options; wherein the several first options respectively represent several substructures; and obtaining the target substructure based on the user's selection instruction for at least one first option according to individual conditions.
[0010] Therefore, by displaying several first options, and the several first options respectively representing several substructures, and based on the user's selection instruction for at least one first option according to individual circumstances, the target substructure is obtained. Therefore, in the workflow of first selecting the target substructure and then outlining the target sub-area, only light interaction is required to obtain the target substructure related to the individual situation. On the one hand, by introducing user participation in the interaction, it can be beneficial to improve the user experience. On the other hand, obtaining the target substructure through light interaction can also greatly reduce the user's workload in the target area outlining process.
[0011] Among them, based on individual circumstances, a target sub-region is selected from candidate sub-regions, including: displaying a number of second options; wherein the number of second options respectively represent a number of substructures; and obtaining the target sub-region based on a user's selection instruction for at least one second option according to individual circumstances.
[0012] Therefore, by displaying several second options, and the several second options respectively representing several substructures, and actively following the user's selection instructions for at least one second option according to individual circumstances, the target subregion is obtained. Therefore, in the workflow of first outlining the subregion and then selecting the target subregion, only light interaction is required to obtain the target substructure related to the individual situation. On the one hand, by introducing user participation in the interaction, it can help improve the user experience. On the other hand, obtaining the target substructure through light interaction can also help greatly reduce the user's workload in the target area outlining process.
[0013] The sub-regions are delineated using a delineation model suitable for the target disease, and the delineation model is trained using sample medical images, which are annotated with sample sub-regions of various substructures related to the target disease.
[0014] Therefore, since the sub-region is delineated using a delineation model suitable for the target disease, it can greatly improve the delineation efficiency of the sub-region of the substructure. And since the delineation model is trained using sample medical images, and the sample medical images are annotated with sample sub-regions of various substructures related to the target disease, it is possible to learn the characteristics of various substructures related to the target disease during the delineation model training process, which is beneficial to improving the performance of the delineation model.
[0015] Among them, the training steps of the delineation model include: using the delineation model to process the sample medical images to obtain the predicted sub-regions of each substructure related to the target disease; based on the differences between the sample sub-regions and the predicted sub-regions of each substructure, adjusting the network parameters of the delineation model.
[0016] Therefore, the delineation model is used to process the sample medical images to obtain the predicted sub-regions of each substructure related to the target disease, and the network parameters of the delineation model are adjusted based on the differences between the sample sub-regions and the predicted sub-regions of each substructure. Therefore, during the training process of the delineation model, the predicted sub-regions are constrained by the sample sub-regions, so that the delineation model can learn the characteristics of each substructure related to the target disease, which is conducive to improving the performance of the delineation model.
[0017] Among them, the delineation model applicable to the target disease belongs to several pre-trained delineation models, several delineation models are respectively applicable to several diseases, and the delineation model applicable to the target disease is selected from several delineation models based on the target disease.
[0018] Therefore, the delineation model applicable to the target disease belongs to several pre-trained delineation models, and several delineation models are respectively applicable to several diseases. The delineation model applicable to the target disease is selected from several delineation models based on the target disease, so it can be helpful to greatly expand the range of diseases supported for delineation.
[0019] The individual situation includes at least one of the target object's disease course information, the target object's pathological information of the target disease, and the target object's clinical information.
[0020] Therefore, by setting the individual situation to include at least one of the target object's disease course information, the target object's pathological information of the target disease, and the target object's clinical information, the target object's individual situation can be characterized from multiple aspects and angles, which is conducive to improving the accuracy of target area delineation.
[0021] The second aspect of the present application provides an image processing device, including: an image acquisition module, a structure delineation module and a target area acquisition module, the image acquisition module is used to acquire a medical image to be tested of a target object; wherein the target object involves a target disease, and the target area of the target disease is related to a number of substructures; the structure delineation module is used to determine a sub-region of a substructure in the medical image to be tested as a target sub-region based on the individual situation of the target object; the target area acquisition module is used to delineate the target area of the target disease in the medical image to be tested based on the target sub-region.
[0022] A third aspect of the present application provides an electronic device, comprising a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the image processing method in the first aspect.
[0023] A fourth aspect of the present application provides a computer-readable storage medium having program instructions stored thereon, which implement the image processing method in the first aspect when the program instructions are executed by a processor.
[0024] The above scheme obtains a medical image of a target object to be tested, and the target object involves a target disease, and the target area of the target disease is related to several substructures. Then, based on the individual situation of the target object, a subregion of the substructure in the medical image to be tested is determined as the target subregion, and based on the target subregion, the target area of the target disease in the medical image to be tested is outlined, that is, in the process of target area delineation, the task of delineating the target area as a whole is converted into the task of delineating several substructures, and the target area delineation task is broken down into parts, and combined with the individual situation of the target object, the subregion of the substructure related to the individual situation is outlined, and the target area of the target disease is obtained based on these subregions, so that it can adapt to the individual differences of different target objects, which is conducive to improving the target area delineation effect. In addition, since the delineated target area can adapt to the individual differences of different target objects, it can greatly reduce the workload required for subsequent adjustment of the target area, and can even be used directly without adjusting the target area, which is conducive to greatly improving the efficiency of target area delineation. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flowchart of an embodiment of the image processing method of the present application;
[0026] Figure 2 is a flow chart of an embodiment of a training delineation model;
[0027] Figure 3 is a flowchart of another embodiment of the image processing method of the present application;
[0028] Figure 4 It is a flowchart of another embodiment of the image processing method of the present application;
[0029] Figure 5 It is a schematic diagram of the framework of an embodiment of the image processing device of the present application;
[0030] Figure 6 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application;
[0031] Figure 7 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0032] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification.
[0033] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.
[0034] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. In addition, "many" in this article means two or more than two.
[0035] See also Figure 1 , Figure 1 It is a flowchart of an embodiment of the image processing method of the present application.
[0036] Specifically, the following steps may be included:
[0037] Step S11: Acquire a medical image of the target object to be tested.
[0038] In the disclosed embodiment, the target object relates to a target disease, and the target area of the target disease is associated with several substructures. Specifically, the substructures associated with the target disease may include anatomical functional structures with the same biological function or similar responsiveness to radiotherapy. For example, if the target disease may invade the lymphatic drainage area and the high-risk recurrence area, the substructures associated with the target disease may include the above-mentioned lymphatic drainage area and each substructure in the high-risk recurrence area. For example, in the case where the target disease is "colorectal cancer", the various substructures associated with the target disease may include, but are not limited to: presacral region, mesorectal region, internal iliac lymphatic drainage area, obturator lymphatic drainage area, external iliac lymphatic drainage area, etc.; or, in the case where the target disease is "breast cancer", the various substructures associated with the target disease may include, but are not limited to: internal mammary lymphatic drainage area, clavicular lymphatic drainage area, axillary lymphatic drainage area, etc. Other situations can be deduced by analogy, and no examples are given here one by one. In addition, it should be noted that, for the two different diseases mentioned above, "colorectal cancer" and "breast cancer", usually the substructures associated with different diseases are also different.
[0039] In one implementation scenario, the medical images to be tested may include, but are not limited to, CT images, MR images, etc., which are not limited here.
[0040] In one implementation scenario, the target object may involve at least one target disease, such as the target object only involves one target disease (e.g., "breast cancer" or "colorectal cancer"); or, the target object may also involve multiple target diseases (e.g., "breast cancer" and "colorectal cancer", etc.), which is not limited here.
[0041] In one implementation scenario, the target disease can be determined by medical staff based on the medical image to be tested. For example, after scanning and obtaining the medical image to be tested of the target object, the imaging physician or specialist physician can make a judgment based on their own experience and professional knowledge to determine the target disease suffered by the target object.
[0042] In an implementation scenario, the target disease can also be obtained by automatically outlining based on the medical image to be tested. For example, in order to improve the efficiency of disease outlining, a disease outlining model can be pre-trained, and the disease outlining model can include but is not limited to: convolution layer, pooling layer, fully connected layer, etc., which are not limited here. On this basis, the medical image to be tested can be input into the disease outlining model to obtain the target disease involved in the medical image to be tested. Specifically, the disease outlining model can outline the predicted probability values of several diseases, and the disease corresponding to the maximum predicted probability value can be used as the target disease. In addition, in order to improve the accuracy of the disease outlining model, before performing disease detection, the disease outlining model can be trained using sample medical images, and the sample medical images can be labeled with the sample diseases involved. For example, the sample medical image obtained by scanning a patient suffering from "colorectal cancer" can be labeled with the sample disease "colorectal cancer", and the sample medical image obtained by scanning a patient suffering from "breast cancer" can be labeled with the sample disease "breast cancer", and other situations can be deduced by analogy, and examples are not given one by one here. On this basis, the disease delineation model can be used to detect the disease types in the sample medical images to obtain the predicted disease types, and then adjust the network parameters of the disease delineation model based on the difference between the predicted disease types and the sample disease types. Specifically, the disease delineation model can delineate the predicted probability values of several diseases, and the disease type corresponding to the maximum predicted probability value can be used as the predicted disease type. Then, based on the sample disease type, the predicted probability values of the above-mentioned several diseases can be processed by the cross entropy loss function to obtain the loss value of the disease delineation model, and then the network parameters of the disease delineation model can be adjusted based on the loss value using optimization methods such as gradient descent. For the specific adjustment process of the network parameters, please refer to the technical details of optimization methods such as gradient descent, which will not be repeated here.
[0043] Step S12: Based on the individual situation of the target object, a sub-region of the sub-structure in the medical image to be tested is determined as the target sub-region.
[0044] In an implementation scenario, the individual situation may include, but is not limited to: the course of disease information of the target object, the pathological information of the target disease suffered by the target object, the clinical information of the target object, etc., which are not limited here. In the above manner, by setting the individual situation to include: the course of disease information of the target object, the pathological information of the target disease suffered by the target object, and at least one of the clinical information of the target object, the individual situation of the target object can be characterized from multiple aspects and angles, which is conducive to improving the accuracy of target area delineation. In a specific implementation scenario, the course of disease information of the target object may include any of the following: stage one, stage two, and stage three. In addition, the course of disease information may also include a specific TNM stage (Tumor node metastasis classification), which is not limited here. Taking the target disease "colorectal cancer" as an example, in the first stage of the course of disease, cancer cells may spread to the rectal mesentery, in the second stage of the course of disease, cancer cells may further spread to, and in the third stage of the course of disease, cancer cells may further spread. Other situations can be deduced by analogy, and no one by one distance is mentioned here. That is, in different courses of disease, the invaded substructures may not be exactly the same. It should be noted that the above examples of different courses of "colorectal cancer" are merely possible situations in real scenarios and do not limit the actual invaded substructures.
[0045] In a specific implementation scenario, the pathological information of the target object suffering from the target disease may include but is not limited to: the cause of the disease, the mechanism of the disease, and the changes in the functions and metabolism of cells, tissues, organs, etc. during the disease process, etc. Taking the target disease "colorectal cancer" as an example, the cause of colorectal cancer for target object A may be "high-fat and low-fiber eating habits", while the cause of colorectal cancer for target object B may be "genetic factors". That is, for patients suffering from the same disease, their pathologies may not be exactly the same. It should be noted that the above are only illustrative examples of different pathologies of "colorectal cancer" and do not limit the actual pathology.
[0046] In a specific implementation scenario, the clinical information of the target object may include, but is not limited to: biopsy, routine examination (such as blood, urine, etc.), physical examination, etc., which are not limited here.
[0047] In a specific implementation scenario, the individual situation of the target object may also include other information, such as but not limited to image information, which is not limited here.
[0048] In one implementation scenario, as a workflow, a target substructure can be selected from a number of substructures in the medical image to be tested based on individual conditions, and a subregion of the target substructure can be delineated as a target subregion. In other words, in the process of delineating the target region, a workflow of first selecting the target substructure and then delineating the target subregion can be used, so that the target region can be delineated based on the target subregion.
[0049] In a specific implementation scenario, several first options may be displayed, and the several first options respectively represent several substructures related to the target disease, and the target substructure is determined based on the user's selection instruction for at least one first option according to individual circumstances. Still taking the target disease "colorectal cancer" as an example, the following first options may be displayed: presacral region, mesorectal region, internal iliac lymphatic drainage region, obturator lymphatic drainage region, external iliac lymphatic drainage region. Medical staff (such as radiologists, specialists) can select the options presacral region and mesorectal region according to the individual circumstances of the target object (such as being in the "first stage" of the disease, the cause of the disease is "eating habits", etc.), and the target substructures can be obtained: presacral region, mesorectal region. Other situations can be deduced by analogy, and examples are not given one by one here. In the above method, in the workflow of first selecting the target substructure and then outlining the target sub-area, only light interaction is required to obtain the target substructure related to the individual situation. On the one hand, by introducing users to participate in the interaction, it can help improve the user experience. On the other hand, determining the target substructure through light interaction can also help greatly reduce the user's workload in the target area outlining process.
[0050] In a specific implementation scenario, in order to improve the delineation efficiency, a delineation model suitable for the target disease can be pre-trained, so that the delineation model can be used to detect the medical image to be tested, and the target sub-region of the target substructure in the medical image to be tested can be obtained. Specifically, the delineation model can include but is not limited to segmentation networks such as U-Net, which are not limited here. The training process of the delineation model can refer to the following related public embodiments, which will not be repeated here.
[0051] In a specific implementation scenario, in order to further improve the range of diseases supported by delineation, several delineation models applicable to several diseases can be pre-trained, and after learning the target diseases involved in the target object, the delineation model applicable to the target disease can be selected from the above several delineation models to process the medical image to be tested. For example, delineation models applicable to different diseases such as "colorectal cancer", "lung cancer", "breast cancer", "nasopharyngeal carcinoma", and "cervical cancer" can be pre-trained. When it is learned that the target object involves the target disease "colorectal cancer", the delineation model applicable to the target disease "colorectal cancer" can be selected to process the medical image to be tested. Other situations can be deduced by analogy, and examples are not given one by one here. In the above method, the delineation model applicable to the target disease belongs to several delineation models that have been pre-trained, and several delineation models are applicable to several diseases respectively. The delineation model applicable to the target disease is selected from several delineation models based on the target disease, so it can be beneficial to greatly expand the range of diseases supported by delineation.
[0052] In one implementation scenario, as another workflow, several sub-regions of substructures related to the target disease in the medical image to be tested can be first delineated as candidate sub-regions, and the target sub-region can be selected from the candidate sub-regions based on individual conditions. In other words, in the process of target area delineation, a workflow of first delineating the sub-region and then selecting the target sub-region can also be used, so that the target area can be obtained based on the target sub-region later.
[0053] In a specific implementation scenario, several second options may be displayed, and the several second options respectively represent several substructures related to the target disease, and based on the user's selection instruction for at least one second option according to individual circumstances, the target sub-region is obtained. Still taking the target disease "colorectal cancer" as an example, after delineating the sub-regions of each substructure related to the target disease in the medical image to be tested (i.e., the presacral region, the mesorectal region, the internal iliac lymphatic drainage region, the obturator lymphatic drainage region, and the external iliac lymphatic drainage region), these sub-regions can be used as candidate sub-regions, and the following second option is displayed: presacral region, mesorectal region, internal iliac lymphatic drainage region, obturator lymphatic drainage region, and external iliac lymphatic drainage region. Medical staff (such as imaging physicians and specialists) can select the options presacral region and mesorectal region according to the individual situation of the target object (such as being in the "first stage" of the disease course, the cause of the disease is "dietary habits", etc.), and then the candidate sub-region of the substructure "presacral region" and the candidate sub-region of the substructure "presacral region" can be used as the target sub-region. Other situations can be deduced by analogy, and no examples are given here one by one. In the above method, in the workflow of first outlining the sub-region and then selecting the target sub-region, only light interaction is required to obtain the target sub-region related to the individual situation. On the one hand, by introducing users to participate in the interaction, it can help improve the user experience. On the other hand, obtaining the target sub-region through light interaction can also help greatly reduce the user's workload in the target area outlining process.
[0054] In a specific implementation scenario, in order to improve the delineation efficiency, a delineation model suitable for the target disease can be pre-trained, so that the medical image to be tested can be processed using the delineation model to obtain the sub-regions of each substructure related to the target disease in the medical image to be tested. The specific training process of the delineation model can be referred to the following related disclosed embodiments, which will not be described here.
[0055] In a specific implementation scenario, in order to further increase the range of diseases supported for delineation, several delineation models applicable to several diseases can be pre-trained, and after learning the target diseases involved in the target object, a delineation model applicable to the target disease can be selected from the above several delineation models, so as to facilitate the delineation model to process the medical image to be tested. For details, please refer to the above related description, which will not be repeated here.
[0056] It should be noted that the above-mentioned several first options and several second options may be the same, and the order of the first options and the order of the second options may be different or the same, which is not limited here.
[0057] Step S13: based on the target sub-region, outlining the target area of the target disease in the medical image to be tested.
[0058] In one implementation scenario, the combined area of the target sub-areas can be used as the target area of the target disease in the medical image to be tested, so the target area of the target disease can be obtained by simple combination. Still taking "colorectal cancer" as an example, when the individual situation of the target object includes: in the case of "stage one" course of disease, the target sub-area of the substructure "presacral region" and the target sub-area of the substructure "mesorectal region" can be obtained, after which the combined area of each target sub-area can be used as the target area of the target disease; or, when the individual situation of the target object includes: in the case of "stage three" course of disease, the target sub-area of each substructure can be obtained, after which the combined area of each target sub-area can be used as the target area of the target disease. Other situations can be deduced by analogy, and examples are not given one by one here. That is to say, for target objects with different individual situations, or for different time nodes of the same target object, even if the target disease is the same, a target area that matches the target disease and the individual situation can be obtained in the end.
[0059] In one implementation scenario, after the combined area of the target sub-areas is used as the target area of the target disease in the medical image to be tested, the user's modification information on the contour boundary of the target area can also be received to achieve self-service update of the target area. Specifically, the target area can be displayed, and the user can adjust the contour boundary of the target area based on actual needs (such as radiotherapy planning, etc.) to obtain an updated target area.
[0060] The above scheme obtains a medical image of a target object to be tested, and the target object involves a target disease, and the target area of the target disease is related to several substructures. Then, based on the individual situation of the target object, a subregion of the substructure in the medical image to be tested is determined as the target subregion, and based on the target subregion, the target area of the target disease in the medical image to be tested is outlined, that is, in the process of target area delineation, the task of delineating the target area as a whole is converted into the task of delineating several substructures, and the target area delineation task is broken down into parts, and combined with the individual situation of the target object, the subregion of the substructure related to the individual situation is outlined, and the target area of the target disease is obtained based on these subregions, so that it can adapt to the individual differences of different target objects, which is conducive to improving the target area delineation effect. In addition, since the delineated target area can adapt to the individual differences of different target objects, it can greatly reduce the workload required for subsequent adjustment of the target area, and can even be used directly without adjusting the target area, which is conducive to greatly improving the efficiency of target area delineation.
[0061] See also Figure 2 , Figure 2 1 is a flowchart of an embodiment of training a delineation model. As described in the above disclosed embodiment, the sub-region can be delineated using a delineation model suitable for the target disease, and the delineation model can be trained using sample medical images. The specific training process includes the following steps:
[0062] Step S21: Process the sample medical image using the delineation model to obtain predicted sub-regions of each substructure related to the target disease.
[0063] In the disclosed embodiment, the sample medical image is annotated with sample sub-regions of each substructure related to the target disease, that is, although in the real scene, the target area may not cover all substructures of the target disease, in order to enable the delineation model to learn the image features of each substructure and enable it to accurately delineate each substructure, the sample medical image can be annotated with sample sub-regions of all substructures related to the target disease. Still taking the target disease "colorectal cancer" as an example, as described in the aforementioned disclosed embodiment, all substructures related thereto include: presacral region, mesorectal region, internal iliac lymphatic drainage region, obturator lymphatic drainage region, external iliac lymphatic drainage region, then sample medical images involving the target disease "colorectal cancer" can be collected, and sample sub-regions of each substructure (such as presacral region, mesorectal region, internal iliac lymphatic drainage region, obturator lymphatic drainage region, external iliac lymphatic drainage region) can be annotated on each sample medical image. Other situations can be deduced by analogy, and examples are not given one by one here.
[0064] Step S22: adjusting the network parameters of the delineation model based on the differences between the sample sub-regions and the predicted sub-regions of each sub-structure.
[0065] In one implementation scenario, the delineation model can detect the substructure to which each sample pixel in the sample medical image belongs, and use the connected domain formed by the sample pixels belonging to the same substructure as the sample sub-region of the substructure. Specifically, the delineation model can detect the predicted probability value that each sample pixel in the sample medical image belongs to each substructure related to the target disease, and on this basis, the substructure corresponding to the maximum predicted probability value can be used as the substructure to which the sample pixel belongs. Based on this, the substructure to which each sample pixel actually belongs can be determined based on the sample sub-region of each substructure in the sample medical image, so that the predicted probability value of each sample pixel belonging to each substructure related to the target disease can be processed based on the cross entropy loss function to obtain the loss value of the delineation model, and the network parameters of the delineation model can be adjusted according to the loss value. For example, an optimization method such as gradient descent can be used to adjust the network parameters based on the loss value. The adjustment process of the network parameters can refer to the technical details of optimization methods such as gradient descent, which will not be repeated here.
[0066] In one implementation scenario, the intersection-and-union ratio between the sample sub-region and the prediction sub-region of each sub-structure can also be processed based on the Dice loss function to obtain a loss value, and the network parameters of the delineation model can be adjusted according to the loss value. For example, an optimization method such as gradient descent can be used to adjust the network parameters based on the loss value. The adjustment process of the network parameters can refer to the technical details of optimization methods such as gradient descent, which will not be repeated here.
[0067] In addition, as mentioned above, in order to expand the range of diseases supported by delineation, sample medical images of different diseases can be collected, and sample sub-regions of all substructures related to the disease can be annotated in the sample medical images of each disease, so that the following training steps can be performed for each disease: the sample medical images of the disease are processed using a delineation model suitable for the disease to obtain predicted sub-regions of each substructure related to the disease, and based on the differences between the sample sub-regions and predicted sub-regions of each substructure, the network parameters of the delineation model suitable for the disease are adjusted to obtain delineation models suitable for different diseases. The specific process of the above training steps can refer to the training steps of the delineation model suitable for the target disease mentioned above, which will not be repeated here. On this basis, several delineation models suitable for different diseases can be obtained, so that after knowing the target disease involved in the target object, a delineation model suitable for the target disease can be selected from several delineation models, and the medical image to be tested can be processed using the delineation model, so it can be helpful to greatly expand the range of diseases supported by delineation.
[0068] The above scheme uses the delineation model to process the sample medical images to obtain the predicted sub-regions of each substructure related to the target disease, and adjusts the network parameters of the delineation model based on the differences between the sample sub-regions and the predicted sub-regions of each substructure. Therefore, during the training process of the delineation model, the predicted sub-regions are constrained by the sample sub-regions, so that the delineation model can learn the characteristics of each substructure related to the target disease, which is beneficial to improving the performance of the delineation model.
[0069] See also Figure 3 , Figure 3 This is a flowchart of another embodiment of the image processing method of the present application. Specifically, it may include the following steps:
[0070] Step S31: obtaining a medical image of a target object to be tested, and obtaining a target disease involved in the target object.
[0071] In the disclosed embodiment, the target area of the target disease is related to several substructures. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here. In addition, the target disease can be determined by medical staff based on the medical image to be tested, or the target disease can be automatically delineated based on the medical image to be tested. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0072] Step S32: Based on individual circumstances, a target substructure is selected from a number of substructures in the medical image to be tested.
[0073] Specifically, several first options may be displayed, and the several first options respectively represent several substructures related to the target disease, and then the target substructure is determined based on the user's selection instruction for at least one first option according to individual circumstances. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0074] Step S33: Processing the medical image to be tested using the delineation model suitable for the target disease to obtain a target sub-region of the target sub-structure in the medical image to be tested.
[0075] In one implementation scenario, the delineation model is trained using sample medical images, which are annotated with sample sub-regions of various sub-structures related to the target disease. The training process of the delineation model can be referred to the aforementioned disclosed embodiment, which will not be described in detail here.
[0076] In an implementation scenario, in order to further increase the range of diseases supported for delineation, several delineation models applicable to several diseases can be pre-trained, and after learning the target diseases involved in the target object, a delineation model applicable to the target disease can be selected from the above several delineation models, so as to use the delineation model to process the medical image to be tested, and obtain the target sub-region of the target substructure in the medical image to be tested. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0077] Step S34: based on the target sub-region, outlining the target area of the target disease in the medical image to be tested.
[0078] For details, please refer to the aforementioned disclosed embodiments, which will not be described again here.
[0079] The above scheme obtains a medical image to be tested of a target object, and obtains a target disease involved in the target object. Based on individual conditions, a target substructure is selected from several substructures in the medical image to be tested, and then a delineation model suitable for the target disease is used to process the medical image to be tested, so as to obtain a target subregion of the target substructure in the medical image to be tested. Based on this, the target area of the target disease in the medical image to be tested is delineated based on the target subregion. Therefore, in the process of target area delineation, on the one hand, by breaking down the target area delineation task into parts, and combining the individual conditions of the target object, delineating the subregion of the substructure related to the individual conditions, and obtaining the target area of the target disease based on these subregions, it is possible to adapt to the individual differences of different target objects, which is conducive to improving the target area delineation effect. On the other hand, since the delineated target area can adapt to the individual differences of different target objects, it can greatly reduce the workload required for subsequent adjustment of the target area, and can even be used directly without adjusting the target area, which is conducive to greatly improving the efficiency of target area delineation. On the other hand, by introducing user participation in interaction, it is conducive to improving user experience, and obtaining the target substructure through lightweight interaction can also be conducive to greatly reducing the workload of users in the process of target area delineation.
[0080] See also Figure 4 , Figure 4 This is a flowchart of another embodiment of the image processing method of the present application. Specifically, it may include the following steps:
[0081] Step S41: obtaining a medical image of a target object to be tested, and obtaining a target disease involved in the target object.
[0082] In the disclosed embodiment, the target area of the target disease is related to several substructures. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here. In addition, the target disease can be determined by medical staff based on the medical image to be tested, or the target disease can be automatically delineated based on the medical image to be tested. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0083] Step S42: The medical image to be tested is processed using a delineation model suitable for the target disease to obtain sub-regions of several sub-structures in the medical image to be tested as candidate sub-regions.
[0084] In one implementation scenario, the delineation model is trained using sample medical images, which are annotated with sample sub-regions of various sub-structures related to the target disease. The training process of the delineation model can be referred to the aforementioned disclosed embodiment, which will not be described in detail here.
[0085] In an implementation scenario, in order to further increase the range of diseases supported for delineation, several delineation models applicable to several diseases can be pre-trained, and after learning the target diseases involved in the target object, a delineation model applicable to the target diseases can be selected from the above several delineation models, so as to use the delineation model to process the medical image to be tested, and obtain sub-regions of several sub-structures in the medical image to be tested as candidate sub-regions. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0086] Step S43: Select a target sub-region from the candidate sub-regions based on individual circumstances.
[0087] Specifically, several second options may be displayed, and the several second options respectively represent several substructures related to the target disease, and based on the user's selection instruction for at least one second option according to individual circumstances, the target subregion is obtained. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0088] Step S44: based on the target sub-region, outlining the target area of the target disease in the medical image to be tested.
[0089] For details, please refer to the aforementioned disclosed embodiments, which will not be described again here.
[0090] In the above scheme, a medical image to be tested of a target object is obtained, and a target disease involved in the target object is obtained. The medical image to be tested is processed using a delineation model suitable for the target disease, and sub-regions of several sub-structures in the medical image to be tested are obtained as candidate sub-regions. Based on individual conditions, a target sub-region is selected from the candidate sub-regions, and based on this, a target area of the target disease in the medical image to be tested is delineated based on the target sub-region. Therefore, in the process of target area delineation, on the one hand, by breaking down the target area delineation task into parts, and combining the individual conditions of the target object, the sub-regions of the sub-structure related to the individual conditions are delineated, and the target area of the target disease is obtained based on these sub-regions, so that the individual differences of different target objects can be adapted, which is conducive to improving the target area delineation effect. On the other hand, since the delineated target area can adapt to the individual differences of different target objects, the workload required for subsequent adjustment of the target area can be greatly reduced, and the target area can even be used directly without adjusting the target area, which is conducive to greatly improving the efficiency of target area delineation. On the other hand, by introducing user participation in interaction, it can be conducive to improving user experience, and obtaining the target sub-structure through lightweight interaction can also be conducive to greatly reducing the workload of users in the process of target area delineation.
[0091] See also Figure 5 , Figure 51 is a schematic diagram of a framework of an embodiment of an image processing device 50 of the present application. The image processing device 50 includes: an image acquisition module 51, a structure delineation module 52 and a target region acquisition module 53. The image acquisition module 51 is used to acquire a medical image to be tested of a target object; wherein the target object involves a target disease, and the target region of the target disease is related to a plurality of substructures; the structure delineation module 52 is used to determine a subregion of a substructure in the medical image to be tested as a target subregion based on the individual condition of the target object; and the target region acquisition module 53 is used to delineate the target region of the target disease in the medical image to be tested based on the target subregion.
[0092] In the above scheme, during the target area delineation process, the task of delineating the entire target area is converted into the task of delineating several substructures. By breaking down the target area delineation task into parts and combining the individual conditions of the target object, the sub-regions of the substructures related to the individual conditions are delineated, and the target areas of the target diseases are obtained based on these sub-regions, so as to adapt to the individual differences of different target objects and help improve the target area delineation effect. In addition, since the delineated target area can adapt to the individual differences of different target objects, it can greatly reduce the workload required for subsequent adjustment of the target area, and can even be used directly without adjusting the target area, which is conducive to greatly improving the efficiency of target area delineation.
[0093] In some disclosed embodiments, the structure delineation module 52 includes a first delineation submodule for selecting a target substructure from several substructures in the medical image to be tested based on individual circumstances, and delineating a subregion of the target substructure as a target subregion, or the structure delineation module 52 includes a second delineation submodule for delineating subregions of several substructures in the medical image to be tested as candidate subregions, and selecting a target subregion from the candidate subregions based on individual circumstances.
[0094] Therefore, the target area can be obtained based on the workflow of first selecting the target substructure and then outlining the target sub-region, or the target area can be obtained based on the workflow of first outlining the sub-region and then selecting the target sub-region. Therefore, different outlining habits can be met as much as possible, which is conducive to greatly improving the user experience.
[0095] In some disclosed embodiments, the first outlining submodule includes a first display unit for displaying several first options; wherein the several first options respectively represent several substructures; the first outlining submodule includes a first selection unit for determining the target substructure based on the user's selection instruction for at least one first option according to individual circumstances.
[0096] Therefore, in the workflow of first selecting the target substructure and then outlining the target sub-area, only light interaction is required to obtain the target substructure related to the individual situation. On the one hand, by introducing users to participate in the interaction, it can help improve the user experience. On the other hand, obtaining the target substructure through light interaction can also greatly reduce the user's workload in the target area outlining process.
[0097] In some disclosed embodiments, the second outlining submodule includes a second display unit for displaying a number of second options; wherein the number of second options respectively represent a number of substructures; the second outlining submodule includes a second selection unit for obtaining a target sub-area based on a user's selection instruction for at least one second option according to individual circumstances.
[0098] Therefore, in the workflow of first outlining the sub-region and then selecting the target sub-region, only light interaction is required to obtain the target substructure related to the individual situation. On the one hand, by introducing users to participate in the interaction, it can help improve the user experience. On the other hand, obtaining the target substructure through light interaction can also help greatly reduce the user's workload in the target area outlining process.
[0099] In some disclosed embodiments, the sub-regions are delineated using a delineation model suitable for the target disease, and the delineation model is trained using sample medical images, which are annotated with sample sub-regions of various substructures related to the target disease.
[0100] Therefore, since the sub-region is delineated using a delineation model suitable for the target disease, it can greatly improve the delineation efficiency of the sub-region of the substructure. And since the delineation model is trained using sample medical images, and the sample medical images are annotated with sample sub-regions of various substructures related to the target disease, it is possible to learn the characteristics of various substructures related to the target disease during the delineation model training process, which is beneficial to improving the performance of the delineation model.
[0101] In some disclosed embodiments, the image processing device 50 also includes a sample delineation module for processing a sample medical image using a delineation model to obtain predicted sub-regions of each substructure related to the target disease; the image processing device 50 also includes a parameter adjustment module for adjusting the network parameters of the delineation model based on the differences between the sample sub-regions and the predicted sub-regions of each substructure.
[0102] Therefore, the delineation model is used to process the sample medical images to obtain the predicted sub-regions of each substructure related to the target disease, and the network parameters of the delineation model are adjusted based on the differences between the sample sub-regions and the predicted sub-regions of each substructure. Therefore, during the training process of the delineation model, the predicted sub-regions are constrained by the sample sub-regions, so that the delineation model can learn the characteristics of each substructure related to the target disease, which is conducive to improving the performance of the delineation model.
[0103] In some disclosed embodiments, the delineation model applicable to the target disease belongs to several pre-trained delineation models, the several delineation models are respectively applicable to several diseases, and the delineation model applicable to the target disease is selected from the several delineation models based on the target disease.
[0104] Therefore, the delineation model used for the target disease belongs to several pre-trained delineation models, and several delineation models are respectively applicable to several diseases. The delineation model applicable to the target disease is selected from several delineation models based on the target disease, so it can help to greatly expand the range of diseases supported for delineation.
[0105] In some disclosed embodiments, the individual condition includes: at least one of the target subject's disease course information, the target subject's pathological information of the target disease, and the target subject's clinical information.
[0106] Therefore, by setting the individual situation to include at least one of the target object's disease course information, the target object's pathological information of the target disease, and the target object's clinical information, the target object's individual situation can be characterized from multiple aspects and angles, which is conducive to improving the accuracy of target area delineation.
[0107] See also Figure 6 , Figure 6 : is a schematic diagram of a framework of an embodiment of an electronic device 60 of the present application. The electronic device 60 includes a memory 61 and a processor 62 coupled to each other, and the processor 62 is used to execute program instructions stored in the memory 61 to implement the steps of any of the above-mentioned image processing method embodiments. In a specific implementation scenario, the electronic device 60 may include but is not limited to: a microcomputer, a server, and in addition, the electronic device 60 may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.
[0108] Specifically, the processor 62 is used to control itself and the memory 61 to implement the steps of any of the above-mentioned image processing method embodiments. The processor 62 can also be called a CPU (Central Processing Unit). The processor 62 may be an integrated circuit chip with signal processing capabilities. The processor 62 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 62 can be implemented by an integrated circuit chip.
[0109] In the above scheme, during the target area delineation process, the task of delineating the entire target area is converted into the task of delineating several substructures. By breaking down the target area delineation task into parts and combining the individual conditions of the target objects, sub-regions of the substructures related to the individual conditions are delineated, and the target areas of the target diseases are obtained based on these sub-regions. This can adapt to the individual differences of different target objects and is conducive to improving the target area delineation effect.
[0110] See also Figure 7 , Figure 7 The schematic diagram of the framework of an embodiment of a computer-readable storage medium 70 of the present application. The computer-readable storage medium 70 stores program instructions 701 that can be executed by a processor, and the program instructions 701 are used to implement the steps of any of the above-mentioned image processing method embodiments.
[0111] In the above scheme, during the target area delineation process, the task of delineating the entire target area is converted into the task of delineating several substructures. By breaking down the target area delineation task into parts and combining the individual conditions of the target objects, sub-regions of the substructures related to the individual conditions are delineated, and the target areas of the target diseases are obtained based on these sub-regions. This can adapt to the individual differences of different target objects and is conducive to improving the target area delineation effect.
[0112] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
Claims
1. An image processing method, It is characterized in that include: Acquire a medical image of a target object to be tested; wherein the target object involves a target disease, and the target area of the target disease is related to a plurality of substructures, and the substructures related to the target disease are substructures that may be invaded when the target disease is suffered; Based on the individual condition of the target object, a subregion of the substructure in the medical image to be tested is determined as a target subregion; wherein the individual condition includes: at least one of the course of disease information of the target object, the pathological information of the target object suffering from the target disease, and the clinical information of the target object; Based on the target sub-region, outlining the target area of the target disease in the medical image to be tested; Wherein, determining the subregion of the substructure in the medical image to be tested as the target subregion based on the individual condition of the target object includes: Based on the individual situation, selecting a target substructure from the plurality of substructures in the medical image to be tested, and outlining a subregion of the target substructure as a target subregion; Alternatively, subregions of the plurality of substructures in the medical image to be tested are delineated as candidate subregions, and a target subregion is selected from the candidate subregions based on the individual situation.
2. The method according to claim 1, It is characterized in that The step of selecting a target substructure from the plurality of substructures in the medical image to be tested based on the individual situation includes: Displaying a plurality of first options; wherein the plurality of first options respectively represent the plurality of substructures; The target substructure is determined based on a user's selection instruction for at least one of the first options according to the individual situation.
3. The method according to claim 1, It is characterized in that The selecting a target sub-region from the candidate sub-regions based on the individual situation includes: Displaying a plurality of second options; wherein the plurality of second options respectively represent the plurality of substructures; The target sub-region is obtained based on a selection instruction of the user for at least one of the second options according to the individual situation.
4. The method according to any one of claims 1 to 3, It is characterized in that The sub-regions are delineated using a delineation model suitable for the target disease, and the delineation model is trained using sample medical images, and the sample medical images are annotated with sample sub-regions of each of the substructures related to the target disease.
5. The method according to claim 4, It is characterized in that The training steps of the delineation model include: Processing the sample medical image using the delineation model to obtain predicted sub-regions of each of the substructures associated with the target disease; Based on the differences between the sample subregions and the predicted subregions of each of the substructures, network parameters of the delineation model are adjusted.
6. The method according to claim 4, It is characterized in that The delineation model applicable to the target disease belongs to several pre-trained delineation models, and the several delineation models are respectively applicable to several diseases, and the delineation model applicable to the target disease is selected from the several delineation models based on the target disease.
7. An image processing device, It is characterized in that include: An image acquisition module, used to acquire a medical image to be tested of a target object; wherein the target object involves a target disease, and the target area of the target disease is related to a plurality of substructures, and the substructures related to the target disease are substructures that may be invaded when suffering from the target disease; A structure delineation module, configured to determine, based on the individual condition of the target object, a subregion of the substructure in the medical image to be tested as a target subregion; wherein the individual condition includes: at least one of the course of disease information of the target object, the pathological information of the target object suffering from the target disease, and the clinical information of the target object; A target region acquisition module, used for outlining the target region of the target disease in the medical image to be tested based on the target sub-region; Among them, the structure delineation module includes a first delineation submodule or a second delineation submodule, the first delineation submodule is used to select a target substructure from the several substructures in the medical image to be tested based on the individual situation, and delineate a subregion of the target substructure as a target subregion, and the second delineation submodule is used to delineate subregions of the several substructures in the medical image to be tested as candidate subregions, and select a target subregion from the candidate subregions based on the individual situation.
8. An electronic device, It is characterized in that It comprises a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the image processing method according to any one of claims 1 to 6.
9. A computer-readable storage medium having program instructions stored thereon, It is characterized in that When the program instructions are executed by a processor, the image processing method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Target area image segmentation system and device
CN110120052A
Image segmentation method, radiotherapy system, computer equipment and storage medium
CN112001925A
Training method of an image detection model,related device thereof, equipment and storage medium
CN112200802A
