Method, device, equipment and storage medium for real-time adjustment of isodose curve
By calculating the benchmark to adjust the dose field and updating the isodosage curve in real time during the target movement, the problem of high computational complexity of the medium-dose field curve in the prior art is solved, and efficient utilization of computing resources and real-time adjustment and viewing of the isodosage curve are achieved.
Patent Information
- Application Number
- CN202111615636.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2041-12-27
AI Technical Summary
The prior art has high computational complexity when drawing isodosage field curves, resulting in excessive consumption of computer equipment resources and the inability to adjust and view the isodosage curve in real time.
By obtaining the dose field information before and after the target moves, the reference-adjusted dose field is calculated, and the isodosage curve is calculated and drawn in real time based on the reference-adjusted dose field and real-time moving position during the target move.
It realizes real-time adjustment and viewing of the change information of the isodosage curve without occupying too much computing resources, reducing resource consumption and improving the reference effect of the isodosage curve.
Smart Images

Figure CN114392494B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for real-time adjustment of isodose curves. Background Art
[0002] With the continuous development of computer technology, its application in the field of radiotherapy is becoming more and more extensive. For example, computer technology can be used to perform isodose curve analysis.
[0003] In the related art, the user arranges the target on the interface provided by the computer device, and moves the target as needed to adjust the position of the target. After the operation of moving the target is completed, the computer device calculates the total dose field information based on the dose field information of all current targets, and draws and displays the isodose curve based on the total dose field information.
[0004] However, the use of related technical methods will result in high computational complexity when drawing isodose field curves, which in turn will lead to excessive resource consumption of computer equipment. Summary of the invention
[0005] The purpose of the present application is to provide a method, device, computer equipment and storage medium for real-time adjustment of isodose curves in view of the deficiencies in the above-mentioned prior art, so as to solve the problem of high computational complexity in drawing isodose field curves in the prior art, which in turn leads to excessive resource consumption of computer equipment.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for adjusting an isodose curve in real time, the method comprising:
[0008] In response to a target selection operation by a user, a first total dose field of an isodose curve before the target moves and a target dose field of the target are acquired;
[0009] Calculating a reference adjusted dose field according to the first total dose field and the target dose field;
[0010] In response to the user's target point movement operation, a second total dose field is obtained based on the target point movement operation, the reference adjustment dose field and the target point dose field to adjust the isodose curve.
[0011] As a possible implementation, the step of responding to the target movement operation of the user, obtaining a second total dose field based on the target movement operation, the reference adjustment dose field, and the target dose field to adjust the isodose curve includes:
[0012] Respond to the user's target movement operation and obtain the real-time moving position of the target;
[0013] The dose field, the target dose field and the real-time moving position are adjusted according to the reference to obtain a second total dose field to adjust the isodose curve, and the adjusted isodose curve is displayed.
[0014] As a possible implementation, in response to the user's target movement operation, based on the target movement operation, the reference adjustment dose field and the target dose field, a second total dose field is obtained to adjust the isodose curve, and then the method further includes:
[0015] In response to the user's stop moving operation, target information of all targets is obtained;
[0016] According to the target information of all the targets, a third total dose field is calculated to display corresponding isodose curves.
[0017] As a possible implementation manner, the method further includes:
[0018] The target dose field is determined according to the core dose coverage area of the target.
[0019] As a possible implementation, before determining the target dose field according to the core dose coverage area of the target, the method further includes:
[0020] The core dose coverage area is determined according to the collimator size and / or dose field accuracy.
[0021] As a possible implementation manner, the method further includes:
[0022] In response to the user's operation of arranging a new target, determining a new dose field of the new target;
[0023] According to the newly added dose field and the total dose field before the user arranges the newly added target point, a fourth total dose field is calculated to display the corresponding isodose curve.
[0024] As a possible implementation, the calculating the fourth total dose field to display the corresponding isodose curve according to the newly added dose field and the total dose field before the user arranges the newly added target point includes:
[0025] Superimposing the newly added dose field onto the total dose field before the user arranges the newly added target point to obtain the fourth total dose field;
[0026] A corresponding isodose curve is displayed based on the fourth total dose field.
[0027] In a second aspect, an embodiment of the present application provides a device for adjusting an isodose curve in real time, the device comprising:
[0028] An acquisition module, configured to respond to a user's target selection operation and acquire a first total dose field of an isodose curve before the target moves and a target dose field of the target;
[0029] A calculation module, used for calculating a reference adjustment dose field according to the first total dose field and the target dose field;
[0030] The adjustment module is used to respond to the user's target movement operation, and obtain a second total dose field based on the target movement operation, the reference adjustment dose field and the target dose field to adjust the isodose curve.
[0031] In a third aspect, an embodiment of the present application provides a computer device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor executes the machine-readable instructions to execute the steps of the method for real-time adjustment of isodose curves described in the first aspect above.
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for real-time adjustment of isodose curves described in the first aspect are executed.
[0033] The method, apparatus, computer device and storage medium for adjusting isodose curves in real time provided in the embodiments of the present application can, after a user selects a target, obtain a first total dose field and a target dose field of the target, and calculate a reference adjustment dose field based on the first total dose field and the target dose field. Since the reference adjustment dose field does not change, the computer device can calculate and draw the latest isodose curve in real time with a small amount of calculation based on the dose field of the currently moving target and the reference adjustment dose field of the target that has not moved, while the user moves the target. This ensures that not too many computing resources are occupied while enabling the user to view the change information of the isodose curve in real time, thereby greatly reducing resource consumption and greatly improving the reference effect of the isodose curve. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 is a schematic system architecture diagram of a cloud interaction system;
[0036] Figure 2A schematic flow chart of a method for real-time adjustment of isodose curves provided in an embodiment of the present application;
[0037] Figure 3 An example diagram of dose calculation for each point in the area corresponding to the first total dose field;
[0038] Figure 4 A schematic diagram of a process for determining a second total dose curve in a method for real-time adjustment of isodose curves provided in an embodiment of the present application;
[0039] Figure 5 A schematic diagram for determining a moving dose field at a real-time moving position;
[0040] Figure 6 Another schematic flow chart of the method for adjusting isodose curves in real time provided in an embodiment of the present application;
[0041] Figure 7 Another schematic flow chart of the method for adjusting isodose curves in real time provided in an embodiment of the present application;
[0042] Figure 8 A module structure diagram of a device for real-time adjustment of isodose curves provided in an embodiment of the present application;
[0043] Fig. 9 A module structure diagram of another device for real-time adjustment of isodose curves provided in an embodiment of the present application;
[0044] Fig.10 A schematic diagram of the structure of a computer device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0046] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0047] In order to enable those skilled in the art to use the content of this application, the following implementation is provided in conjunction with a specific application scenario of "drawing isodose curves". For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around the drawing of isodose curves, it should be understood that this is only an exemplary embodiment.
[0048] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0049] In one embodiment of the present application, when a user arranges targets using a computer device, the computer device needs to calculate the total dose field information based on the dose field information of all current targets, and draw and display isodose curves based on the total dose field information. Specifically, for each target arranged by the user, the computer device needs to calculate the dose field corresponding to each target separately, and then calculate the total dose field based on the dose field corresponding to each target, and then draw and display isodose curves according to the distribution of the total dose field. Since a relatively complex process is required to calculate the dose field of each target, and each time an isodose curve is drawn, the dose field of each target needs to be recalculated, so each time an isodose curve is drawn, more computing resources are consumed. Therefore, the above method will lead to computational complexity when drawing dose field information, which in turn leads to excessive resource consumption of the computer device.
[0050] In one embodiment of the present application, in order to minimize the resource consumption caused by drawing the dose curve, as a possible implementation method, in the entire process from the user clicking the mouse to select a target to moving the target, there will be no response to the user's operation, that is, in this process, no matter how the target moves, the dose field information and total dose field information of each target will not be recalculated, and the isodose curve will not be drawn. Only when the user releases the mouse and completes the movement of the target, the isodose curve will be calculated and drawn according to the aforementioned method, thereby reducing resource consumption. However, this method cannot view the real-time isodose curve of the target during the movement process, that is, it is impossible to view the change information of the isodose curve in real time, resulting in poor reference effect of the isodose curve.
[0051] Based on the above-mentioned problems, an embodiment of the present application proposes a method for adjusting isodose curves in real time. Based on the dose field of the currently moving target and the baseline adjustment dose field of the target that has not moved, the isodose curve can be calculated and drawn in real time with a small amount of calculation during the target movement process, thereby ensuring that not too many computing resources are occupied while allowing users to view the change information of the isodose curve in real time. Compared with the existing technology, it can greatly reduce resource consumption and greatly improve the reference effect of the isodose curve.
[0052] Before introducing the technical solutions of the embodiments of the present application, the relevant concepts involved in the embodiments of the present application are first explained.
[0053] 1. Target
[0054] When using radiotherapy (hereinafter referred to as radiotherapy) equipment, the radiotherapy equipment can irradiate from different directions and focus on the lesion site. The focused position can be called the target point.
[0055] For a region to be treated of a patient, such as the head region, one or more target points may be arranged in the region to be treated. When using a radiotherapy device, the radiotherapy device emits multiple beams of radiation, and the intersection of the multiple beams of radiation is focused on the target point in the region to be treated, so that the beam of radiation acts on the target point.
[0056] Before using the radiotherapy equipment, the target can be arranged first. Optionally, an image of the area to be treated can be collected using a computer tomography (CT) device or a magnetic resonance imaging (MRI) device. Furthermore, in the present application, the target is arranged on the image of the area to be treated with the aid of a computer device. For example, based on the CT image displayed on the computer device, the target area is first outlined according to the CT image, wherein the target area is the patient's tumor area, and then one or more targets can be placed in the target area by clicking a mouse or the like, and each target includes at least one of the following information: target position, target dose, collimator specification, irradiation angle, non-coplanar angle, etc.
[0057] It is worth noting that the position of the target and the irradiation angle may refer to the position and angle in three-dimensional space.
[0058] 2. Dose field
[0059] The radiotherapy equipment emits multiple beams of rays. When the multiple beams of rays are focused on the target, a dose field will be generated in the target area around the target. Each target can have its own corresponding dose field. The dose field can correspond to a specific area centered on the target. The specific area can be, for example, a sphere or ellipsoid centered on the target. Each point in the dose field has a dose. Taking the dose field as a sphere as an example, in the sphere, the dose at the target point as the center of the sphere is the largest, and the dose at the position farther away from the center of the sphere is smaller.
[0060] 3. Iso-dose curve
[0061] Based on the above explanation of dose field, each target point can have its own dose field, and each position in the dose field has a dose. On this basis, a set of curves formed by connecting points with the same dose on the plane through the central axis of the ray in the phantom is called isodose curves.
[0062] The isodose curve can intuitively reflect the dose variation of the radiation beam of the radiotherapy equipment in the off-axis direction in the body. In the stage of formulating the radiotherapy plan, the feasibility of the radiotherapy plan can be effectively evaluated by arranging targets and analyzing the isodose curve.
[0063] Iso-dose curves may include absolute isodose curves and relative isodose curves. In absolute isodose curves, the absolute doses of each point in a group of curves are the same. Exemplarily, in a certain group of isodose curves, the doses at each point are 100. In relative isodose curves, the dose percentages of each point in a group of curves are the same. Among them, the dose percentage may refer to the percentage of the dose at the point to the maximum dose. Exemplarily, in a certain group of isodose curves, the dose percentages at each point are 50%. Accordingly, this group of isodose curves may be called 50% isodose curves.
[0064] The embodiments of the present application can be applied to scenarios where targets are arranged using computer devices. A graphical user interface is provided in the terminal device, and the graphical user interface displays an image of the patient's area to be treated and interface elements such as controls and input boxes for target arrangement. The user arranges the targets in the graphical user interface by operating the mouse or keyboard, or by touch operation, etc., and the terminal device presents the isodose curve in the graphical user interface in response to the user's operation. The method for real-time adjustment of the isodose curve provided in the embodiments of the present application can be run on the above-mentioned terminal device, or it can also be run on a server. When the above method is run on the terminal device, the terminal device adjusts and displays the isodose curve in real time based on the user's operation. When the above method is run on the server, the server can be, for example, a server in a cloud interactive system. Figure 1 This is a schematic system architecture diagram of the cloud interaction system. Figure 1 As shown, the cloud interaction system involves the above-mentioned server and client device, and the server is connected to the client device in communication. The above-mentioned graphical user interface is provided on the client device, and the client device is used to identify the user's operation and send the user's operation data to the server. The server executes the method steps of the embodiment of the present application to complete the data processing, and then the client device displays the result of the data processing on the graphical user interface. In the above process, the client device is only used for receiving, sending and displaying data, and the specific data processing process is completed on the server.
[0065] Figure 2 The flowchart of the method for real-time adjustment of isodose curves provided in the embodiment of the present application is shown in FIG. The execution subject of the method can be the above-mentioned terminal device or server. It is collectively referred to as a computer device below. It should be understood that the method of the embodiment of the present application is not based on Figure 2 In other embodiments, the order of some steps of the method provided in the embodiment of the present application can be interchanged according to actual needs, or some steps can be omitted or deleted. Figure 2 As shown, the method may include:
[0066] S201, in response to a user's target selection operation, obtaining a first total dose field of an isodose curve before the target moves and a target dose field of the target.
[0067] Optionally, the original images of the area to be treated can be collected in advance by a CT device or an MRI device, and the computer device can obtain these original images. Then, the original images can be subjected to image enhancement, image denoising, image segmentation, and image edge extraction, so as to obtain a target image containing the area to be treated, wherein the area to be treated can be a tumor area, etc. Exemplarily, the target image can be a circumscribed rectangle of the area to be treated, or a partial image containing the area to be treated captured in the original image. After obtaining the above-mentioned target image, the computer device can display the target on a graphical user interface. It should be understood that when the computer device is the above-mentioned server, the graphical user interface refers to the graphical user interface of the client device, and can also refer to an external graphical user interface of the server. The graphical user interface can be a display device such as a display.
[0068] The area to be treated is displayed on the graphical user interface, and the user can arrange the target on the area to be treated accordingly. For example, based on the judgment of the lesion in the image, the user determines to select position A in the target image as the target in combination with the prescription dose, collimator specifications, metering coverage threshold and other information. The user can slide the mouse to position A and click the mouse to select position A as the target. Alternatively, the user can also click on the created target with the mouse, indicating that the user has performed the operation of selecting the target. After the user performs the operation of selecting the target, the computer device can recognize and respond to the user's operation of selecting the target.
[0069] Optionally, the computer device responds to the user's operation of selecting a target point to obtain a first total dose field of the isodose curve before movement and a target dose field of the selected target point.
[0070] Among them, the first total dose field may refer to the total dose field formed by the superposition of the dose fields of all the targets arranged by the current user. As mentioned above, for each target, there is a respective dose field, and each point in the area corresponding to the dose field has a dose. The area corresponding to the dose field may be the area range including the area to be treated. The user may arrange one or more targets in the area to be treated. If there is one target, that is, only one target corresponding to the above selection operation is arranged, then the first total dose field is equal to the dose field of the selected target. If there are multiple targets arranged, then the first total dose field may be the total dose field formed by the superposition of the dose fields of all the targets. For example, the area corresponding to the total dose field may be the total area including the areas corresponding to the dose fields of each target, and each point in the total area has a total dose. For each point in the total area, the point may only fall into the dose field of one target, or may also fall into the dose fields of multiple targets at the same time. When it is only in the dose field of one target, the total dose at the point is the dose of the point in the dose field of the one target. When a point is within the dose field of multiple target points at the same time, the total dose at the point is the sum of the doses at the point in the dose fields of each of the multiple target points. Using this method, the first total dose field can be obtained. Figure 3 This is an example diagram of dose calculation for each point in the area corresponding to the first total dose field, such as Figure 3 As shown, the user has selected three targets in the area to be treated, namely target A, target B and target C. The area corresponding to the dose field of target A is area 1, the area corresponding to the dose field of target B is area 2, and the area corresponding to the dose field of target C is area 3. The area corresponding to the first total dose field is area 4 including area 1, area 2 and area 3. For a point M in area 4, since point M falls into the range of area 1, area 2 and area 3 at the same time, the total dose at point M in the first total dose field is the sum of the dose of point M in the dose field of target A, the dose in the dose field of target B and the dose field of target C.
[0071] Optionally, after the user selects the above target, the computer device can calculate the target dose field of the above target according to the target information such as the position coordinates, collimator size, weight information, etc. The weight information can, for example, indicate the irradiation time of the ray beam, and the greater the weight, the longer the irradiation time of the ray beam.
[0072] S202: Calculate a reference adjustment dose field according to the first total dose field and the target dose field.
[0073] Optionally, the above-mentioned benchmark adjusted dose field may refer to the dose field obtained after subtracting the above-mentioned target dose field from the first total dose field. Therefore, the above-mentioned benchmark adjusted dose field is the total dose field formed by superimposing the dose fields of all target points in the area to be treated except the above-mentioned selected target point. Correspondingly, when calculating the benchmark adjusted dose field, the first total dose field may be subtracted from the above-mentioned target dose field to obtain the benchmark dose field. Exemplarily, for each point in the area corresponding to the first total dose field, the total dose of the point in the first total dose field is subtracted from the dose of the point in the above-mentioned target dose field to obtain the dose of the point in the benchmark adjusted dose field. It is worth noting that if a point does not fall into the above-mentioned target dose field, it can be regarded as that the dose of the point in the above-mentioned target dose field is zero.
[0074] S203 , responding to the user's target movement operation, obtaining a second total dose field based on the target movement operation, the reference adjustment dose field, and the target dose field to adjust the isodose curve.
[0075] Optionally, the user's target point movement operation refers to the user moving the target point selected in the aforementioned step S201. Except for the target point, the positions of the remaining targets do not change. At the same time, since the above-mentioned reference adjustment dose field is the total dose field formed by superimposing the dose fields of the remaining targets in all targets in the area to be treated except the above-mentioned selected target point, the above-mentioned reference adjustment dose field does not change during the movement of the above-mentioned selected target point. At the same time, after the selected target point moves, since the position of the target point changes, the target dose field of the target point changes. Among them, each time the target point moves to a new position, its target dose field and the target dose field obtained in step S201 meet the preset relationship. Therefore, during the target point movement process, based on the above-mentioned reference adjustment dose field and the target dose field, a second total dose field after the movement can be calculated. Among them, the second total dose field can refer to the total dose field formed after the dose fields of all targets in the area to be treated are superimposed after the target point moves. Since the above-mentioned reference adjustment dose field does not change, when calculating the second total dose field, only a small amount of calculation needs to be performed according to the change of the target dose field, so the complexity of the calculation is greatly reduced.
[0076] After the second total dose field is obtained, the isodose curve may be adjusted according to the dose distribution in the second total dose field to obtain a new isodose curve, and the new isodose curve may be displayed in the graphical user interface accordingly.
[0077] Optionally, the computer device can monitor the user's operation in real time. As long as the position of the target changes, the computer device repeats the above step S203 in real time to calculate and display the latest isodose curve, so that the user can view the change information of the isodose curve in real time during the process of moving the target.
[0078] It is worth noting that the target point selected in the above steps S201-S203 can be one or more, and this application does not make specific restrictions on this. When there are multiple target points selected, the target point dose field of each target point can be calculated one by one and combined, and the combined target point dose field is used as the aforementioned target point dose field for calculation to adjust the isodose curve.
[0079] In this embodiment, after the user selects a target, the computer device can obtain the first total dose field and the target dose field of the target, and calculate the baseline adjustment dose field based on the first total dose field and the target dose field. Since the baseline adjustment dose field does not change, during the process of the user moving the target, the computer device can calculate and draw the latest isodose curve in real time with a small amount of calculation based on the dose field of the currently moving target and the baseline adjustment dose field of the target that has not moved, thereby ensuring that not too many computing resources are occupied and allowing the user to view the change information of the isodose curve in real time, thereby greatly reducing resource consumption and greatly improving the reference effect of the isodose curve.
[0080] As an optional implementation, when calculating the second total dose field in the above step S203, the position of the target after movement can be simultaneously combined for calculation, which is described in detail below.
[0081] Figure 4 A schematic diagram of a process for determining a second total dose curve in a method for real-time adjustment of isodose curves provided in an embodiment of the present application, such as Figure 4 As shown, an optional manner of the above step S203 includes:
[0082] S401, responding to the user's target movement operation, and obtaining the real-time moving position of the target.
[0083] As mentioned above, after the user selects the target, the computer device can monitor the user's operation in real time. As long as the user performs the target movement operation, the computer device can respond to the user's target movement operation in real time and obtain the real-time moving position of the target.
[0084] Optionally, the above-mentioned real-time moving position may refer to the real-time position of the target when the user moves the target. It should be understood that the position of the target will change in real time from the time the user starts to move the target to the time the user stops moving the target, so the computer device will monitor and obtain multiple real-time moving positions. For each real-time moving position, the computer device can obtain the second total dose field corresponding to the current real-time moving position in the manner of this embodiment and adjust the isodose curve accordingly.
[0085] Taking the user moving the target by operating the mouse as an example, after the user selects a target and presses the mouse, the computer device starts to monitor the position of the target dragged by the mouse in real time. Before the user releases the mouse, as long as the position of the target moves, the computer device obtains the position to which the target moves as the above-mentioned real-time moving position, and determines the second total dose field and adjusts the isodose curve accordingly. Among them, the computer device can represent the real-time moving position of the target by the coordinates of the central pixel point where the target is located.
[0086] S402, adjusting the dose field, the target dose field and the real-time moving position according to the above-mentioned benchmark, obtaining a second total dose field to adjust the isodose curve, and displaying the adjusted isodose curve.
[0087] Optionally, the computer device may first determine the moving dose field of the target at the above-mentioned real-time moving position according to the above-mentioned target dose field and the real-time moving position. Then, the second total dose field is determined according to the above-mentioned reference adjustment dose field and the moving dose field to adjust the isodose curve, and the adjusted isodose curve is displayed. The execution process of these two steps is described below.
[0088] As mentioned above, when the user selects a target, the target dose field of the target is obtained. Therefore, the target dose field refers to the dose field at the position where the target is located when the user selects the target. When the target moves to the above-mentioned real-time moving position, it can be regarded as the dose field being translated as a whole to the area centered on the real-time moving position. Therefore, when determining the mobile dose field of the target at the above-mentioned real-time moving position, the target dose field can be translated according to the area range corresponding to the dose field, the position of the target when the target is selected, and the above-mentioned real-time moving position to obtain the mobile dose field of the target at the real-time moving position. Compared with the target dose field, the range of the dose field and the dose of each point in the dose field are consistent, and the center position of the dose field is changed from the position when the target is selected to the above-mentioned real-time moving position. Figure 5 To determine the schematic diagram of the moving dose field at the real-time moving position, Figure 5 As shown, assuming that target A is selected at position 1, the target dose field of target A corresponds to region A. The target dose field is centered at position 1, and the dose at position 1 is the largest. The dose decreases in sequence along the boundary direction of region A. The user moves target A to position 2 in real time. At this time, the dose field of region A is translated using the positional relationship between position 1 and position 2 to obtain the moving dose field of target A at position 2. The region corresponding to the moving dose field is region B. The size of region B is the same as that of region A, and the dose of each point in region B is the same as that of each point in region A. For example, the dose at position 2 is the same as that at position 1, and so on.
[0089] After obtaining the above-mentioned mobile dose, the computer device can superimpose the mobile dose field to the above-mentioned reference adjustment dose field to obtain the above-mentioned second total dose field, and use the second total dose field to adjust the isodose curve, and display the adjusted isodose curve. The specific superposition method can refer to the description of the first total dose field in the above-mentioned embodiment, which will not be repeated here.
[0090] In this embodiment, the real-time moving position of the target and the target dose field when the target is selected are used, and the moving dose field of the target at the real-time moving position can be obtained after only a small amount of calculation. The moving dose field is then superimposed on the reference dose field to obtain the second total dose field, thereby greatly improving the calculation efficiency of the second total dose field.
[0091] The above embodiment illustrates the process of adjusting the isodose curve in real time according to the real-time moving position when the user moves the target. In this process, the computer device uses the reference adjustment dose field and the moving dose field at each real-time moving position to adjust the isodose curve in real time. The following describes the processing process after the user stops moving the target.
[0092] Figure 6 Another schematic flow chart of the method for real-time adjustment of isodose curves provided in an embodiment of the present application is as follows: Figure 6 As shown, after the above step S203, the above method further includes:
[0093] S601, responding to the user's stop moving operation, obtaining target information of all targets.
[0094] Taking the user moving the target by operating the mouse as an example, the stop movement operation may specifically be the user releasing the mouse. Specifically, when the user completes the movement of the target and releases the mouse, the target no longer moves, and the computer device may know that the user has stopped moving the target. In response to the user's stop movement operation, the computer device may obtain target information of all current targets in the area to be treated.
[0095] Optionally, the target information of each target may include the position coordinates of the target, collimator size, weight information, etc.
[0096] For all targets, the computer device can obtain target information of each target separately.
[0097] S602: Calculate a third total dose field according to target information of all targets to display corresponding isodose curves.
[0098] Optionally, for each target, the computer device can use the target information of the target to calculate the complete target dose field of the target. Exemplarily, a matrix model, a beam analysis model, a semi-empirical formula model, a three-dimensional integral model, etc. can be used to calculate the complete target dose field of the target with the target information as a parameter of the model.
[0099] After obtaining the complete target dose field of each target, the complete target dose field of each target can be superimposed to obtain the third total dose field. The specific superposition method can refer to the description of the first total dose field in the above embodiment, which will not be repeated here.
[0100] In this embodiment, after the user stops moving the target, the third total dose field is recalculated using the target information of each target, thereby ensuring the accuracy and precision of the third total dose field.
[0101] As an optional implementation, the target dose field of the target obtained in the aforementioned step S201 may include the following two forms.
[0102] In the first form, the target dose field of the target may refer to the complete target dose field of the target. The area corresponding to the complete target dose field is all areas that can be irradiated by the radiation beam. For this form, the complete target dose field of the target may be directly calculated based on the target information of the target using the above-mentioned matrix model or other methods.
[0103] In the second form, the target dose field of the target may refer to a core dose field included in the complete target dose field. The area corresponding to the core dose field is smaller than the area of the complete target dose field. For this form, the target dose field of the target may be calculated in the following manner.
[0104] Optionally, the target dose field may be determined based on the core dose coverage area of the target.
[0105] As mentioned above, the target dose field corresponding area of the target is centered on the position of the target, and the dose at the position of the target is the largest, and gradually decreases along the edge of the area. For a certain point on the edge of the area, the dose on it is small, and the impact on the total dose field is small. The dose of each point at the center of the area is large, and the impact on the total dose field is large. It is for this reason that the present application determines the target dose field based on the core dose coverage area of the target during the movement of the target. Among them, the core dose coverage area refers to an area composed of points with a dose that has a greater impact on the total dose field, which is centered on the position of the target and belongs to a sub-area of the area corresponding to the complete target dose field. Since the coverage range of the core dose coverage area is small, fewer points are involved. Therefore, when calculating the second total dose field in response to the user's operation of moving the target, the target dose field determined by the core dose coverage area will further reduce the amount of calculation, so that the isodose curve can be adjusted more quickly and in real time.
[0106] Optionally, the core dose coverage area can be used to calculate the dose distribution at each point in the area, thereby obtaining the above-mentioned target dose field.
[0107] As an optional implementation, the core dose coverage area may be determined in the following manner.
[0108] Optionally, the core dose coverage area may be determined based on the collimator size and / or dose field accuracy.
[0109] Among them, the larger the size of the collimator, the larger the field range, and accordingly, the larger the core dose coverage area, and vice versa. The dose field accuracy can be determined by the size of the unit lattice when the area to be treated is displayed on the image user interface. For example, when the size of the unit lattice is 1mm×1mm, the dose field accuracy is high precision, and when the size of the unit lattice is 3mm×3mm, the dose field accuracy is low precision. The greater the dose field accuracy, the larger the core coverage area, and vice versa. Specifically, the larger the core area, the more pixels the core coverage area includes.
[0110] As another possible scenario, the user may also add a new target point in the area to be treated. The following describes the process of adding a new target point.
[0111] Figure 7 Another flow chart of the method for adjusting the isodose curve in real time provided in the embodiment of the present application is as follows: Figure 7 As shown, the above method also includes:
[0112] S701, in response to the user's operation of arranging a new target, determining a new dose field of the new target.
[0113] For example, the user determines that a target point needs to be added at a certain point in the area to be treated based on the judgment of the lesion in the image and in combination with the prescription dose, collimator specifications, metering coverage threshold and other information. The user can move the mouse to the point and click the mouse, and the computer device can recognize that the user has added a target point at the point. In response to this operation, the computer device can determine the newly added dose field of the newly added target point.
[0114] Optionally, the computer device may determine the target dose field of the newly added target according to the position coordinates, collimator size, and weight information of the newly added target.
[0115] S702 , calculating a fourth total dose field according to the newly added dose field and the total dose field before the user arranges the newly added target point to display a corresponding isodose curve.
[0116] Optionally, if the newly added target is the first target arranged by the user in the area to be treated, that is, no other targets have been arranged before the newly added target, then the total dose field before the user arranges the newly added target is empty. If the newly added target is not the first target arranged by the user in the area to be treated, that is, other targets have been arranged before the newly added target, then the total dose field before the user arranges the newly added target is the total dose field formed by superimposing the dose fields of the targets that have been arranged before the newly added target. Using the total dose field and the newly added dose field of the newly added target, the latest fourth total dose field can be obtained, and the corresponding isodose curve can be drawn and displayed according to the fourth total dose field. This allows the user to view the isodose curve in time when adding a new target.
[0117] As an optional implementation, the above step S702 can be performed through the following process.
[0118] Optionally, the newly added dose field is superimposed on the total dose field before the user arranges the newly added target point to obtain the fourth total dose field. Furthermore, the corresponding isodose curve is displayed based on the fourth total dose field.
[0119] After the newly added dose field is superimposed on the total dose field before the user arranges the newly added target, the fourth total dose field is obtained. The fourth total dose field includes the doses corresponding to all currently arranged targets. On this basis, the corresponding isodose curves are drawn and displayed using the fourth total dose field, which can help the user measure whether the current arrangement of all target points is reasonable.
[0120] If the user determines that certain targets need to be adjusted based on the isodose curve, a target can be selected to move to adjust the position of the target. Accordingly, the computer device can use the method in the aforementioned embodiment to monitor the moving position of the target in real time, determine the total dose field of the target at each real-time moving position in real time, and draw the isodose curve accordingly. Therefore, in the application, when adding a new target, moving a target, and stopping moving the target, the computer device will display the isodose curve in real time accordingly, which can provide users with more and more effective reference information compared to the prior art.
[0121] Based on the same inventive concept, an apparatus for adjusting isodose curves in real time corresponding to the method for adjusting isodose curves in real time is also provided in the embodiments of the present application. Since the principle of solving the problem by the apparatus in the embodiments of the present application is similar to the method for adjusting isodose curves in real time in the embodiments of the present application, the implementation of the apparatus can refer to the implementation of the method, and the repeated parts will not be repeated.
[0122] Figure 8 A module structure diagram of a device for real-time adjustment of isodose curves provided in an embodiment of the present application, such as Figure 8 As shown, the device comprises:
[0123] The acquisition module 801 is used to respond to the user's target selection operation and acquire the first total dose field of the isodose curve before the target moves and the target dose field of the target.
[0124] The calculation module 802 is used to calculate a reference adjustment dose field according to the first total dose field and the target dose field.
[0125] The adjustment module 803 is used to respond to the user's target movement operation, and obtain a second total dose field based on the target movement operation, the reference adjustment dose field and the target dose field to adjust the isodose curve.
[0126] As an optional implementation manner, the adjustment module 803 is specifically configured to:
[0127] Respond to the user's target movement operation and obtain the real-time moving position of the target;
[0128] The dose field, the target dose field and the real-time moving position are adjusted according to the reference to obtain a second total dose field to adjust the isodose curve, and the adjusted isodose curve is displayed.
[0129] As an optional implementation, the calculation module 802 is further configured to:
[0130] In response to the user's stop moving operation, target information of all targets is obtained;
[0131] According to the target information of all the targets, a third total dose field is calculated to display corresponding isodose curves.
[0132] Fig. 9 A module structure diagram of another device for real-time adjustment of isodose curves provided in an embodiment of the present application, such as Fig. 9 As shown, the device also includes:
[0133] The determination module 804 is used to determine the target dose field according to the core dose coverage area of the target.
[0134] As an optional implementation manner, the determining module 804 is further configured to:
[0135] The core dose coverage area is determined according to the collimator size and / or dose field accuracy.
[0136] As an optional implementation, the calculation module 802 is further configured to:
[0137] In response to the user's operation of arranging a new target, determining a new dose field of the new target;
[0138] According to the newly added dose field and the total dose field before the user arranges the newly added target point, a fourth total dose field is calculated to display the corresponding isodose curve.
[0139] As an optional implementation manner, the calculation module 802 is specifically configured to:
[0140] Superimposing the newly added dose field onto the total dose field before the user arranges the newly added target point to obtain the fourth total dose field;
[0141] A corresponding isodose curve is displayed based on the fourth total dose field.
[0142] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0143] The present application embodiment also provides a computer device 100, such as Fig.10 1 is a schematic diagram of the structure of a computer device 100 provided in an embodiment of the present application, including: a processor 101, a memory 102, and optionally, a bus 103. The memory 102 stores machine-readable instructions executable by the processor 101 (for example, Figure 8 When the computer device 100 is running, the processor 101 communicates with the memory 102 through the bus 103, and when the machine-readable instructions are executed by the processor 101, the method steps in the aforementioned method embodiment are executed.
[0144] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for adjusting isodose curves in real time are executed.
[0145] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules 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 communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0146] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function 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 invention is essentially or part of the technical solution that contributes to the prior art 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 several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.
[0147] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A method for adjusting isodose curves in real time, characterized in that: The method comprises: In response to a user's target selection operation in the area to be treated, a first total dose field of the isodose curve before the selected target is moved and a target dose field of the selected target are obtained, wherein the first total dose field is a total dose field formed by superimposing dose fields of all the target points arranged in the area to be treated; Calculating a reference adjusted dose field according to the first total dose field and the target dose field of the selected target, wherein the reference adjusted dose field is a total dose field formed by superimposing the dose fields of the remaining arranged targets in the area to be treated except the selected target; In response to the user's movement operation on the selected target point, obtaining the real-time moving position of the selected target point; Determining a moving dose field of the selected target at the real-time moving position according to the target dose field of the selected target and the real-time moving position of the selected target; The moving dose field is superimposed on the reference adjustment dose field to obtain a second total dose field.
2. The method according to claim 1, characterized in that Also includes: The isodose curve is adjusted according to the second total dose field, and the adjusted isodose curve is displayed.
3. The method according to claim 1, characterized in that After the moving dose field is superimposed on the reference adjustment dose field to obtain the second total dose field, the method further includes: In response to the user's stop moving operation, target information of all targets is obtained; According to the target information of all the targets, a third total dose field is calculated to display corresponding isodose curves.
4. The method according to claim 1, characterized in that: The method further comprises: The target dose field is determined according to the core dose coverage area of the selected target.
5. The method according to claim 4, characterized in that Before determining the target dose field according to the core dose coverage area of the selected target, the method further includes: The core dose coverage area is determined according to the collimator size and / or dose field accuracy.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to the user's operation of arranging a new target, determining a new dose field of the new target; According to the newly added dose field and the total dose field before the user arranges the newly added target point, a fourth total dose field is calculated to display the corresponding isodose curve.
7. The method according to claim 6, characterized in that The calculating, according to the newly added dose field and the total dose field before the user arranges the newly added target point, a fourth total dose field to display a corresponding isodose curve includes: Superimposing the newly added dose field onto the total dose field before the user arranges the newly added target point to obtain the fourth total dose field; A corresponding isodose curve is displayed based on the fourth total dose field.
8. A device for real-time adjustment of isodose curves, characterized in that: The device comprises: an acquisition module, configured to respond to a user's target selection operation in the area to be treated, and acquire a first total dose field of the isodose curve before the selected target is moved and a target dose field of the selected target, wherein the first total dose field is a total dose field formed by superimposing the dose fields of all the target points arranged in the area to be treated; a calculation module, configured to calculate a reference adjusted dose field according to the first total dose field and the target dose field of the selected target, wherein the reference adjusted dose field is a total dose field formed by superimposing the dose fields of the remaining arranged targets in the area to be treated except the selected target; The adjustment module is used to respond to the user's movement operation on the selected target and obtain the real-time moving position of the selected target; determine the moving dose field of the selected target at the real-time moving position according to the target dose field of the selected target and the real-time moving position of the selected target; and superimpose the moving dose field on the reference adjustment dose field to obtain a second total dose field.
9. A computer device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor executes the machine-readable instructions to execute the steps of the method for real-time adjustment of isodose curves as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for adjusting isodose curves in real time as claimed in any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Target spot layout optimization method in treatment plan and treatment plan system
CN102024097A
Knowledge-based spatial dose metrics and methods to generate beam orientations in radiotherapy
US20170072220A1