Organ contouring method, medical imaging system and storage medium
By determining the organ outline range and establishing an outline template in the medical imaging system, using the GPU to outline the organs, combined with CPU processing, the problem of flexibility and timeliness of the organ outline outline methods in the existing technology is solved, and the outline speed is improved. and flexibility to meet clinical needs.
Patent Information
- Application Number
- CN202110817145.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-20
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-07-20
AI Technical Summary
Existing organ contouring methods cannot take into account both flexibility and timeliness, resulting in a cumbersome and time-consuming workflow for radiotherapy doctors.
By acquiring medical imaging data, the organ outline range is determined and an outline template is established. The corresponding outline model is called for organ outline outline. The GPU is used for fast and efficient outline, and the CPU is used for image preprocessing and ranking to ensure the accuracy and timeliness of the outline. sex.
It improves the speed and flexibility of organ contouring, reduces computing resource requirements, meets various clinical needs, and ensures the timeliness of contouring.
Smart Images

Figure CN113536575B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of medical image processing, and in particular to an organ contour delineation method, a medical imaging system and a storage medium. Background Art
[0002] Clinically, after obtaining the patient's medical imaging data, the radiation oncologist needs to browse the medical imaging data and determine the patient information, cancerous areas, and organs at risk, and then complete the outline of the cancerous areas and organs at risk in the medical imaging data, and upload the medical imaging data containing the organ outline data to the radiation therapy planning system so that the radiation therapy physicist can formulate a radiation therapy plan for the medical imaging data. It can be seen that the workflow of radiation oncologists is relatively cumbersome. Although manual outline of organ contours has high flexibility, it will consume a lot of energy and time of radiation oncologists.
[0003] With the development of automatic recognition technology, an automatic contouring model based on deep learning has emerged. However, this automatic contouring model usually corresponds to a certain scanned part, and the doctor needs to manually select the organ to be contoured. After the contouring is completed, the doctor will review it. This process is less flexible and cannot meet various clinical needs. In addition, its establishment process is relatively complicated, and a large amount of computing resources are required during operation, making it difficult to ensure the timeliness of contouring.
[0004] In summary, the existing organ contouring methods have the problem of being unable to balance flexibility and timeliness. Summary of the invention
[0005] The embodiments of the present invention provide an organ contour delineation method, a medical imaging system and a storage medium, which solve the problem that the existing organ contour delineation method cannot take into account both flexibility and timeliness.
[0006] In a first aspect, an embodiment of the present invention provides a method for outlining an organ contour, the method comprising:
[0007] Acquire the medical image data to be delineated, and determine the delineation range of the organ in the medical image data;
[0008] Determining a delineation template according to the organ delineation range, wherein the delineation template includes at least two organ identifiers;
[0009] The delineation model corresponding to the delineation template is called to perform contour delineation of the corresponding organ in the organ delineation range to obtain organ contour data of the medical image data.
[0010] In a second aspect, an embodiment of the present invention further provides a medical imaging system, the system comprising: a CPU, a GPU and a storage device;
[0011] The storage device is used to store one or more first programs and one or more second programs;
[0012] When the one or more first programs are executed by the CPU, the CPU acquires medical imaging data from a corresponding imaging device;
[0013] When the one or more second programs are executed by the GPU, the GPU executes the organ contour delineation method described in any embodiment.
[0014] In a third aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the organ contouring method described in any embodiment when executed by a computer processor.
[0015] The technical solution of the organ contour outlining method provided by the embodiment of the present invention obtains the medical image data to be outlined and determines the organ outline range in the medical image data; determines the outline template according to the organ outline range, and the outline template includes at least two organ identifiers; calls the outline model corresponding to the outline template to perform the outline of the corresponding organ in the organ outline range to obtain the organ contour data of the medical image data. Establishing the connection between the organ outline range and at least two organs corresponding to it through the outline template helps to improve the efficiency of determining the organ corresponding to each organ outline range; calling the corresponding outline model through the outline template to outline the organ contour helps to improve the speed and flexibility of organ contour outlining. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 is a flow chart of the organ contour delineation method provided in Embodiment 1 of the present invention;
[0018] Figure 2 It is a structural block diagram of a medical imaging system provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described through implementation methods with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Embodiment 1
[0021] Figure 1 : is a flow chart of the organ contour delineation method provided in the first embodiment of the present invention. The technical solution of this embodiment is applicable to the case of automatically completing the organ contour delineation of medical image data. The method is preferably executed by the GPU (Graphics Processing Unit, referred to as GPU) of the medical imaging system provided in the embodiment of the present invention. The medical imaging system includes a CPU (Central Processing Unit, referred to as CPU) and a GPU, and the two are communicatively connected. The method specifically includes the following steps:
[0022] S101, obtaining medical image data to be delineated, and determining an organ delineation range in the medical image data.
[0023] Among them, medical imaging data can be clinical image data such as CT (Computed Tomography, abbreviated as CT, i.e. electronic computer tomography) images, MRI (Magnetic Resonance Imaging, abbreviated as MRI, nuclear magnetic resonance imaging) images, PET (Positron Emission Computed Tomography, abbreviated as PET, positron emission computed tomography) images, ultrasound images and X-rays.
[0024] The organ delineation range is an image range in the medical image data for delineating the organ contour. It is understandable that the number of body slices included in the organ delineation range is less than or equal to the number of body slices included in the medical image data.
[0025] Among them, the method for determining the organ delineation range includes: determining the number of body layers of each scanning part contained in the medical image data; and determining the organ delineation range according to the actual size of each scanning part corresponding to the number of body layers of each scanning part. Alternatively, based on a pre-trained recognition model, the number of body layers of each scanning part contained in the medical image data is determined, and preset TAG information including body layer thickness is obtained, and the actual size of each scanning part is determined according to the body layer thickness and the number of body layers of each scanning part, and then the organ delineation range is determined according to the actual size of each scanning part. This method can quickly and efficiently obtain the organ delineation range, quickly eliminate images of redundant parts, improve the accuracy of determining the contour of the organ, and also reduce the number of images that need to be traversed during the organ delineation process.
[0026] In one embodiment, the medical image data of a lung cancer patient is input into a pre-trained recognition model, and the recognition result output by the pre-trained recognition model is that the ratio of the number of body layers of the neck to the total number of layers of the entire medical image data is 2%, corresponding to an actual size of 10 mm, the ratio of the number of body layers of the upper abdomen to the total number of layers of the entire medical image data is 2%, corresponding to an actual size of 10 mm, and the ratio of the number of body layers of the chest to the total number of layers of the medical image data is 96%, corresponding to an actual size of 480 mm. It can be seen that the target scanning range of the medical image data is the chest, while the neck and upper abdomen are non-target scanning ranges, that is, non-organ delineation ranges. Therefore, the medical image data corresponding to the chest is used as the organ delineation range. When delineating the contour of each organ, such as the lung, only the images within the organ delineation range are traversed; or the body layers of the neck and upper abdomen are deleted from the medical image data to update the medical image data, and the updated medical image data is used as the organ delineation range. In another embodiment, the number of body layers of each scanning part can also be identified by using methods such as segmentation, registration, or manual methods to determine the organ delineation range.
[0027] The pre-trained recognition model can classify the scanned parts at any level in the cross-section, coronal or sagittal plane of the medical image data, or can directly classify the scanned parts of the three-dimensional data or the reconstructed data. The recognition model in this embodiment is preferably implemented using a deep learning model such as image classification or target detection.
[0028] Among them, the TAG value of the Dicom file basically contains all the attributes of a Dicom file. In medical images based on the Dicom3.0 standard, each image carries a lot of information, which can be divided into four categories: patent, study, series and image. Each TAG is determined by a combination of two hexadecimal numbers, namely Group and Element. For example, (0010, 0010), this TAG value represents the Patient's Name, which stores the patient name of the corresponding image. Based on this, this embodiment obtains the body layer thickness and other required information of the corresponding medical image data by reading the corresponding TAG information of the medical image data.
[0029] In one embodiment, this step is completed by the GPU of the medical imaging system, and the GPU obtains the medical imaging data to be delineated from the CPU. Specifically, the GPU sends an image acquisition request to the CPU, and when the CPU receives the image acquisition request, the medical imaging data currently in the first ranking is sent to the GPU according to the image acquisition request, and the GPU receives the medical imaging data. It is understandable that the CPU is also used to receive medical imaging data from various imaging devices, and perform image preprocessing on the received medical imaging data to update the corresponding medical imaging data. The CPU can also obtain the contour delineation time limit information and scanning time of each updated medical imaging data, and rank the current medical imaging data according to the contour delineation time limit information and scanning time of each updated medical imaging data to obtain the ranking results of each medical imaging data. Among them, the contour delineation time limit information can be obtained by reading the corresponding TAG information of the medical imaging data. According to the ranking results of the medical imaging data, the timing of organ contour delineation of each medical imaging data can be determined, and urgent tasks can be completed first, thereby improving the efficiency and accuracy of resource allocation.
[0030] In one embodiment, the time limit information for contouring can be specific time information or an identifier for indicating the time limit information. For example, the identifier "1" indicates that the time limit for contouring of the organ contour of the corresponding medical image data is not high, and the contouring of the organ contour can be completed within three days; the identifier "2" indicates that the time limit for contouring of the organ contour of the corresponding medical image data is high, and the contouring of the organ contour needs to be completed within two days; the identifier "3" indicates that the time limit for contouring of the organ contour of the corresponding medical image data is very high, and the contouring of the organ contour needs to be completed within one day.
[0031] S102: Determine a delineation template according to the organ delineation range, where the delineation template includes at least two organ identifiers.
[0032] In one embodiment, each organ delineation range corresponds to a delineation template, and each delineation template includes at least two organ identifiers, and the at least two organ identifiers include at least one organ identifier for indicating the cancer range and at least one organ identifier for indicating an organ at risk. Therefore, after the organ delineation range is determined, the delineation template corresponding to the organ delineation range can be determined, thereby determining the organ that needs to be delineated.
[0033] The geometric shapes of different tumors vary greatly. For example, head and neck tumors are generally small. Common ones such as thyroid tumors, ear, nose and throat tumors, and oral and maxillofacial tumors also endanger smaller organs. Chest tumors can be small or large, and abdominal tumors generally involve larger organs. The shapes of different organs also vary greatly. For example, tumors can be polyp-like, papillary, villous, nodular, lobed, cystic, cauliflower-like, mushroom-like, invasive mass-like, diffuse hypertrophy-like, and ulcerative, etc. The organs that are endangered can be in various shapes such as blocks and strips. Therefore, using the same template for outlining will result in problems such as inapplicability and low accuracy.
[0034] In one embodiment, the delineation template can be determined according to the organ delineation range and at least one TAG information or additional information input by the doctor. The TAG information or additional information input by the doctor can be gender information, age information, height and weight information, radiotherapy information, biological information, etc. Further, each organ scanning range containing a preset gender organ corresponds to at least two delineation templates, wherein the preset gender organ can be a breast, a uterus, a prostate, etc. While determining the organ delineation range, the preset TAG information containing the gender information is also obtained, and the delineation template is determined according to the organ delineation range and the gender information. Exemplarily, for any medical image data containing the lower abdomen, after determining its organ delineation range, it is also necessary to obtain the preset TAG information containing the gender information. If the gender information shows that the patient is female, the organ delineation range needs to correspond to the delineation template adapted to female patients; if the gender information shows that the patient is male, the organ delineation range needs to correspond to the delineation template adapted to male patients. Determining the delineation template by using the TAG information and the organ delineation range used to represent the patient's gender can not only simplify the determination process of the delineation template, but also improve the accuracy of the determination of the delineation template.
[0035] In one embodiment, each organ delineation range corresponds to a preset delineation template and at least one custom delineation template. The preset delineation template is a general delineation template, and the custom delineation template is preferably a delineation template defined by the doctor according to his own habits. After the organ delineation range is determined, the preset TAG information containing the doctor information is obtained, and the delineation template is determined according to the organ delineation range and the doctor information. It can be understood that the delineation template is customized by the doctor corresponding to the doctor information. The setting of the custom delineation template can meet the various organ delineation requirements of different radiotherapy doctors.
[0036] In one embodiment, each organ delineation range corresponds to a preset delineation template and at least one customized delineation template. Exemplarily, the preset TAG information includes preset agreed information, and the delineation template is determined according to the organ delineation range and the preset agreed information. The customized delineation template is customized based on the preset agreed information. Among them, the preset agreed information can be abnormal organ information such as artificial joint information (such as artificial hip joint) or organ resection information (such as pancreas).
[0037] In this embodiment, it is necessary to consider the organ delineation range and the organ to be delineated, as well as other information such as TAG information, and then select the corresponding delineation template. The corresponding delineation template can be selected according to the current needs to better assist the doctor in delineation. Selecting a delineation template for delineation according to multiple needs saves the doctor's operation steps and improves delineation efficiency. A delineation template includes the delineation of at least one target organ and an organ at risk, so it can be considered and delineated at the same time, which is faster, simpler and more accurate than using multiple delineation templates to delineate separately.
[0038] In summary, radiation oncologists can formulate outline templates corresponding to different TAG information for each organ outline range according to different needs. Therefore, this embodiment determines the outline template according to the organ outline range and preset TAG information, which can improve the flexibility of determining the outline template, thereby improving the flexibility of determining the organ corresponding to the organ outline range.
[0039] S103: calling a delineation model corresponding to the delineation template to perform delineation of the corresponding organ in the organ delineation range to obtain organ contour data of the medical image data.
[0040] In this embodiment, each outlining template may correspond to only one outlining model, which includes outlining algorithms for at least two organs, and may outline the target organ and the organs at risk in an associated but different manner; each outlining template may also correspond to at least two outlining models, with different outlining models corresponding to outlining algorithms for different organs, and may also outline the target organ and the organs at risk in an associated but different manner.
[0041] In one embodiment, each organ identifier included in each delineation template corresponds to a delineation model. Therefore, after the delineation template is determined, the delineation models corresponding to the at least two organ identifiers included in the delineation template can be called, and then the at least two delineation models are used to delineate the corresponding organs in the organ delineation range to obtain the organ contour data of the medical image data. Among them, the GPU can use the at least two delineation models to simultaneously delineate at least two corresponding organs in the organ delineation range, or can use one of the at least two delineation models to delineate at least two corresponding organs in the organ delineation range in sequence. The former is preferred in this embodiment. It can be understood that when each delineation model only contains the delineation algorithm of one organ, the difficulty of establishing the delineation model and the demand for processor computing resources for organ delineation can be reduced.
[0042] It should be noted that the delineation model can use the existing organ contour delineation algorithm, which is not specifically limited in this embodiment. Specifically, the organ contour delineation algorithm generally concentrates the dose on the target organ, i.e., the target organ, and tries to avoid the dose acting on normal critical organs, i.e., endangered organs. According to different target organs, there may be different organs at risk, such as head and neck tumors corresponding to temporal lobe, optic nerve, lens, brain stem, pituitary gland, spinal cord, temporomandibular joint, parotid gland, mandible, chest tumors corresponding to lung, esophagus, heart, liver, spinal cord, abdominal pelvic tumors corresponding to liver, spleen, kidney, pancreas, intestine, colon, bladder, penis, testicle, uterus, hip joint, femral head, spinal cord, etc. The delineation template in this embodiment can automatically select the organs at risk according to the identified or input target organs, and can only select the organs at risk existing in the current delineation data. In another embodiment, the delineation model corresponding to a target organ includes segmentation information of all organs at risk corresponding to the target organ.
[0043] In one embodiment, the above steps are preferably completed by the GPU of the medical imaging system, and after the GPU executes the above steps to obtain the medical imaging data containing the organ contour data, the medical imaging data is sent to another processor, so that the other processor performs the following quality control steps: determining whether the medical imaging data containing the organ contour data contains the organ contour data with a result of null, and if so, deleting the organ contour data with a result of null to update the medical imaging data containing the organ contour data; determining whether the position, shape or volume of the organ defined by each organ contour data in the medical imaging data containing the organ contour data is correct, and if not, outputting corresponding prompt information. The other processor is preferably a CPU.
[0044] Specifically, if the medical image data containing organ contour data does not contain organ contour data with a result of empty, it is directly determined whether the position, shape and volume of the organ defined by each organ contour data in the medical image data are all correct, if not, a prompt message is output; if the medical image data containing organ contour data contains organ contour data with a result of empty, the organ contour data with a result of empty is deleted to update the medical image data containing organ contour data; it is determined whether the position, shape and volume of the organ defined by each organ contour data in the updated medical image data are all correct, if not, a corresponding prompt message is output.
[0045] This embodiment uses a method of combining automatic organ contour delineation with manual verification to generate medical image data containing organ contour data, which can not only improve the accuracy of organ contour delineation, but also ensure the accuracy of organ contour data.
[0046] In this embodiment, the GPU can use a serial strategy to perform organ contour delineation on medical image data, that is, only one medical image data is delineated at any time, or a parallel strategy can be used to perform organ contour delineation on medical image data, that is, at least two medical image data are delineated at the same time. The latter is preferred in this embodiment because the parallel strategy can improve the utilization efficiency of computing resources, thereby improving the efficiency of organ contour delineation.
[0047] This embodiment uses the GPU of the medical imaging system to complete the organ contour delineation of the medical imaging data, and uses the CPU of the medical imaging system to complete all image processing operations except the organ contour delineation of the medical imaging data, such as the preprocessing of the medical imaging data, the ranking of the medical imaging data, etc. Therefore, the medical imaging system can complete the organ contour delineation of the medical imaging data through the GPU without occupying CPU resources, so that the organ contour delineation is almost not affected by the working state of the CPU, and thus the timeliness of the organ contour data delineation of the medical imaging data received can be guaranteed.
[0048] The technical solution of the organ contour outlining method provided by the embodiment of the present invention obtains the medical image data to be outlined and determines the organ outline range in the medical image data; determines the outline template according to the organ outline range, and the outline template includes at least two organ identifiers; calls the outline model corresponding to the outline template to perform the outline of the corresponding organ in the organ outline range to obtain the organ contour data of the medical image data. Establishing the connection between the organ outline range and at least two organs corresponding to it through the outline template helps to improve the efficiency of determining the organ corresponding to each organ outline range; calling the corresponding outline model through the outline template to outline the organ contour helps to improve the speed and flexibility of organ contour outlining.
[0049] Embodiment 2
[0050] Figure 2 is a schematic diagram of a medical imaging system provided in Embodiment 2 of the present invention. The system includes a CPU 21, a GPU 22, and a storage device 23; the storage device 23 is used to store one or more first programs and one or more second programs; when the one or more first programs are executed by the CPU 21, the CPU 21 acquires medical imaging data from a corresponding imaging device; when the one or more second programs are executed by the GPU 22, the GPU 22 executes the organ contour delineation method described in the aforementioned embodiment.
[0051] The imaging device may be a medical imaging device such as a CT device, an MRI device, an ultrasound device, or an X-ray device.
[0052] In this embodiment, when the GPU detects that there is an idle thread, it sends an image acquisition request to the CPU. When the CPU detects the image acquisition request, it sends the medical image data currently in the first rank to the GPU according to the image acquisition request, and the GPU receives the medical image data.
[0053] After receiving the medical image data to be delineated, the GPU determines the organ delineation range in the medical image data. The organ delineation range is the image range in the medical image data where the organ contour is delineated. It is understandable that the number of body layers included in the organ delineation range is less than or equal to the number of body layers included in the medical image data.
[0054] The method for determining the organ delineation range includes: determining the number of body layers of each scanning part included in the medical image data; and determining the organ delineation range according to the actual size of each scanning part corresponding to the number of body layers of each scanning part. Alternatively, based on a pre-trained recognition model, the number of body layers of each scanning part included in the medical image data is determined, preset TAG information including body layer thickness is obtained, and the actual size of each scanning part is determined according to the body layer thickness and the number of body layers of each scanning part, and then the organ delineation range is determined according to the actual size of each scanning part.
[0055] In one embodiment, the medical image data of a lung cancer patient is input into a pre-trained recognition model, and the recognition result output by the pre-trained recognition model is that the ratio of the number of body layers of the neck to the total number of layers of the entire medical image data is 2%, corresponding to an actual size of 10 mm, the ratio of the number of body layers of the upper abdomen to the total number of layers of the entire medical image data is 2%, corresponding to an actual size of 10 mm, and the ratio of the number of body layers of the chest to the total number of layers of the medical image data is 96%, corresponding to an actual size of 480 mm. It can be seen that the target scanning range of the medical image data is the chest, while the neck and upper abdomen are non-target scanning ranges, that is, non-organ delineation ranges. Therefore, the medical image data corresponding to the chest is used as the organ delineation range. When delineating the contour of each organ, such as the lung, only the images within the organ delineation range are traversed; or the body layers of the neck and upper abdomen are deleted from the medical image data to update the medical image data, and the updated medical image data is used as the organ delineation range. In another embodiment, the number of body layers of each scanning part can also be identified by using methods such as segmentation, registration, or manual methods to determine the organ delineation range.
[0056] Among them, the recognition model is preferably constructed based on machine learning and can be constructed using an existing machine learning algorithm, which is not specifically limited in this embodiment.
[0057] In one embodiment, this step is completed by the GPU of the medical imaging system, and the GPU obtains the medical imaging data to be delineated from the CPU. Specifically, the GPU sends an image acquisition request to the CPU, and when the CPU receives the image acquisition request, the medical imaging data currently in the first ranking is sent to the GPU according to the image acquisition request, and the GPU receives the medical imaging data. It is understandable that the CPU is also used to receive medical imaging data from various imaging devices, and perform image preprocessing on the received medical imaging data to update the corresponding medical imaging data. The CPU can also obtain the contour delineation time limit information and scanning time of each updated medical imaging data, and rank the current medical imaging data according to the contour delineation time limit information and scanning time of each updated medical imaging data to obtain the ranking results of each medical imaging data. Among them, the contour delineation time limit information can be obtained by reading the corresponding TAG information of the medical imaging data. According to the ranking results of the medical imaging data, the timing of organ contour delineation of each medical imaging data can be determined, and urgent tasks can be completed first, thereby improving the efficiency and accuracy of resource allocation.
[0058] In one embodiment, the time limit information for contouring can be specific time information or an identifier for indicating the time limit information. For example, the identifier "1" indicates that the time limit for contouring of the organ contour of the corresponding medical image data is not high, and the contouring of the organ contour can be completed within three days; the identifier "2" indicates that the time limit for contouring of the organ contour of the corresponding medical image data is high, and the contouring of the organ contour needs to be completed within two days; the identifier "3" indicates that the time limit for contouring of the organ contour of the corresponding medical image data is very high, and the contouring of the organ contour needs to be completed within one day.
[0059] After determining the organ delineation range in the medical image data, the GPU determines a delineation template according to the organ delineation range, and the delineation template includes a corresponding organ identifier.
[0060] In one embodiment, each organ delineation range corresponds to a delineation template, and each delineation template includes at least two organ identifiers, and the at least two organ identifiers include at least one organ identifier for indicating the cancer range and at least one organ identifier for indicating an organ at risk. Therefore, after the organ delineation range is determined, the delineation template corresponding to the organ delineation range can be determined, thereby determining the organ that needs to be delineated.
[0061] In one embodiment, the delineation template can be determined according to the organ delineation range and at least one TAG information or additional information input by the doctor, and the TAG information or additional information input by the doctor can be gender information, age information, height and weight information, radiotherapy information, biological information, etc. Further, each organ scanning range containing a preset gender organ corresponds to at least two delineation templates, wherein the preset gender organ can be a breast, a uterus, a prostate, etc. While determining the organ delineation range, the preset TAG information containing the gender information is also obtained, and the delineation template is determined according to the organ delineation range and the gender information. Exemplarily, for any medical image data containing the lower abdomen, after determining its organ delineation range, it is also necessary to obtain the preset TAG information containing the gender information. If the gender information shows that the patient is female, the organ delineation range corresponds to a delineation template suitable for female patients. If the gender information shows that the patient is male, the organ delineation range corresponds to a delineation template suitable for male patients. By determining the delineation template by using the TAG information and the organ delineation range used to represent the patient's gender, the determination process of the delineation template can be simplified and the accuracy of the simplified template determination can be improved.
[0062] In one embodiment, each organ delineation range corresponds to a preset delineation template and at least one custom delineation template. The preset delineation template is a general delineation template, and the custom delineation template is preferably a delineation template defined by the doctor according to his own habits. After the organ delineation range is determined, the preset TAG information containing the doctor information is obtained, and the delineation template is determined according to the organ delineation range and the doctor information. It can be understood that the delineation template is customized by the doctor corresponding to the doctor information. The setting of the custom delineation template can meet the various organ delineation requirements of different radiotherapy doctors.
[0063] In one embodiment, each organ delineation range corresponds to a preset delineation template and at least one customized delineation template. Exemplarily, the preset TAG information includes preset agreed information, and the delineation template is determined according to the organ delineation range and the preset agreed information. The customized delineation template is customized based on the preset agreed information. Among them, the preset agreed information can be artificial joint information (such as artificial hip joint), organ resection information (such as pancreas) and other abnormal organ information.
[0064] In this embodiment, it is necessary to consider the organ delineation range and the organ to be delineated, as well as other information such as TAG information, and then select the corresponding delineation template. The corresponding delineation template can be selected according to the current needs to better assist the doctor in delineation. Selecting a delineation template for delineation according to multiple needs saves the doctor's operation steps and improves delineation efficiency. A delineation template includes the delineation of at least one target organ and an organ at risk, so it can be considered and delineated at the same time, which is faster, simpler and more accurate than using multiple delineation templates to delineate separately.
[0065] In summary, radiation oncologists can formulate outline templates corresponding to different TAG information for each organ outline range according to different needs. Therefore, this embodiment determines the outline template according to the organ outline range and preset TAG information, which can improve the flexibility of determining the outline template, thereby improving the flexibility of determining the organ corresponding to the organ outline range.
[0066] After determining the outline template of the organ outline range, the GPU calls the outline model corresponding to the outline template to outline the corresponding organ in the organ outline range to obtain organ outline data of the medical image data.
[0067] In this embodiment, each outlining template may correspond to only one outlining model, which includes outlining algorithms for at least two organs, and may outline the target organ and the organs at risk in an associated but different manner; each outlining template may also correspond to at least two outlining models, with different outlining models corresponding to outlining algorithms for different organs, and may also outline the target organ and the organs at risk in an associated but different manner.
[0068] In one embodiment, each organ identifier contained in each delineation template corresponds to a delineation model. Therefore, after the delineation template is determined, the delineation models corresponding to the at least two organ identifiers contained in the delineation template can be called, and then the at least two delineation models are used to delineate the corresponding organs in the organ delineation range to obtain the organ contour data of the medical image data. Among them, the GPU can use the at least two delineation models to simultaneously delineate the corresponding organs in the organ delineation range, or can use one of the at least two delineation models to delineate the corresponding organs in the organ delineation range in sequence. The former is preferred in this embodiment. It can be understood that when each delineation model only contains the delineation algorithm of one organ, the difficulty of establishing the delineation model and the demand for processor computing resources for organ delineation can be reduced.
[0069] It should be noted that the outlining model may be an existing organ contour outlining model, and this embodiment does not make any specific limitation thereto.
[0070] In one embodiment, the above steps are preferably completed by the GPU of the medical imaging system, and after the GPU executes the above steps to obtain the medical imaging data containing the organ contour data, the medical imaging data is sent to another processor, so that the other processor performs the following quality control steps: determining whether the medical imaging data containing the organ contour data contains the organ contour data with a result of null, and if so, deleting the organ contour data with a result of null to update the medical imaging data containing the organ contour data; determining whether the position, shape or volume of the organ defined by each organ contour data in the medical imaging data containing the organ contour data is correct, and if not, outputting corresponding prompt information. The other processor is preferably a CPU.
[0071] Specifically, if the medical image data containing organ contour data does not contain organ contour data with a result of empty, it is directly determined whether the position, shape and volume of the organ defined by each organ contour data in the medical image data are all correct, if not, a prompt message is output; if the medical image data containing organ contour data contains organ contour data with a result of empty, the organ contour data with a result of empty is deleted to update the medical image data containing organ contour data; it is determined whether the position, shape and volume of the organ defined by each organ contour data in the updated medical image data are all correct, if not, a corresponding prompt message is output.
[0072] This embodiment uses a method of combining automatic organ contour delineation with manual verification to generate medical image data containing organ contour data, which can not only improve the accuracy of organ contour delineation, but also ensure the accuracy of organ contour data.
[0073] In this embodiment, the GPU can use a serial strategy to perform organ contour delineation on medical image data, that is, only one medical image data is delineated at any time, or a parallel strategy can be used to perform organ contour delineation on medical image data, that is, at least two medical image data are delineated at the same time. The latter is preferred in this embodiment because the parallel strategy can improve the utilization efficiency of computing resources, thereby improving the efficiency of organ contour delineation.
[0074] This embodiment uses the GPU of the medical imaging system to complete the organ contour delineation of the medical imaging data, and uses the CPU of the medical imaging system to complete all image processing operations except the organ contour delineation of the medical imaging data, such as the preprocessing of the medical imaging data, the ranking of the medical imaging data, etc. Therefore, the medical imaging system can complete the organ contour delineation of the medical imaging data through the GPU without occupying CPU resources, so that the organ contour delineation is almost not affected by the working state of the CPU, and thus the timeliness of the organ contour data delineation of the medical imaging data received can be guaranteed.
[0075] The technical solution of the medical imaging system provided by the embodiment of the present invention establishes a connection between an organ outlining range and at least two organs corresponding thereto through an outlining template, which helps to improve the efficiency of determining the organ corresponding to each organ outlining range; calls a corresponding outlining model through the outlining template to outline the organ contour, which helps to improve the speed and flexibility of organ contour outlining; uses a GPU to complete organ contour outlining of medical images, and uses a CPU to complete other image processing operations except medical image data. Through the cooperation of the two, the normal operation of the medical imaging system is guaranteed, and the timeliness of the organ contour outlining of each medical image data is guaranteed, which can well meet the clinical needs for organ contour outlining.
[0076] Embodiment 3
[0077] An embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute an organ contour delineation method when executed by a computer processor, the method comprising:
[0078] Acquire the medical image data to be delineated, and determine the delineation range of the organ in the medical image data;
[0079] Determining a delineation template according to the organ delineation range, wherein the delineation template includes at least two organ identifiers;
[0080] The delineation model corresponding to the delineation template is called to perform contour delineation of the corresponding organ in the organ delineation range to obtain organ contour data of the medical image data.
[0081] Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the organ contouring method provided by any embodiment of the present invention.
[0082] Through the above description of the implementation mode, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform the organ contour delineation method described in each embodiment of the present invention.
[0083] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for outlining an organ, characterized in that: include: The GPU obtains the medical image data to be delineated from the CPU, and determines the number of body layers of each scanning part contained in the medical image data based on a pre-trained recognition model; and determines the organ delineation range according to the actual scanning range corresponding to the number of body layers of each scanning part; wherein the medical image data is the medical image data currently in the first ranking, and the medical image data in the first ranking is the ranking result of the medical image data obtained by the CPU ranking the current medical image data according to the contour delineation time limit information and scanning time of each medical image data after update; Determining a delineation template according to the organ delineation range, wherein the delineation template includes at least two organ identifiers; The delineation model corresponding to the delineation template is called to perform contour delineation of the corresponding organ in the organ delineation range to obtain organ contour data of the medical image data.
2. The method according to claim 1, characterized in that Before determining the delineation template according to the organ delineation range, the method further includes: Acquire preset TAG information or additional information of the medical image data; Accordingly, determining the delineation template according to the organ delineation range includes: A delineation template is determined according to the organ delineation range and the preset TAG information or additional information.
3. The method according to claim 2, characterized in that The obtaining of preset TAG information of the medical image data includes: If the organ delineation range includes preset gender organs, preset TAG information including gender information is acquired from the medical image data.
4. The method according to claim 2, characterized in that: The preset TAG information or additional information includes doctor information, and the delineation template is pre-set by a doctor corresponding to the doctor information; or The preset TAG information or additional information includes preset agreed information for defining abnormal organs, and the delineation template is customized based on the preset agreed information.
5. The method according to claim 1, characterized in that After obtaining the organ contour data of the medical image data, the method further includes: The medical image data including the organ contour data is sent to another processor, so that the other processor performs the following steps: Determine whether the medical image data containing organ contour data contains organ contour data with a result of being empty, and if so, delete the organ contour data with a result of being empty to update the medical image data containing organ contour data; Determine whether the position, shape and volume of the organ defined by each organ contour data in the medical image data containing the organ contour data are correct; if not, output corresponding prompt information.
6. A medical imaging system, characterized in that: include: CPU, GPU and storage; The storage device is used to store one or more first programs and one or more second programs; When the one or more first programs are executed by the CPU, the CPU acquires medical imaging data from a corresponding imaging device; When the one or more second programs are executed by the GPU, the GPU executes the organ contour delineation method according to any one of claims 1-5.
7. The medical imaging system according to claim 6, characterized in that: The GPU is also used to send the medical image data including organ contour data to the CPU; The CPU is also used to perform the following steps: Determine whether the medical image data containing the organ contour data contains the organ contour data with a result of being empty, and if so, delete the organ contour data with a result of being empty to update the medical image data containing the organ contour data; Determine whether the position, shape or volume of the organ defined by each organ contour data in the medical image data containing the organ contour data are correct; if not, output corresponding prompt information.
8. The medical imaging system according to claim 6, characterized in that: The CPU is also used for: Obtaining contouring time limit information and scanning time of each medical imaging data; Rank each current medical image data according to the outline delineation time limit information and scanning time of each medical image data; When an image acquisition request from a GPU for acquiring medical image data to be delineated is detected, the current first-rank medical image data is sent to the GPU.
9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the organ contouring method according to any one of claims 1 to 5 when executed by a computer processor.
