Grating full-field automatic calibration method, computing device and storage medium based on EPID
Through the free movement of the EPID mechanical stent within the accelerator treatment field, the field images are collected and image analyzed, which solves the problems of low efficiency and poor accuracy of the existing grating calibration methods, and achieves fast and accurate full-field automatic calibration. , suitable for a variety of tumor cases including the pelvic area.
Patent Information
- Application Number
- CN202210456356.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-28
AI Technical Summary
The existing EPID-based grating calibration method has the problems of large human factors, low efficiency, limited calibration range, and difficulty in ensuring accuracy, especially when the accelerator treatment field range is large, especially for tumors in some pelvic areas. Full field calibration cannot be performed.
The EPID-based grating full-field automatic calibration method is used. The EPID mechanical bracket moves freely on the horizontal plane below the isocenter to cover the entire treatment field range. The field images are collected and the relative position offset is determined through image analysis to generate a calibration table to ensure Precise calibration of grating position.
It achieves fast and accurate grating position calibration, improves the efficiency and accuracy of calibration, and can cover the entire treatment field range. It is suitable for most tumor cases, especially tumors in the pelvic area, and improves the clinical use and quality control of medical accelerators. level.
Smart Images

Figure CN114887239B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of radiotherapy, and in particular relates to an EPID-based grating full-field automatic calibration method, a computing device and a storage medium. Background Art
[0002] The multi-leaf collimator (MLC) is a component that produces a conformal radiation field through mechanical movement in radiotherapy, commonly known as a grating or aperture. During radiotherapy, the treatment planning system (TPS) calculates the conformal situation in the radiotherapy isocenter plane (ISO) based on different accelerator performance and grating characteristics. Therefore, when the accelerator executes the treatment plan, it is necessary to convert the ISO grating position in the issued treatment plan file into the physical position of the actual movement of the grating. The smaller the error between the position of the grating in the ISO plane and the treatment plan, the closer the patient's dose distribution during actual treatment is to the calculated effect of TPS. Therefore, before the machine executes the treatment plan, the correspondence between the physical position of the grating plane and the position of the ISO plane should be established.
[0003] EPID (Electronic Portal Imaging System) generally refers to a radiotherapy auxiliary imaging device located on the opposite side of the accelerator head, which can collect MV-level images to assist in patient positioning. In the past decade, due to technological improvements, the stability, repeatability and resolution of EPID have been greatly improved. A large number of clinical studies and papers have been conducted both internationally and domestically, proving that EPID can be used to assist in the acceptance and quality control of some accelerators. The above-mentioned grating calibration work can be completed using EPID. The specific steps are to mark the projection position of the origin of the grating physical coordinates on the radiotherapy isocenter plane; for each layer of grating, each leaf is extended or retracted one by one, and the image of each leaf when extended or retracted is recorded using EPID, and the edge position of the leaf in the image is extracted using image processing technology to obtain the thickness of each leaf; for each layer of grating, multiple leaves in the same column move to the same physical position to be calibrated, and the image of multiple leaves in the same column at the physical position is recorded using EPID, and the position of each leaf in the image is extracted according to the largest thickness, and the actual isocenter position of each leaf is obtained.
[0004] When using EPID to complete grating calibration, although the actual size of EPID is generally larger, its size is converted to the isocenter layer, which is generally within a square with a side length of 25 cm. According to the actual situation of different medical accelerators, the treatment irradiation field range of most accelerators is between 30 and 40 cm. In actual use, the size of EPID at the isocenter can generally cover the range of most tumor cases, but for a few special diseases (such as tumors in some pelvic areas), the projection range at the isocenter may be at the boundary of the irradiation field, which exceeds the imaging range of EPID. Therefore, when using EPID to calibrate the grating, the grating beyond the boundary of EPID cannot be calibrated by EPID.
[0005] The existing EPID-based grating calibration method has a series of problems.
[0006] First, for the method of using a light field lamp to calibrate the grating, after the light field is formed, observe the light field projection of different leaves on the coordinate paper, fine-tune the position of each leaf, and finally save the physical position information and isocenter position information in the software, change the position and repeat several times to form a calibration table for the leaves. In this method, as long as the coordinate paper range can cover the radiation field range of the accelerator treatment, the full-field calibration can be completed.
[0007] However, the method of using a field light to calibrate the grating has the following disadvantages: it is greatly affected by human factors, the efficiency is relatively low, and a calibration takes several hours overall.
[0008] Second, for the method of grating calibration of matrix and other dose verification equipment, after placing the matrix in place, measure the dose distribution formed by the grating under a certain open field, and repeatedly adjust the grating position so that the 50% dose curve of the grating dose distribution is within the set range. Repeat the position change several times to form the calibration table of the leaf.
[0009] However, the method of using matrix and other dose verification equipment to calibrate the grating has the following disadvantages: the size of the calibration range is limited by the inherent size of the matrix, and there may be a situation where the range is insufficient, and the matrix resolution is poor, generally above 5mm, and the accuracy of grating calibration using the matrix is difficult to guarantee.
[0010] Third, for the method of calibrating the grating using the new EPID mechanical bracket, the EPID is raised to the isocenter or a higher plane position when calibrating the grating. At this time, the size of the EPID itself does not change, but the imaging range is expanded. After performing the grating calibration at the raised position, the EPID is retracted to the original height to complete the grating full-field calibration of the EPID.
[0011] However, the method of using the new EPID mechanical bracket to calibrate the grating has the following disadvantages: when lifting the mechanical parts, the work done to overcome gravity requires a high load-bearing capacity of the mechanical parts, and the cost and control requirements of the mechanical lifting parts are much greater than the cost and control requirements of the parts of the horizontal motion machine. In addition, after the EPID is raised, the received dose of the EPID will increase accordingly according to the inverse square law, and the head is prone to image exposure under the same beam output and acquisition conditions, which is not conducive to image acquisition and analysis. Summary of the invention
[0012] In order to solve the above technical problems, the present invention proposes an EPID-based grating full-field automatic calibration method, a computing device and a storage medium.
[0013] In order to achieve the above object, the technical solution of the present invention is as follows:
[0014] The present invention discloses an EPID-based grating full-field automatic calibration method, wherein the EPID mechanical support can drive the EPID to freely move in the horizontal plane below the isocenter, and the movement range can cover the entire treatment field range of the accelerator;
[0015] The grating full-field automatic calibration method specifically includes the following steps:
[0016] S1: Place the tungsten ball group to the designated position and keep it unchanged. All gratings are opened. The EPID mechanical bracket drives the EPID to move to N different positions to collect field images. The accumulation of the field images collected by the EPID at N different positions can cover the entire treatment field range of the accelerator.
[0017] S2: Analyze the position of the tungsten ball group in each field image according to the image analysis method to obtain the relative position offset of the EPID at N different positions relative to the isocenter;
[0018] S3: The EPID mechanical support drives the EPID to move to N different positions to collect grating images and calibrate the grating position;
[0019] S4: Verify whether the calibration results meet the requirements;
[0020] If it meets the requirements, the calibration result is accepted;
[0021] If it does not meet the requirements, repeat S3-S4 until the calibration result meets the requirements.
[0022] Based on the above technical solution, the following improvements can be made:
[0023] As a preferred solution, in S1, the EPID mechanical support drives the EPID to move to N different positions to collect portal images, and each collected portal image shows a central tungsten ball placed at the isocenter.
[0024] As a preferred solution, S3 specifically includes the following steps:
[0025] S3.1: The EPID mechanical support drives the EPID to move to N different positions to collect grating images;
[0026] S3.2: Calculate the position of the grating collected in S3.1;
[0027] S3.3: Based on the results obtained in S3.2, the positional relationship between each leaf at different physical positions in the entire irradiation field and the isocenter is recorded to generate a calibration table.
[0028] As a preferred solution, in S3.2, the specific calculation method is:
[0029] First, the pixel offset of the current raster image relative to the EPID at the isocenter is calculated based on S2;
[0030] Secondly, the grating position in the current grating image is calculated to obtain the pixel position of the grating in the full field range and convert it to the ISO position in the isocenter coordinate system.
[0031] As a preferred solution, the entire treatment field range of the accelerator is limited by an upper boundary, a lower boundary, a left boundary and a right boundary;
[0032] The tungsten ball group includes: a central tungsten ball placed at the isocenter, an upper tungsten ball placed at the midpoint of the upper boundary, a lower tungsten ball placed at the midpoint of the lower boundary, a left tungsten ball placed at the midpoint of the left boundary, and a right tungsten ball placed at the midpoint of the right boundary.
[0033] As a preferred solution, the entire treatment field of the accelerator is divided into N uniform areas, and the center point of each area is the position where the N EPIDs collect images.
[0034] As a preferred solution, when N=4, the area close to the upper boundary and the right boundary is the first area, the area close to the upper boundary and the left boundary is the second area, the area close to the lower boundary and the left boundary is the third area, and the area close to the lower boundary and the right boundary is the fourth area;
[0035] S1 specifically includes: placing the tungsten ball group at the specified position and keeping it unchanged, opening all gratings, and EPID collecting the field images at the center points of the first area, the second area, the third area and the fourth area respectively to obtain the first field image, the second field image, the third field image and the fourth field image respectively.
[0036] As a preferred solution, S2 specifically includes the following contents:
[0037] S2.1: According to the image analysis method, we get:
[0038] The coordinates of the central tungsten ball in the first field image (X c1 ,Y c1 );
[0039] The coordinates of the central tungsten ball in the second field image (X c2 ,Y c2 );
[0040] The coordinates of the central tungsten ball in the third field image (X c3 ,Y c3 );
[0041] The coordinates of the central tungsten ball in the fourth field image (X c4 ,Y c4 );
[0042] The coordinates of the upper tungsten ball in the first field image (X t1 ,Y t1 );
[0043] The coordinates of the upper tungsten ball in the second field image (X t2 ,Y t2 );
[0044] The coordinates of the left tungsten ball in the second field image (X l2 ,Y l2 );
[0045] The coordinates of the left tungsten ball in the third field image (X l3 ,Y l3 );
[0046] The coordinates of the lower tungsten ball in the third field image (X b3 ,Y b3 );
[0047] The coordinates of the lower tungsten ball in the fourth field image (X b4 ,Y b4 );
[0048] The coordinates of the right tungsten ball in the fourth field image (X r4 ,Y r4 );
[0049] The coordinates of the right tungsten ball in the first field image (X r1 ,Y r1 );
[0050] S2.2: Calculate the angle deviation of the tungsten ball group during positioning by formula (1);
[0051]
[0052] S2.3: Calculate the moving distance in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the first area by formula (2);
[0053]
[0054] Where: (X c0 ,Y c0 ) and (X r0 ,Y r0 ) are the coordinate positions of the isocenter and the right tungsten sphere when the EPID is at the isocenter;
[0055] (X'r1 ,Y' r1 ) is expressed as follows:
[0056]
[0057] (X' r4 ,Y' r4 ) is obtained in the same way;
[0058] The moving distance in the Y direction relative to the isocenter point in the process of the EPID mechanical support driving the EPID to move to the center point position of the first area is calculated by formula (3);
[0059]
[0060] Where: (X t0 ,Y t0 ) are the coordinate positions of the upper right tungsten ball point when the EPID is at the isocenter;
[0061] (X' t1 ,Y' t1 ) and (X' t4 ,Y' t4 ) is obtained in the same way;
[0062] S2.4: Calculate the moving distance ΔX2 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point of the second area;
[0063] Calculate the moving distance ΔY2 in the Y direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the second area;
[0064] Calculate the moving distance ΔX3 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the third area;
[0065] Calculate the moving distance ΔY3 in the Y direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the third area;
[0066] Calculate the moving distance ΔX4 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point of the fourth area;
[0067] The moving distance ΔY4 in the Y direction relative to the isocenter is calculated when the EPID mechanical support drives the EPID to move to the center point of the fourth region.
[0068] In addition, the present invention also discloses a computing device, comprising:
[0069] one or more processors;
[0070] Memory;
[0071] And one or more programs, wherein the one or more programs are stored in a memory and configured to be executed by one or more processors, and the one or more programs include instructions for implementing any of the above-mentioned EPID-based grating full-field automatic calibration methods.
[0072] In addition, the present invention also discloses a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions suitable for being loaded by a memory and executing any of the above-mentioned EPID-based grating full-field automatic calibration methods.
[0073] The present invention provides an EPID-based grating full-field automatic calibration method, computing device and storage medium, which have the following beneficial effects:
[0074] The grating position can be quickly calibrated through EPID's grating calibration, and the high resolution of EPID ensures the accuracy of grating calibration. While maintaining the use of EPID to calibrate the grating, the method of moving EPID can also be used to calibrate the field range of the original boundary position, which is extremely important for the clinical use and quality control of medical accelerators. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention 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 creative work.
[0076] Figure 1 A schematic diagram of the relationship between the maximum irradiation field of the accelerator, the EPID acquisition range and the position of the EPID motion axis provided in an embodiment of the present invention.
[0077] Figure 2 A schematic diagram of four positions for EPID image acquisition provided by an embodiment of the present invention.
[0078] Figure 3 A schematic diagram of the position relationship of the tungsten ball group provided in an embodiment of the present invention.
[0079] Figure 4 A flowchart of a grating full-field automatic calibration method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0080] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0081] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0082] Using ordinal numbers “first,” “second,” “third,” etc. to describe common objects merely indicates that different instances of similar objects are involved and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0083] In addition, the expression of “comprising” an element is an “open” expression, which simply means that a corresponding component exists, and should not be interpreted as excluding additional components.
[0084] In order to achieve the purpose of the present invention, some embodiments of a grating full-field automatic calibration method based on EPID, a computing device and a storage medium are as follows: Figure 1 As shown, the EPID mechanical support can drive the EPID to move freely in the horizontal plane below the isocenter, and the movement range can cover the entire treatment field range of the accelerator.
[0085] Before calibration, debug the motion axes of the EPID mechanical bracket in the X and Y directions with an accuracy of 0.1mm, and test the motion range of the EPID to ensure that the motion range of the EPID can cover the entire treatment field of the accelerator.
[0086] like Figure 4 As shown, the grating full-field automatic calibration method specifically includes the following steps:
[0087] S1: Place the tungsten ball group to the designated position and keep it unchanged. All gratings are opened. The EPID mechanical bracket drives the EPID to move to 4 different positions to collect the radiation field images. The accumulation of radiation field images collected by the EPID at 4 different positions can cover the entire treatment radiation field range of the accelerator.
[0088] S2: According to the image analysis method, the position of the tungsten ball group in each field image is analyzed to obtain the relative position offset of the EPID at four different positions relative to the isocenter;
[0089] S3: The EPID mechanical bracket drives the EPID to move to four different positions to collect grating images and calibrate the grating position;
[0090] S4: Verify whether the calibration results meet the requirements;
[0091] If it meets the requirements, the calibration result is accepted;
[0092] If it does not meet the requirements, repeat S3-S4 until the calibration result meets the requirements.
[0093] Among them, Figure 2 As shown, the entire treatment field of the accelerator is divided into four even areas, and the center point of each area is the center position of the four EPIDs when acquiring images.
[0094] The area close to the upper boundary and the right boundary is the first area, the area close to the upper boundary and the left boundary is the second area, the area close to the lower boundary and the left boundary is the third area, and the area close to the lower boundary and the right boundary is the fourth area.
[0095] The center point of the first region is Figure 2 The center point of the second area is Figure 2 The center point of the third area is Figure 2 Middle position ③; the center point of the fourth area is Figure 2 Middle position④.
[0096] In order to further optimize the implementation effect of the present invention, in some other embodiments, the remaining characteristic technologies are the same, except that the entire treatment field range of the accelerator is limited by an upper boundary, a lower boundary, a left boundary and a right boundary;
[0097] like Figure 3 As shown, the tungsten ball group includes: a central tungsten ball placed at the isocenter, an upper tungsten ball placed at the midpoint of the upper boundary, a lower tungsten ball placed at the midpoint of the lower boundary, a left tungsten ball placed at the midpoint of the left boundary, and a right tungsten ball placed at the midpoint of the right boundary.
[0098] It is worth noting that in other embodiments, the tungsten ball group may also include: multiple auxiliary tungsten balls, which may be placed at, but are not limited to, the intersection of the upper boundary and the right boundary, the intersection of the upper boundary and the left boundary, the intersection of the lower boundary and the right boundary, the intersection of the lower boundary and the left boundary, 1 / 2 of the line connecting the midpoint of the upper boundary and the isocenter, 1 / 2 of the line connecting the midpoint of the lower boundary and the isocenter, 1 / 2 of the line connecting the midpoint of the left boundary and the isocenter, 1 / 2 of the line connecting the midpoint of the right boundary and the isocenter, and so on.
[0099] Further, based on the above embodiment, in S1, the EPID mechanical support drives the EPID to move to four different positions to collect portal images, and each collected portal image shows a central tungsten ball placed at the isocenter.
[0100] S1 specifically includes: placing the tungsten ball group at the specified position and keeping it unchanged, opening all gratings, and EPID collecting the field images at the center points of the first area, the second area, the third area and the fourth area respectively to obtain the first field image, the second field image, the third field image and the fourth field image respectively.
[0101] S2 specifically includes the following:
[0102] S2.1: According to the image analysis method, the central tungsten ball appears in each field image, and we get:
[0103] The coordinates of the central tungsten ball in the first field image (X c1 ,Y c1 );
[0104] The coordinates of the central tungsten ball in the second field image (X c2 ,Y c2 );
[0105] The coordinates of the central tungsten ball in the third field image (X c3 ,Y c3 );
[0106] The coordinates of the central tungsten ball in the fourth field image (X c4 ,Y c4 );
[0107] The upper tungsten ball appears in the first and second field images, and we get:
[0108] The coordinates of the upper tungsten ball in the first field image (X t1 ,Y t1 );
[0109] The coordinates of the upper tungsten ball in the second field image (X t2 ,Y t2 );
[0110] The tungsten ball on the left appears in the second and third field images, and we get:
[0111] The coordinates of the left tungsten ball in the second field image (X l2 ,Y l2 );
[0112] The coordinates of the left tungsten ball in the third field image (X l3 ,Y l3 );
[0113] The lower tungsten ball appears in the third and fourth field images, and we get:
[0114] The coordinates of the lower tungsten ball in the third field image (X b3 ,Y b3);
[0115] The coordinates of the lower tungsten ball in the fourth field image (X b4 ,Y b4 );
[0116] The tungsten ball on the right appears in the fourth field image and the first field image, and we get:
[0117] The coordinates of the right tungsten ball in the fourth field image (X r4 ,Y r4 );
[0118] The coordinates of the right tungsten ball in the first field image (X r1 ,Y r1 );
[0119] S2.2: Calculate the angle deviation of the tungsten ball group during positioning by formula (1);
[0120]
[0121] S2.3: Calculate the moving distance in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the first area by formula (2);
[0122]
[0123] Since it is the moving distance in the X direction, the coordinates of the right tungsten ball point in the first and fourth field images are used;
[0124] Where: (X c0 ,Y c0 ) and (X r0 ,Y r0 ) are the coordinate positions of the isocenter and the right tungsten sphere point when the EPID is at the isocenter, which can be obtained from the design parameters of the tungsten sphere group;
[0125] (X' r1 ,Y' r1 ) is expressed as follows:
[0126]
[0127] Indicates that the coordinates need to take into account the rotation correction relative to the center, (X' r4 ,Y' r4 ) is obtained in the same way;
[0128] Item 1 The coefficient term calculates the main offset distance in the X direction. The second term The coefficient is the error correction term when the direction of the mechanical support motion axis is inconsistent with the horizontal direction of the EPID;
[0129] The moving distance in the Y direction relative to the isocenter point in the process of the EPID mechanical support driving the EPID to move to the center point position of the first area is calculated by formula (3);
[0130]
[0131] Since it is the moving distance in the Y direction, the coordinates of the upper tungsten ball point in the first and second portal images are used.
[0132] Where: (X t0 ,Y t0 ) are the coordinate positions of the upper right tungsten ball point when the EPID is at the isocenter;
[0133] (X' t1 ,Y' t1 ) and (X' t4 ,Y' t4 ) is obtained in the same way;
[0134] S2.4: Calculate the moving distance ΔX2 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point of the second area;
[0135] Calculate the moving distance ΔY2 in the Y direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the second area;
[0136] Calculate the moving distance ΔX3 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the third area;
[0137] Calculate the moving distance ΔY3 in the Y direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the third area;
[0138] Calculate the moving distance ΔX4 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point of the fourth area;
[0139] The moving distance ΔY4 in the Y direction relative to the isocenter is calculated when the EPID mechanical support drives the EPID to move to the center point of the fourth region.
[0140] Further, based on the above embodiment, S3 specifically includes the following steps:
[0141] S3.1: The EPID mechanical support drives the EPID to move to four different positions to collect grating images;
[0142] S3.2: Calculate the position of the grating collected in S3.1;
[0143] S3.3: Based on the results obtained in S3.2, the positional relationship between each leaf at different physical positions in the entire irradiation field and the isocenter is recorded to generate a calibration table.
[0144] In S3.1, when the EPID moves to the center point of the first area, the position of the upper blades of the grating on the right side of the field is calibrated; when the EPID moves to the center point of the second area, the position of the upper blades of the grating on the left side of the field is calibrated; when the EPID moves to the center point of the third area, the position of the lower blades of the grating on the left side of the field is calibrated; when the EPID moves to the center point of the fourth area, the position of the lower blades of the grating on the right side of the field is calibrated.
[0145] Further, based on the above embodiment, in S3.2, the specific calculation method is:
[0146] First, the pixel offset of the current grating image relative to the EPID at the isocenter is calculated according to S2. For example, the pixel offset of the EPID at the center of the first area is (ΔX1, ΔY1). The same is true for other positions.
[0147] Secondly, the grating position in the current grating image is calculated to obtain the pixel position of the grating in the full field range and convert it to the ISO position in the isocenter coordinate system.
[0148] Further, based on the above embodiment, in S4, after the new calibration table is generated, there is a set of correspondences between the physical position and the isocenter position for each blade;
[0149] In the process of verifying the calibration table, the verification plan makes the grating move to the isocenter position x_iso_planned. The underlying software calculates the physical position x_phy_planned_i that the grating needs to move to through the calibration table. Then the machine emits the beam and collects images on the EPID. After analyzing the image of the EPID, x_iso_measure_i is calculated, and the difference between the planned isocenter position x_iso_planned and the measured isocenter position x_iso_measure_i is compared.
[0150] If the calculated difference during the calibration verification is small, the automatic calibration process in S3 is considered acceptable and can be used;
[0151] If a large difference occurs in the verification during subsequent use after the calibration is completed, the correspondence between x_phy_planned_i and x_iso_measure_i generated in the verification phase can be added to the calibration table, and the calibration table can be updated and verified again;
[0152] If the verification process after calibration is completed is very different, or the verification in subsequent use is very different, it may be that the grating has an underlying hardware failure, such as jamming, excessive friction, or a problem with the motor encoder. Recalibration is required after the underlying fault is eliminated.
[0153] In addition, an embodiment of the present invention further discloses a computing device, including:
[0154] one or more processors;
[0155] Memory;
[0156] And one or more programs, wherein the one or more programs are stored in a memory and configured to be executed by one or more processors, and the one or more programs include instructions for implementing the EPID-based grating full-field automatic calibration method disclosed in any of the above embodiments.
[0157] In addition, the present invention also discloses a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions suitable for being loaded by a memory and executing the EPID-based grating full-field automatic calibration method disclosed in any of the above embodiments.
[0158] The present invention provides an EPID-based grating full-field automatic calibration method, computing device and storage medium, which have the following beneficial effects:
[0159] The grating position can be quickly calibrated through EPID's grating calibration, and the high resolution of EPID ensures the accuracy of grating calibration. While maintaining the use of EPID to calibrate the grating, the method of moving EPID can also be used to calibrate the field range of the original boundary position, which is extremely important for the clinical use and quality control of medical accelerators.
[0160] The above multiple implementations can be implemented in parallel.
[0161] It should be noted that the embodiment of the present invention only takes N=4 as an example, but N may also be 6, 8, 10, etc., and the protection scope of the present invention is not limited to N=4.
[0162] It should be understood that the various techniques described herein can be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or portions of the method and apparatus of the present invention, can take the form of program codes (i.e., instructions) embedded in a tangible medium, such as a floppy disk, a CD-ROM, a hard disk drive, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0163] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable ordinary technicians in the field to understand the content of the present invention and implement it. They cannot be used to limit the protection scope of the present invention. All equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. The grating full-field automatic calibration method based on EPID is characterized by: The EPID mechanical support can drive the EPID to move freely in the horizontal plane below the isocenter, and the movement range can cover the entire treatment field of the accelerator; The grating full-field automatic calibration method specifically comprises the following steps: S1: Place the tungsten ball group to the designated position and keep it unchanged. All gratings are opened. The EPID mechanical bracket drives the EPID to move to N different positions to collect field images. The accumulation of the field images collected by the EPID at N different positions can cover the entire treatment field range of the accelerator. S2: Analyze the position of the tungsten ball group in each field image according to the image analysis method to obtain the relative position offset of the EPID at N different positions relative to the isocenter; S3: The EPID mechanical support drives the EPID to move to N different positions to collect grating images and calibrate the grating position; S4: Verify whether the calibration results meet the requirements; If it meets the requirements, the calibration result is accepted; If it does not meet the requirements, repeat S3-S4 until the calibration result meets the requirements; S3 specifically includes the following steps: S3.1: The EPID mechanical support drives the EPID to move to N different positions to collect grating images; S3.2: Calculate the position of the grating collected in S3.1; S3.3: Based on the results obtained in S3.2, the positional relationship between the different physical positions of each leaf in the entire irradiation field and the isocenter is recorded to generate a calibration table; In S3.2, the specific calculation method is: First, the pixel offset of the current raster image relative to the EPID at the isocenter is calculated based on S2; Secondly, the grating position in the current grating image is calculated to obtain the pixel position of the grating in the full field range and convert it to the ISO position in the isocenter coordinate system.
2. The grating full-field automatic calibration method according to claim 1, characterized in that: In S1, the EPID mechanical support drives the EPID to move to N different positions to collect the radiation field images. A central tungsten ball placed at the isocenter appears in each collected radiation field image.
3. The grating full-field automatic calibration method according to claim 1, characterized in that: The entire treatment field range of the accelerator is limited by an upper boundary, a lower boundary, a left boundary and a right boundary; The tungsten ball group includes: a central tungsten ball placed at the isocenter, an upper tungsten ball placed at the midpoint of the upper boundary, a lower tungsten ball placed at the midpoint of the lower boundary, a left tungsten ball placed at the midpoint of the left boundary, and a right tungsten ball placed at the midpoint of the right boundary.
4. The grating full-field automatic calibration method according to claim 3, characterized in that: The entire treatment field of the accelerator is divided into N uniform areas, and the center point of each area is the location where N EPIDs collect images.
5. The grating full-field automatic calibration method according to claim 4, characterized in that: When N=4, the area close to the upper boundary and the right boundary is the first area, the area close to the upper boundary and the left boundary is the second area, the area close to the lower boundary and the left boundary is the third area, and the area close to the lower boundary and the right boundary is the fourth area; S1 specifically includes: placing the tungsten ball group at the specified position and keeping it unchanged, opening all gratings, and EPID collecting the field images at the center points of the first area, the second area, the third area and the fourth area respectively to obtain the first field image, the second field image, the third field image and the fourth field image respectively.
6. The grating full-field automatic calibration method according to claim 5, characterized in that: S2 specifically includes the following: S2.1: According to the image analysis method, we get: The coordinates of the central tungsten ball in the first field image (X c1 ,Y c1 ); The coordinates of the central tungsten ball in the second field image (X c2 ,Y c2 ); The coordinates of the central tungsten ball in the third field image (X c3 ,Y c3 ); The coordinates of the central tungsten ball in the fourth field image (X c4 ,Y c4 ); The coordinates of the upper tungsten ball in the first field image (X t1 ,Y t1 ); The coordinates of the upper tungsten ball in the second field image (X t2 ,Y t2 ); The coordinates of the left tungsten ball in the second field image (X l2 ,Y l2 ); The coordinates of the left tungsten ball in the third field image (X l3 ,Y l3 ); The coordinates of the lower tungsten ball in the third field image (X b3 ,Y b3 ); The coordinates of the lower tungsten ball in the fourth field image (X b4 ,Y b4 ); The coordinates of the right tungsten ball in the fourth field image (X r4 ,Y r4 ); The coordinates of the right tungsten ball in the first field image (X r1 ,Y r1 ); S2.2: Calculate the angle deviation of the tungsten ball group during positioning by formula (1); S2.3: Calculate the moving distance in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the first area by formula (2); Where: (X c0 ,Y c0 ) and (X r0 ,Y r0 ) are the coordinate positions of the isocenter and the right tungsten sphere when the EPID is at the isocenter; (X' r1 ,Y' r1 ) is expressed as follows: (X' r4 ,Y' r4 ) is obtained in the same way; The moving distance in the Y direction relative to the isocenter point in the process of the EPID mechanical support driving the EPID to move to the center point position of the first area is calculated by formula (3); Where: (X t0 ,Y t0 ) are the coordinate positions of the upper right tungsten ball point when the EPID is at the isocenter; (X' t1 ,Y' t1 ) and (X' t4 ,Y' t4 ) is obtained in the same way; S2.4: Calculate the moving distance ΔX2 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point of the second area; Calculate the moving distance ΔY2 in the Y direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the second area; Calculate the moving distance ΔX3 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the third area; Calculate the moving distance ΔY3 in the Y direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point position of the third area; Calculate the moving distance ΔX4 in the X direction relative to the isocenter in the process of the EPID mechanical support driving the EPID to move to the center point of the fourth area; The moving distance ΔY4 in the Y direction relative to the isocenter is calculated when the EPID mechanical support drives the EPID to move to the center point of the fourth region.
7. A computing device, characterized in that include: one or more processors; Memory; And one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include instructions for implementing the EPID-based grating full-field automatic calibration method described in any one of claims 1-6.
8. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which are suitable for being loaded by a memory and executing the EPID-based grating full-field automatic calibration method described in any one of claims 1-6.
