Method for planning a field execution path for non-coplanar radiation therapy and use thereof
By optimizing the field execution path in a two-dimensional coordinate system, the problem of excessively long execution time caused by manual arrangement in non-coplanar radiotherapy is solved, achieving a more efficient field execution plan and ensuring treatment safety and efficiency.
Patent Information
- Application Number
- CN202611251922.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, the execution order and rotation direction of non-coplanar radiotherapy fields mainly rely on manual arrangement, lacking mature and effective automatic sorting and path optimization algorithms, resulting in long execution times, which affects treatment efficiency and patient experience.
By constructing a two-dimensional coordinate system, the field position parameters are mapped to a two-dimensional plane. A path planning algorithm is used to traverse and optimize the field control points. Collision detection is combined to select safe paths, optimize the field execution order and rotation direction, and generate a field execution plan with the shortest total execution time.
Without altering dosimetric quality, it significantly reduces idle and waiting time between radiation fields, shortens radiotherapy planning execution time, and ensures treatment safety.
Smart Images

Figure CN123148564A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of radiotherapy technology, specifically relating to a method for planning the execution path of a non-coplanar radiotherapy field and its application. Background Technology
[0002] With the continuous iteration of radiotherapy hardware and software technologies, intensity-modulated radiotherapy (IMRT) has gradually replaced three-dimensional conformal radiotherapy as the mainstream clinical technique. Based on this, volumetric intensity-modulated rotational radiotherapy (VMAT) can achieve better target dose conformity through continuous gantry rotation combined with dynamic adjustment of multi-leaf collimators, while reducing the high-dose irradiated volume of normal tissue outside the target area and improving treatment execution efficiency.
[0003] To further improve the quality of dose distribution in complex cases, non-coplanar field techniques are widely used. By rotating the treatment table to change the incident plane of the field, the target area can be covered from multiple angles in three-dimensional space, effectively avoiding organs at risk. Clinical studies have shown that a greater number of fields can improve dose gradient and conformity, but it also directly prolongs the treatment time. Furthermore, increased treatment time within fractions increases the risk of patient positional drift, ultimately leading to a deviation between the actual delivered dose and the planned dose, affecting treatment accuracy. Therefore, current VMAT plans typically configure 2-5 extended arc fields to balance dose quality and treatment efficiency.
[0004] Currently in clinical practice, the execution order and rotation direction of multi-field radiotherapy are still mainly set manually, especially for complex plans involving non-coplanar fields. This heavily relies on personal experience, increasing the time cost and difficulty of plan design, and is also prone to errors and uncertainties due to human operation. With the increasing application of non-coplanar multi-arc radiotherapy, the connection order and rotation direction between multiple fields have become key factors affecting the total treatment time. Existing automated field sequencing schemes mostly use simple clockwise / counterclockwise sequencing logic, which is only suitable for static IMRT fixed-angle field scenarios. For VMAT plans containing multiple arc fields, especially non-coplanar multi-arc plans, there is a lack of mature and effective automated sequencing and path optimization algorithms, resulting in longer execution times for non-coplanar radiotherapy, which is detrimental to improving patient experience and affecting treatment efficiency. Summary of the Invention
[0005] The purpose of this application is to provide a method for planning the execution path of non-coplanar radiotherapy and its application, in order to solve the problem that the execution order and rotation direction settings of multi-field plans in the prior art are still mainly set manually, lacking mature and effective automatic sorting and path optimization algorithms, which leads to excessive execution time for non-coplanar radiotherapy, which is not conducive to improving patient experience and affecting treatment efficiency.
[0006] To achieve the above objectives, the first aspect of this application provides a method for planning the execution path of a radiation field in non-coplanar radiotherapy, comprising: A two-dimensional coordinate system is constructed, which includes an x-axis for representing the rotation angle of the gantry and a y-axis for representing the rotation angle of the treatment bed; Obtain the field position parameters of the radiotherapy plan to be optimized, and map each field position parameter to the two-dimensional coordinate system to obtain the corresponding field control point; A path planning algorithm is used to traverse the control points of the firing field in the two-dimensional coordinate system to obtain multiple traversal paths; Calculate the total execution time of different traversal paths, and select the traversal path with the shortest total execution time to obtain the target traversal path; Based on the target traversal path, the shooting field execution plan is obtained.
[0007] In one or more embodiments, the step of mapping each of the firing field position parameters to the two-dimensional coordinate system includes: Obtain the gantry rotation angle and treatment bed rotation angle corresponding to the field position parameters; The coordinate points in the two-dimensional coordinate system that have the rotation angle of the gantry and the rotation angle of the treatment bed are used as the field control points corresponding to the field position parameters.
[0008] In one or more embodiments, the step of mapping each of the firing field position parameters to the two-dimensional coordinate system further includes: Set the state value of all coordinate points in the two-dimensional coordinate system to 0, then read all the shooting field control points in the two-dimensional coordinate system, and assign a preset value to the state value of each shooting field control point.
[0009] In one or more embodiments, the step of traversing the firing control points in the two-dimensional coordinate system using a path planning algorithm includes: Using the preset boundary position of the two-dimensional coordinate system as the starting point, move along the x-axis from the starting point in a preset direction; When the first field control point with a non-zero state value is encountered during the current movement, a new path segment is created and the movement continues. Each time a field control point is reached, the field control point is stored in the current path segment and its state value is set to 0. When the current row moves to the edge or encounters a coordinate point with a state value of 0, the current path segment is stored, and the movement direction is changed to find the next shooting field control point with a non-zero state value and create a new path segment, until the state values of all coordinate points in the current row are 0, and then the next row is switched. When the state value of all coordinate points in the two-dimensional coordinate system is 0, the traversal ends and the sequentially arranged path segments are returned, thus obtaining the traversal path corresponding to the current preset direction.
[0010] In one or more embodiments, the preset direction includes opposite first and second directions, and the preset boundary position includes the intersection of the gantry rotation angle boundary value and the treatment bed rotation angle boundary value; the gantry rotation angle boundary value includes -180 degrees, 0 degrees, or 180 degrees; The step of using a path planning algorithm to traverse the control points of the firing field in the two-dimensional coordinate system further includes: Using the first direction and the second direction as the preset directions respectively, and using different preset boundary positions as the starting points respectively, traversal is performed to obtain multiple different traversal paths.
[0011] In one or more embodiments, the method for calculating the total execution time of the traversal path includes: Based on the preset rotation speed of the rack, the time for each path segment in the traversal path is determined to obtain the total rack rotation time. Calculate the difference in treatment bed angle between adjacent path segments in the traversal path to obtain the total movement angle of the treatment bed; The total rotation time of the treatment bed is obtained based on the preset rotation speed of the treatment bed and the total movement angle of the treatment bed; The total execution time of the traversal path is obtained based on the total rotation time of the gantry and the total rotation time of the treatment bed.
[0012] In one or more embodiments, it further includes: Collision testing is performed on the traversal path, and traversal paths with a risk of collision are eliminated. The collision test method includes: A 3D model of the gantry and a 3D model of the treatment bed are constructed in the same 3D coordinate system, and a 3D outer contour model is generated based on the CT images of the radiotherapy target. Based on the traversal path, the 3D model of the gantry and the surface model of the treatment bed are rotated sequentially in the 3D coordinate system to detect whether there is a risk of collision between the 3D model of the gantry, the surface model of the treatment bed, and the 3D outer contour model.
[0013] To achieve the above objectives, a second aspect of this application provides a planning device for the execution path of a radiation field in non-coplanar radiotherapy, comprising: A two-dimensional construction module is used to construct a two-dimensional coordinate system, which includes an x-axis for representing the rotation angle of the gantry and a y-axis for representing the rotation angle of the treatment bed; The dimension reduction module is used to obtain the field position parameters of the radiotherapy plan to be optimized, and to map each field position parameter to the two-dimensional coordinate system to obtain the corresponding field control point. The planning module is used to traverse the firing field control points in the two-dimensional coordinate system using a path planning algorithm to obtain multiple traversal paths; The calculation module is used to calculate the total execution time of different traversal paths and select the traversal path with the shortest total execution time to obtain the target traversal path; The output module is used to obtain the shooting field execution plan based on the target traversal path.
[0014] To achieve the above objectives, a third aspect of this application provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the method for planning the radiation field execution path of non-coplanar radiotherapy as described in any of the above embodiments.
[0015] To achieve the above objectives, a fourth aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the method for planning the radiation field execution path for non-coplanar radiotherapy as described in any of the above embodiments. The advantages of this application, which differ from existing technologies, are: This application, without altering the dosimetric quality of the original plan, significantly reduces the idling and waiting time of the accelerator between radiation fields by intelligently optimizing the execution sequence and rotation direction of the radiation fields, thereby shortening the execution time of a single radiotherapy plan; This application ensures the safety of the optimized plan at the physical execution level through collision detection. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating one implementation method of the radiation field execution path planning method for non-coplanar radiotherapy according to this application; Figure 2 yes Figure 1 A flowchart illustrating one embodiment corresponding to S200; Figure 3 This is a schematic diagram of the control points of the firing field in the two-dimensional coordinate system of this application; Figure 4 yes Figure 1 A flowchart illustrating one embodiment corresponding to S400; Figure 5 yes Figure 1 A flowchart of one embodiment corresponding to S500; Figure 6 This is a schematic diagram of one implementation method of the target traversal path in this application; Figure 7 This is a schematic diagram of an embodiment of the planning device for the radiation field execution path in non-coplanar radiotherapy according to this application; Figure 8 This is a schematic diagram of one embodiment of the electronic device of this application. Detailed Implementation
[0018] To enable those skilled in the art to better understand the technical solutions in this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this disclosure.
[0019] Non-coplanar volumetric modulated arc radiation therapy (VMAT) achieves better target dose conformity and organ-at-risk protection by simultaneously rotating the accelerator gantry and treatment bed, allowing radiation to enter from multiple non-coplanar angles in three-dimensional space. However, the execution of multiple non-coplanar arc fields involves large-angle combined movements of the gantry and treatment bed, and the switching time between fields is directly related to the movement path. In clinical practice, the execution sequence and rotation direction of the fields still mainly rely on manual arrangement, which is not only inefficient but also makes it difficult to ensure optimal total execution time.
[0020] To address the aforementioned issues, this application provides a method for planning the execution path of non-coplanar radiotherapy fields. By reducing the dimensionality of the field distribution in three-dimensional space to a two-dimensional gantry angle-treatment bed angle coordinate system, and using a path planning algorithm for traversal optimization, combined with collision detection to screen safe paths, the final field execution plan with the shortest total execution time is obtained.
[0021] Specifically, please refer to Figure 1 , Figure 1 This is a flowchart illustrating one implementation method of the radiation field execution path planning method for non-coplanar radiotherapy according to this application.
[0022] like Figure 1 As shown, the method includes: S100, Construct a two-dimensional coordinate system.
[0023] This step aims to provide a standardized mathematical framework for subsequent path planning, reducing the complex gantry-treatment bed motion in three-dimensional space to a coordinate problem on a two-dimensional plane.
[0024] Specifically, a two-dimensional Cartesian coordinate system is constructed, where the horizontal axis (x-axis) represents the gantry angle and the vertical axis (y-axis) represents the couch angle. The gantry angle can cover -180 degrees to +180 degrees, representing the rotational position of the gantry around the patient's isocenter point; the couch angle represents the rotational position of the couch around the vertical axis, and the specific range can be determined according to the type of couch or the model of the linear accelerator.
[0025] In one implementation, the resolution of the coordinate system can be set according to the accuracy of the control points of the original radiotherapy plan, for example, one coordinate unit for each degree of the gantry angle and one coordinate unit for each degree of the treatment bed angle, thereby forming a discrete two-dimensional grid.
[0026] Through this two-dimensional coordinate system, the state of the control point of any non-coplanar radiation field can be uniquely represented by a set of (x,y) coordinates, and the distribution of all radiation fields in the entire radiotherapy plan is represented as a set of discrete points or continuous line segments on this two-dimensional plane.
[0027] S200. Obtain the field position parameters of the radiotherapy plan to be optimized, and map each field position parameter to a two-dimensional coordinate system to obtain the corresponding field control point.
[0028] After the two-dimensional coordinate system is constructed, the field information in the original radiotherapy plan can be converted into a computable object in the two-dimensional coordinate system, providing input data for the path planning algorithm.
[0029] Through this dimensionality reduction operation, the gantry rotation and the treatment bed rotation are two relatively independent mechanical degrees of freedom. Under the clinical constraint that the treatment bed remains stationary during the beam output process, a single arc-shaped radiation field in the two-dimensional coordinate system must be represented as a horizontal line segment with the same y value and continuously changing x. This transforms the path optimization problem in three-dimensional space into a line segment traversal and connection problem on a two-dimensional plane, greatly reducing the computational complexity.
[0030] Specifically, please refer to Figure 2 , Figure 2 yes Figure 1 A flowchart illustrating one embodiment corresponding to S200. For example... Figure 2 As shown, this step may include: S201. Obtain the gantry rotation angle and treatment bed rotation angle corresponding to the shooting field position parameters.
[0031] By acquiring the radiotherapy plan file to be optimized (such as the DICOM RTPLAN format), the control point information of all radiation fields or arc fields can be analyzed. For each control point, its gantry rotation angle G and treatment table rotation angle are extracted as the radiation field position parameters for that control point. For VMAT plans, an arc field contains a series of continuous control points, forming a rotational trajectory from the starting gantry angle to the ending gantry angle.
[0032] S202. Use the coordinate points in the two-dimensional coordinate system that have the rotation angle of the gantry and the rotation angle of the treatment bed as the control points of the field corresponding to the field position parameters.
[0033] Each extracted set of field position parameters is mapped to a two-dimensional coordinate system constructed by S100, and the grid points corresponding to the coordinates are marked as field control points. If there are multiple arc-shaped fields in the original plan, and different fields share the same combination of gantry angle and treatment bed angle, then the coordinate point may be mapped multiple times.
[0034] S203. Set the state value of all coordinate points in the two-dimensional coordinate system to 0, then read all the shooting field control points in the two-dimensional coordinate system, and set the state value of each shooting field control point to a preset value.
[0035] To facilitate subsequent path planning, the state value of all coordinate points in the two-dimensional coordinate system can be initialized to 0, indicating that there is no need for field coverage at that location. Subsequently, all field control points are traversed, and the state value of the coordinate point where each field control point is located is assigned a preset value, such as 1.
[0036] After this step, a two-dimensional coordinate system is formed, creating a distribution map of the control points in the firing field. Points with a state value greater than 0 constitute the target area that the subsequent path planning algorithm needs to traverse and cover, while points with a state value equal to 0 constitute blank areas that do not require firing. For an example, please refer to [link to example]. Figure 3 , Figure 3 This is a schematic diagram of the control points of the shooting field in the two-dimensional coordinate system of this application.
[0037] like Figure 3 As shown, the horizontal axis represents the gantry angle, the vertical axis represents the couch angle, and the coordinates marked with the origin are the control points, which must be covered by the subsequent field execution path.
[0038] S300: A path planning algorithm is used to traverse the control points of the firing field in a two-dimensional coordinate system to obtain multiple traversal paths.
[0039] By using a path planning algorithm, feasible paths covering all target coordinate points are searched on a two-dimensional state distribution map, and the discrete original firing field control points are reorganized into a successive firing field sequence with a better execution order.
[0040] In one implementation, the path planning algorithm can be a snake algorithm. Specifically, the method for traversing the control points of the shooting field can be as follows: Starting from the preset boundary position of the two-dimensional coordinate system, move along the x-axis in a preset direction. When the first non-zero field control point is encountered during the current movement, a new path segment is created and the movement continues. Each time a field control point is reached, the field control point is stored in the current path segment and its state value is set to 0. When the current row moves to the edge or encounters a coordinate point with a state value of 0, the current path segment is stored, and the movement direction is changed to find the next shooting field control point with a non-zero state value and create a new path segment, until the state values of all coordinate points in the current row are 0, then switch to the next row; When the state value of all coordinate points in the two-dimensional coordinate system is 0, the traversal ends and the sequentially arranged path segments are returned, thus obtaining the traversal path corresponding to the current preset direction.
[0041] Based on the aforementioned path planning algorithm, the two-dimensional state distribution map is decomposed into several continuous horizontal path segments. Each path segment corresponds to a clinically executable arc-shaped field of view. This arc-shaped field of view corresponds to the same treatment bed angle, and the gantry rotates from the starting angle to the ending angle. The algorithm uses a "serpentine" reciprocating scan to prioritize covering as many continuous control points as possible at the same treatment bed angle, thereby reducing the number of treatment bed switching operations. Since the rotation speed of the treatment bed is usually slower than the rotation speed of the gantry, reducing the number of bed switching operations is significant for shortening the total execution time. Figure 3 As shown, the movement within the same row is called BeamExcuting, in which only the gantry rotates while the treatment bed remains fixed; the movement between different rows is called BeamSwitching, in which the gantry and treatment bed rotate synchronously.
[0042] At the same time, multiple different traversal paths can be obtained based on different initial movement directions and different starting points.
[0043] To fully search the solution space, the first and second directions can be used as preset directions respectively, and different preset boundary positions can be used as starting points to repeat the above traversal process, thereby obtaining multiple different candidate traversal paths.
[0044] In one embodiment, the optional preset boundary position may include the intersection of the gantry rotation angle boundary value and the treatment bed rotation angle boundary value. The gantry rotation angle boundary value may include -180 degrees, 0 degrees, or 180 degrees, that is, the four corners of the two-dimensional coordinate system and the two ends of the x-axis at the center of the y-axis.
[0045] It should be noted that, in addition to the snake algorithm, alternative implementations of the path planning algorithm can also employ global optimization algorithms such as the Traveling Salesman Problem (TSP), genetic algorithms, simulated annealing, tabu search, particle swarm optimization, and ant colony optimization, or multi-objective optimization algorithms (such as NSGA-II) to simultaneously optimize multiple objectives such as execution time, mechanical motion complexity, and collision risk. The core idea of all these algorithms is to find the optimal traversal order covering all control points in a two-dimensional coordinate system; this disclosure does not limit this.
[0046] S400. Perform collision testing on the traversal path and remove traversal paths that pose a collision risk.
[0047] In one implementation, collision testing can be used to preemptively eliminate infeasible paths in three-dimensional physical space that could lead to a collision between the gantry and the patient or treatment bed, thus ensuring treatment safety.
[0048] Specifically, please refer to Figure 4 , Figure 4 yes Figure 1 A flowchart illustrating one embodiment corresponding to S400. (For example...) Figure 4 As shown, this step may include: S401. Construct a 3D model of the gantry and a 3D model of the treatment bed in the same 3D coordinate system, and generate a 3D outer contour model based on the CT images of the radiotherapy target.
[0049] Among them, the 3D model of the gantry can be based on the geometric shape parameters, head structure dimensions and equipment technical parameters of the accelerator system, such as mechanical limits and the dimensions of each component in the manufacturer's manual. It can establish a 3D geometric model that includes the gantry rotating arm, head shell, multi-leaf collimator (MLC) lead door, CBCT imaging arm and other protruding structures. This model accurately reflects the spatial occupancy of each component during the rotation of the accelerator. The treatment bed surface model can be determined based on the 'Support' structure in the RTSTRUCT file; The three-dimensional outer contour model of the radiotherapy target can be generated from the patient's skin surface by using threshold segmentation or deep learning segmentation methods based on the CT image of the radiotherapy target.
[0050] S402. Based on the traversal path, sequentially rotate the 3D model of the gantry and the surface model of the treatment bed in the 3D coordinate system to detect whether there is a risk of collision between the 3D model of the gantry and the surface model and the 3D outer contour model of the treatment bed.
[0051] For each candidate traversal path generated by S300, its execution process is simulated in a three-dimensional coordinate system. Specifically, during the beam exit process of a single beam field, the positions of the treatment bed and the patient remain unchanged. According to the starting angle and ending angle of the gantry corresponding to the current path segment in the traversal path, the gantry 3D model is rotated, and the minimum distance between the gantry 3D model and the treatment bed surface model and the 3D outer contour model is detected throughout the rotation process. During the adjacent field switching process, the gantry is rotated from the end angle of the current path segment to the starting angle of the next path segment in the order of traversing the path. At the same time, the treatment bed is rotated from the current angle to the treatment bed angle of the next path segment. The process of simultaneous rotation of the two is simulated, and the collision is detected during this joint movement.
[0052] During the simulation, the shortest distance between the real-time computer frame 3D model and the treatment bed surface model and 3D outer contour model is measured. If the distance is less than the preset safety threshold, such as 5mm or 10mm, a collision risk is determined, and the candidate traversal path is marked as infeasible and eliminated. If all motion postures meet the safety distance requirements, the path passes the collision detection and proceeds to the next step.
[0053] S500. Calculate the total execution time of different traversal paths, and select the traversal path with the shortest total execution time to obtain the target traversal path.
[0054] Specifically, please refer to Figure 5 , Figure 5 yes Figure 1 A flowchart illustrating one embodiment corresponding to S500. (For example...) Figure 5 As shown, this step may include: S501. Based on the preset rotation speed of the rack, determine the time for each path segment in the traversal path to obtain the total rack rotation time.
[0055] For a traversal path, there are several path segments. For each path segment, the rotation angle required for the computer rack to rotate from the starting angle to the ending angle is calculated. Based on the rack's preset rotation speed, the rack rotation time for each path segment is calculated and accumulated to obtain the total rack rotation time.
[0056] S502. Calculate the difference in treatment bed angles between adjacent path segments in the traversal path to obtain the total movement angle of the treatment bed.
[0057] Traverse the path and find the different treatment bed angles corresponding to adjacent path segments. Calculate the difference in treatment bed angle between adjacent path segments and sum up the difference in treatment bed angle between all adjacent path segments to obtain the total movement angle of the treatment bed.
[0058] S503. Based on the preset rotation speed and total movement angle of the treatment bed, the total rotation time of the treatment bed is obtained.
[0059] Based on the preset rotation speed of the treatment bed and the total movement angle of the treatment bed obtained in S502, the total rotation time of the treatment bed is calculated.
[0060] S504. Based on the total rotation time of the gantry and the total rotation time of the treatment bed, the total execution time of the traversal path is obtained.
[0061] Based on the total rotation time of the gantry and the total rotation time of the treatment bed, the total execution time of the traversal path is obtained. The total execution time of all candidate traversal paths that pass the collision detection is compared, and the one with the shortest total execution time is selected as the target traversal path.
[0062] It should be noted that when switching between adjacent path segments, in addition to the rotation of the treatment bed, the gantry also rotates synchronously to the starting angle of the next path segment. Since the rotation speed of the gantry is generally much higher than that of the treatment bed, the total rotation time of the treatment bed can be used instead, and the time occupied by the rotation of the gantry between different path segments is not considered.
[0063] For example, please refer to Figure 6 , Figure 6 This is a schematic diagram of one implementation method of the target traversal path in this application. For example... Figure 6 As shown, the target traversal path starts from the top row and moves counterclockwise, then moves down to the middle row and moves clockwise, and finally moves down to the bottom row and moves counterclockwise, covering all the shooting field control points and achieving the minimum total execution time.
[0064] S600: Based on the target traversal path, obtain the shooting field execution plan.
[0065] After obtaining the optimal target traversal path, it can be inverted into an executable clinical radiotherapy plan in three-dimensional space. Specifically, based on the order of each path segment in the target traversal path, the execution parameters for each radiation field, such as the starting gantry angle, ending gantry angle, treatment table rotation angle, and rotation direction, are determined. Simultaneously, the basic parameters of each radiation field in the original radiotherapy plan are kept unchanged, including the multi-leaf collimator (MLC) shape and MU weights, ensuring complete consistency between the dose distribution and dose-volume histogram (DVH) before and after optimization. These parameters are then rearranged according to the DICOM RTPLAN standard format to generate a new radiation field execution plan.
[0066] Through the above steps, this application significantly reduces the idling and waiting time of the accelerator between radiation fields by intelligently optimizing the execution sequence and rotation direction of the radiation fields without changing the dosimetric quality of the original plan, thereby shortening the execution time of a single radiotherapy plan; at the same time, the integrated collision detection function ensures the safety of the optimized plan at the physical execution level.
[0067] This application also provides a planning device for the execution path of a radiation field in non-coplanar radiotherapy. Please refer to [link to relevant documentation]. Figure 7 , Figure 7 This is a schematic diagram of an embodiment of the planning device for the radiation field execution path of non-coplanar radiotherapy according to this application.
[0068] like Figure 7 As shown, the planning device includes a two-dimensional construction module 21, a dimensionality reduction module 22, a planning module 23, a calculation module 24, and an output module 25.
[0069] Among them, the two-dimensional construction module 21 is used to construct a two-dimensional coordinate system, which includes an x-axis for representing the rotation angle of the gantry and a y-axis for representing the rotation angle of the treatment bed; The dimensionality reduction module 22 is used to obtain the field position parameters of the radiotherapy plan to be optimized, and to map each field position parameter to a two-dimensional coordinate system to obtain the corresponding field control point. Planning module 23 is used to traverse the control points of the firing field in a two-dimensional coordinate system using a path planning algorithm to obtain multiple traversal paths; The calculation module 24 is used to calculate the total execution time of different traversal paths and select the traversal path with the shortest total execution time to obtain the target traversal path; Output module 25 is used to obtain the shooting field execution plan based on the target traversal path.
[0070] In one embodiment, the planning device may further include a collision detection module 26, which is used to construct a 3D model of the gantry and a treatment bed surface model in the same 3D coordinate system, and generate a 3D outer contour model based on the CT image of the radiotherapy target; based on the traversal path, sequentially rotate the 3D model of the gantry and the treatment bed surface model in the 3D coordinate system to detect whether there is a collision; and eliminate the traversal path with a collision.
[0071] The details mentioned in the above description of the method embodiments also apply to the planning device for the radiation field execution path of non-coplanar radiotherapy in the embodiments of this specification. The planning device described above can be implemented in hardware, software, or a combination of hardware and software.
[0072] This application also provides an electronic device, please refer to... Figure 8 , Figure 8 This is a schematic diagram of one embodiment of the electronic device of this application.
[0073] like Figure 8 As shown, the electronic device 30 may include at least one processor 31, a memory 32 (e.g., non-volatile memory), a RAM 33, and a communication interface 34, and the at least one processor 31, memory 32, RAM 33, and communication interface 34 are connected together via a bus 35. The at least one processor 31 executes at least one computer-readable instruction stored or encoded in the memory 32.
[0074] It should be understood that the computer-executable instructions stored in memory 32, when executed, cause at least one processor 31 to perform the above-described combinations in the various embodiments of this specification. Figures 1 to 6 The description includes various operations and functions.
[0075] In the embodiments of this specification, electronic device 30 may include, but is not limited to: personal computer, server computer, workstation, desktop computer, laptop computer, notebook computer, mobile electronic device, smartphone, tablet computer, cellular phone, personal digital assistant (PDA), handheld device, messaging device, wearable electronic device, consumer electronic device, etc.
[0076] According to one embodiment, a program product, such as a machine-readable medium, is provided. The machine-readable medium may have instructions (i.e., the elements implemented in software as described above), which, when executed by a machine, cause the machine to perform the above-described combinations of the various embodiments of this specification. Figures 1 to 6 The various operations and functions described. Specifically, a system or apparatus equipped with a readable storage medium storing software program code that implements the functions of any of the embodiments described above, and enabling the computer or processor of the system or apparatus to read and execute the instructions stored in the readable storage medium.
[0077] In this case, the program code read from the readable medium itself can perform the functions of any of the above embodiments, and therefore the machine-readable code and the readable storage medium storing the machine-readable code constitute a part of this specification.
[0078] Examples of readable storage media include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer or the cloud via a communication network.
[0079] Numerous specific details are set forth in this specification. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0080] In the description of this specification, the references to "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be covered within the scope of the claims and specification of the present invention.
Claims
1. A method of planning a field delivery path for non-coplanar radiation therapy, characterized by, include: A two-dimensional coordinate system is constructed, which includes an x-axis for representing the rotation angle of the gantry and a y-axis for representing the rotation angle of the treatment bed; Obtain the field position parameters of the radiotherapy plan to be optimized, and map each field position parameter to the two-dimensional coordinate system to obtain the corresponding field control point; A path planning algorithm is used to traverse the control points of the firing field in the two-dimensional coordinate system to obtain multiple traversal paths; Calculate the total execution time of different traversal paths, and select the traversal path with the shortest total execution time to obtain the target traversal path; Based on the target traversal path, the shooting field execution plan is obtained.
2. The planning method of claim 1, wherein, The step of mapping each of the firing field position parameters to the two-dimensional coordinate system includes: Obtain the gantry rotation angle and treatment bed rotation angle corresponding to the field position parameters; The coordinate points in the two-dimensional coordinate system that have the rotation angle of the gantry and the rotation angle of the treatment bed are used as the field control points corresponding to the field position parameters.
3. The planning method of claim 1, wherein, The step of mapping each of the firing field position parameters to the two-dimensional coordinate system further includes: Set the state value of all coordinate points in the two-dimensional coordinate system to 0, then read all the shooting field control points in the two-dimensional coordinate system, and assign a preset value to the state value of each shooting field control point.
4. The planning method of claim 3, wherein, The step of using a path planning algorithm to traverse the control points of the firing field in the two-dimensional coordinate system includes: Using the preset boundary position of the two-dimensional coordinate system as the starting point, move along the x-axis from the starting point in a preset direction; When the first field control point with a non-zero state value is encountered during the current movement, a new path segment is created and the movement continues. Each time a field control point is reached, the field control point is stored in the current path segment and its state value is set to 0. When the current row moves to the edge or encounters a coordinate point with a state value of 0, the current path segment is stored, and the movement direction is changed to find the next shooting field control point with a non-zero state value and create a new path segment, until the state values of all coordinate points in the current row are 0, and then the next row is switched. When the state value of all coordinate points in the two-dimensional coordinate system is 0, the traversal ends and the sequentially arranged path segments are returned, thus obtaining the traversal path corresponding to the current preset direction.
5. The planning method of claim 4, wherein, The preset direction includes opposite first and second directions, and the preset boundary position includes the intersection of the gantry rotation angle boundary value and the treatment bed rotation angle boundary value; the gantry rotation angle boundary value includes -180 degrees, 0 degrees or 180 degrees. The step of using a path planning algorithm to traverse the control points of the firing field in the two-dimensional coordinate system further includes: Using the first direction and the second direction as the preset directions respectively, and using different preset boundary positions as the starting points respectively, traversal is performed to obtain multiple different traversal paths.
6. The planning method of claim 1, wherein, The method for calculating the total execution time of the traversal path includes: Based on the preset rotation speed of the rack, the time for each path segment in the traversal path is determined to obtain the total rack rotation time. Calculate the difference in treatment bed angle between adjacent path segments in the traversal path to obtain the total movement angle of the treatment bed; The total rotation time of the treatment bed is obtained based on the preset rotation speed of the treatment bed and the total movement angle of the treatment bed; The total execution time of the traversal path is obtained based on the total rotation time of the gantry and the total rotation time of the treatment bed.
7. The planning method of claim 1, wherein, Also includes: Collision testing is performed on the traversal path, and traversal paths with a risk of collision are eliminated. The collision test method includes: A 3D model of the gantry and a 3D model of the treatment bed are constructed in the same 3D coordinate system, and a 3D outer contour model is generated based on the CT images of the radiotherapy target. Based on the traversal path, the 3D model of the gantry and the surface model of the treatment bed are rotated sequentially in the 3D coordinate system to detect whether there is a risk of collision between the 3D model of the gantry, the surface model of the treatment bed, and the 3D outer contour model.
8. A device for planning the execution path of a radiation field in non-coplanar radiotherapy, characterized in that, include: A two-dimensional construction module is used to construct a two-dimensional coordinate system, which includes an x-axis for representing the rotation angle of the gantry and a y-axis for representing the rotation angle of the treatment bed; The dimension reduction module is used to obtain the field position parameters of the radiotherapy plan to be optimized, and to map each field position parameter to the two-dimensional coordinate system to obtain the corresponding field control point. The planning module is used to traverse the firing field control points in the two-dimensional coordinate system using a path planning algorithm to obtain multiple traversal paths; The calculation module is used to calculate the total execution time of different traversal paths and select the traversal path with the shortest total execution time to obtain the target traversal path; The output module is used to obtain the shooting field execution plan based on the target traversal path.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for planning the field execution path of non-coplanar radiotherapy as described in any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for planning the field execution path of non-coplanar radiotherapy as described in any one of claims 1 to 7.
