Abstract:
A method in a computer for optimizing a dosage of intensity modulated radiotherapy (IMRT) comprises the steps of: dividing a three dimensional (3D) volume into a grid of dose voxels, wherein each dose voxel receives a dose of radiation from at least one pencil beam having a pencil beam weight and a gantry angle; selecting a first set of dose voxels from the 3D volume positioned within at least one of a planning target volume (PTV), organs at risk (OAR), and normal tissue in a neighborhood of the PTV; choosing a dose matrix from the first set of dose voxels; constructing a beam weight vector of individual beam weights for each pencil beam at each gantry angle; calculating a transfer matrix representing a dose deposition to the dose voxels from each pencil beam with unit beam weight; inverting the transfer matrix; performing a matrix multiplication of the inverted transfer matrix and the dose matrix and populating the beam weight vector with the results of the matrix multiplication; and iteratively modifying a plurality of doses in the dose matrix within a given range, wherein the range has a specific probability distribution function of acceptable dose values, and repeating the matrix multiplication until the negative weights in the beam weight vector are substantially eliminated, resulting in an optimized set of doses.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS  
       [0001]    This application claims the benefit of U.S. Provisional Patent Application No. 60/375,828, Confirmation No. 3165, filed Apr. 29, 2002, of common inventorship and assignee, the contents of which are incorporated by reference in their entirety. 
     
    
     
       BACKGROUND OF THE INVENTION  
         [0002]    1. Field of the Invention  
           [0003]    The present invention relates generally to optimizing a dosage of intensity modulated radiotherapy (IMRT), and more particularly to minimizing the negative beam in IMRT.  
           [0004]    2. Related Art  
           [0005]    Intensity modulated radiotherapy (IMRT) is a method of treating cancer that is particularly useful when the cancer is entangled with critical organs, such as the spinal cord. IMRT allows for a balanced dose to the target, i.e. the cancerous area, while sparing the surrounding critical organs.  
           [0006]    One of the challenges of IMRT is delivering an effective dosage of radiation to the targeted tissue without harming surrounding tissue and organs. Traditionally, the planning of the treatment has fallen to the radiation oncologist, physicist and dosimetrist, who base their dosage decisions on their experience with expected and achievable doses in the target and surrounding critical organs for a given beam setup.  
           [0007]    Optimization algorithms have been developed to assist in the dosage planning. Many of these algorithms were adapted from image reconstruction algorithms. Examples of optimization algorithms include simulated annealing, filtered back-projection, and various other iterative approaches. These algorithms are all iterative, and share one of two common problems. First, stochastic methods are slow to converge on a global minimum solution, and require a great deal of computing time. Second, deterministic methods are faster, but use fewer constraints and do not always find a global minimum solution.  
           [0008]    What is needed then is a method of finding a highly optimized dosage for IMRT that does not require a great deal of computing time.  
         SUMMARY OF THE INVENTION  
         [0009]    In an exemplary embodiment of the present invention an inverse planning algorithm for minimizing the negative beam in intensity modulated radiotherapy (IMRT) is disclosed.  
           [0010]    In an exemplary embodiment, the present invention can be a method in a computer for optimizing a dosage of intensity modulated radiotherapy (IMRT) comprises the steps of: dividing a three dimensional (3D) volume into a grid of dose voxels, wherein each dose voxel receives a dose of radiation from at least one pencil beam having a pencil beam weight and a gantry angle; selecting a first set of dose voxels from the 3D volume positioned within at least one of a planning target volume (PTV), organs at risk (OAR), and normal tissue in a neighborhood of the PTV; choosing a dose matrix from the first set of dose voxels; constructing a beam weight vector of individual beam weights for each pencil beam at each gantry angle; calculating a transfer matrix representing a dose deposition to the dose voxels from each pencil beam with unit beam weight; inverting the transfer matrix; performing a matrix multiplication of the inverted transfer matrix and the dose matrix and populating the beam weight vector with the results of the matrix multiplication; and iteratively modifying a plurality of doses in the dose matrix within a given range, wherein the range has a specific probability distribution function of acceptable dose values, and repeating the matrix multiplication until the negative weights in the beam weight vector are substantially eliminated, resulting in an optimized set of doses.  
           [0011]    In another exemplary embodiment, the present invention can be a computer system that optimizes a dosage of intensity modulated radiotherapy (IMRT) comprising: means for dividing a three dimensional (3D) volume into a grid of dose voxels, wherein each dose voxel receives a dose of radiation from at least one pencil beam having a pencil beam weight and a gantry angle; means for selecting a first set of dose voxels from the 3D volume positioned within at least one of a planning target volume (PTV), organs at risk (OAR), and normal tissue in a neighborhood of the PTV; means for choosing a dose matrix from the first set of dose voxels; means for constructing a beam weight vector of individual beam weights for each pencil beam at each gantry angle; means for calculating a transfer matrix representing a dose deposition to the dose voxels from each pencil beam with unit beam weight; means for inverting the transfer matrix; means for performing a matrix multiplication of the inverted transfer matrix and the dose matrix and populating the beam weight vector with the results of the matrix multiplication; and means for iteratively modifying a plurality of doses in the dose matrix within a given range, wherein the range has a specific probability distribution function of acceptable dose values, and repeating the matrix multiplication until the negative weights in the beam weight vector are substantially eliminated, resulting in an optimized set of doses.  
           [0012]    In another exemplary embodiment, the present invention can be a computer useable information storage medium storing computer readable program code for causing a computer to perform the steps of: dividing a three dimensional (3D) volume into a grid of dose voxels, wherein each dose voxel receives a dose of radiation from at least one pencil beam having a pencil beam weight and a gantry angle; selecting a first set of dose voxels from the 3D volume positioned within at least one of a planning target volume (PTV), organs at risk (OAR), and normal tissue in a neighborhood of the PTV; choosing a dose matrix from the first set of dose voxels; constructing a beam weight vector of individual beam weights for each pencil beam at each gantry angle; calculating a transfer matrix representing a dose deposition to the dose voxels from each pencil beam with unit beam weight; inverting the transfer matrix; performing a matrix multiplication of the inverted transfer matrix and the dose matrix and populating the beam weight vector with the results of the matrix multiplication; and iteratively modifying a plurality of doses in the dose matrix within a given range, wherein the range has a specific probability distribution function of acceptable dose values, and repeating the matrix multiplication until the negative weights in the beam weight vector are substantially eliminated, resulting in an optimized set of doses.  
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0013]    The foregoing and other features and advantages of the invention will be apparent from the following, more particular description of a preferred embodiment of the invention, as illustrated in the accompanying drawings wherein like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The left most digits in the corresponding reference number indicate the drawing in which an element first appears.  
         [0014]    [0014]FIG. 1 shows a flowchart of the overall method of the present invention;  
         [0015]    [0015]FIG. 2A shows a 1 cm×1 cm grid used in the forward calculation for deriving the transfer matrix for an “R”-shaped target area;  
         [0016]    [0016]FIG. 2B shows the dose distributions to the all the calculated pixels for the target of a “R”-shaped area in FIG. 2A&#39;s setup;  
         [0017]    [0017]FIG. 2C shows the designated subset of pixels for the target of the “R”-shaped area in FIG. 2A&#39;s setup;  
         [0018]    [0018]FIG. 2D shows the dose distribution with only physically realizable beams for the target of the “R”-shaped area in FIG. 2A&#39;s setup;  
         [0019]    [0019]FIG. 3A shows a normalized dose distribution verification for an “R”-shaped target with Kodak verification film;  
         [0020]    [0020]FIG. 3B shows the corresponding dose pattern generated with the calculated beam weight results in the CORVUS planning system&#39;s verification module using the intensity map calculated in FIG. 2D;  
         [0021]    [0021]FIG. 4A shows the dose pattern of unit beam weight of all the pencil beams used in the forward calculation for deriving the transfer matrix for the gantry and beam setup;  
         [0022]    [0022]FIG. 4B shows the dose distribution to all the calculated pixels for the target of a prostate-shaped area in FIG. 4A&#39;s setup;  
         [0023]    [0023]FIG. 4C shows the dose distribution to the designated subset of pixels for the target of the prostate-shaped area in FIG. 4A&#39;s setup;  
         [0024]    [0024]FIG. 4D shows the dose distribution with only physically realizable beams for the target of the prostate-shaped area in FIG. 4A&#39;s setup;  
         [0025]    [0025]FIG. 5A shows the dose pattern generated in the CORVUS verification module with the presenting algorithm calculated beam weight results in FIG. 4D;  
         [0026]    [0026]FIG. 5B shows the best result generated in the CORVUS planning system (its optimization algorithm: simulated annealing) chosen from different trails with the same 2 cm superior to inferior target lengths as in FIG. 5A;  
         [0027]    [0027]FIG. 6 shows the dose-volume histograms corresponding to FIGS. 5A and 5B;  
         [0028]    [0028]FIG. 7A shows the intensity map of an “R”-shaped target;  
         [0029]    [0029]FIG. 7B shows the intensity map of a prostate-shaped target; and  
         [0030]    FIGS.  8 A- 8 D show the calculated dose patterns of the prostate shaped target and rectum organ at risk with the dose constraints in different gantry orientations. 
     
    
     DETAILED DESCRIPTION  
       [0031]    A preferred embodiment of the invention is discussed in detail below. While specific exemplary embodiments are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations can be used without parting from the spirit and scope of the invention.  
         [0032]    The IMRT optimization algorithm of the present invention is based on the direct inverse operation of linear algebra. The objective function to be optimized is the quadratic summation of negative beam weights. Instead of iterating over the beam weights, as other optimization algorithms do, the method of the present invention iterates the doses in a dose matrix within a given range. Minimizing the objective function effectively searches for the physically achievable beams.  
         [0033]    A three dimensional (3D) volume of the target is divided into a grid of dose voxels, where each dose voxel receives a dose of radiation from one or more pencil beams each having a pencil beam weight and a gantry angle. For example, pencil beams can be formed with 1.0 cm by 1.0 cm, 0.5 cm by 0.5 cm, or other sized and shaped beamlets. The radiation can be, for example, photon radiation or proton radiation (called proton beam intensity modulated radiation therapy or PMRT). In PMRT, the intensity and energy of the beams are modulated. From the grid, a set of dose voxels is selected from the planning target volume (PTV), organs at risk (OAR), and normal tissue in a neighborhood of the PTV. The number of dose voxels in the chosen set equals the total number of pencil beams for the 3D volume. For example, using 1.0 cm by 1.0 cm pencil beams, a 15 cm by 15 cm field in ten gantry angles would result in 2,250 pencil beams and dose voxels.  
         [0034]    A dose matrix is then selected from the subset of dose voxels. This dose matrix is composed of the dose voxels from an arbitrary selection of dose points from target volumes, critical organs, or surrounding tissues. The dose in each voxel includes primary and internal scatter radiation from all the pencil beams, unlike some algorithms which only deal with primary radiation and produce quite different IMRT plans from those that account for the scattered radiation. The prescription for each category of dose point could contain the given dose range corresponding to the tolerances, biological indices and/or minimum and maximum dose requirements. Since the method of the present invention is a true inverse process, the mathematical beam profile generated in each calculation can produce the desired dose distributions within the designed dose voxels. But the initial mathematical beam profile of the method of the present invention consists of many physically unrealizable negative beam weights. Simply setting those negative beams to zero would leave substantial compensating positive beams and not yield an acceptable plan. Accordingly, the method of the present invention simultaneously iterates doses in a batch of dose voxels within the given dose windows and searches for a physically realizable solution. From the inversely calculated beam weights, the optimization process would gradually minimize the objective function and eventually converge to or approach the global minimum. When the objective function reaches the vicinity of the global minimum, the negative beam weights in the final beam profile are nearly eliminated. The remaining negative beams contribute a small portion of energy in the total spectrum of the beams. Then, zeroing these negative beam weights would not change the calculated result significantly and produce an acceptable plan.  
         [0035]    A beam weight vector of individual beam weights for each pencil beam at each gantry angle is populated with the result of a matrix multiplication of a transfer matrix representing a dose deposition to the dose voxels from each pencil beam with unit beam weight, and the dose matrix. The values of the beam weights will be a combination of positive, zero and negative values. Because beams with negative beam weights do not exist, minimizing the negative beam weights, i.e. bringing the values toward zero, will result in a dose matrix of physically achievable beams. The doses in the dose matrix are either randomly and/or deterministically iteratively modified, within specific ranges having specific probability distribution functions, and the matrix multiplication is redone, in order to minimize the negative beam weight values.  
         [0036]    The optimization centers around minimizing the summation over the square of each negative beam weight. Such a summation would be computationally expensive, in terms of time, due to the need to screen each beam weight for a negative value. The present invention instead minimizes the sum, over all the beam weights, of each beam weight, multiplied by the difference of the beam weight and its absolute value. When placed in matrix equivalent form, this computation is quickly performed. The random variations in dose voxels ensure that a global minimum, and not just a local minimum, is found or approached.  
         [0037]    [0037]FIG. 1 shows a flowchart of the overall method of the present invention. In step  102 , a 3D volume is divided into a grid of voxels, for example, with coordinates of (x, y, z). Each voxel receives a total dose of d(x, y, z) from all the pencil beams w nm , where w nm  corresponds to the pencil beam weight of beamlet m in gantry position n, n=1, . . . , N and m=1, . . . , M. N is the number of gantry positions and M is the number of pencil beams in each gantry position. Given t nm (x, y, z), representing the dose deposition to voxel (x, y, z) from pencil beam w nm  of unit beam weight, then  
               d        (     x   ,   y   ,   z     )       =       ∑     n   =   1     N            ∑     m   =   1     M              t     n                 m            (     x   ,   y   ,   z     )              w     n                 m       .                   (   1   )                               
 
         [0038]    Equation (1) applies to all the voxels within the volume in any grid size.  
         [0039]    Due to the limited constraints of gantry positions and pencil beams, an inverse solution does not exist that yields w nm  from d(x, y, z) for all the voxels. However, as all the beams from the various gantry angles converge onto the target, the tissues far from the target are in low dose regions and automatically protected. If the optimization is only considered in tumor and sensitive tissue regions and leaving normal tissue uncontrolled, it yields better tumor coverage while sparing sensitive organs; the dose to other uncontrolled normal tissues is often still acceptable. Therefore, in step  104 , the outermost dose voxels can be left alone and only the set of dose voxels within the target, critical organs and in the immediate neighboring normal tissues are considered. The number of dose voxels is then set to equal the total number of pencil beams. With this subset of dose voxels, a strict mathematical relation is formed from expected doses to beam weights.  
         [0040]    In step  106 , a dose matrix is selected from the set of dose voxels. Let D be the dose matrix from the subset of dose voxels of arbitrarily selected dose points within the whole dose lattice in the 3D volume. The selected dose points should include points within the planning target volume (PTV), points within the organs at risk (OAR), and points within adjacent normal tissues.  
         [0041]    In an exemplary embodiment, the subsets of dose voxels D can be selected as follows: since the 3D volume has been divided into a grid of voxels, let the grid size be 1.0 cm in all directions for a 1.0×1.0 cm 2  pencil beam setup (set grid size as 0.5 cm if 0.5×0.5 cm 2  pencil beams are used). The dose at the center of each grid, d(x, y, z) represents the dose point in this voxel. All the voxels enclosed by PTV are counted as dose points for PTV. All the voxels enclosed by OAR are counted as dose points for OAR. The voxels with their centers outside of PTV or OAR, but having contact with PTV or OAR surfaces, are also counted into the corresponding groups, except the voxels within the boundary of PTV with OAR. All the remaining voxels, which are neighbors to the PTV or OAR, and also located within at least one beam path, are counted as dose points for adjacent normal tissues. The simplest method is to use a cubic volume enclosing the PTV and OAR with at least 1.0 cm margin within the borders of this cubic volume. All the voxels within this cube beside voxels for PTV and voxels for OAR are counted as dose points for adjacent normal tissues. Another way to select these dose voxels is to use a conformed shape enclosing the PTV and OAR with enough margin.  
         [0042]    The number of selected dose voxel points K is equal to N times M: the number of gantries N multiplied by the number of beamlets in each gantry position. This limits the number of beam weights to the number of dose constraints. The dose point is denoted by k; k=1, . . . , K. and K=NM. All these dose points form a column vector:  
         D=(d 1 d 2 . . . d k . . . d k )&#39;  (2)  
         [0043]    where the apostrophe (&#39;) indicates matrix transposition.  
         [0044]    Once the dose matrix D is selected, a beam weight vector of individual beam weights for each pencil beam at each gantry angle is constructed in step  108 . Let W be the vector composed of individual pencil beam weights from each gantry position:  
             W   =       [           [                 w   11             ⋮                   w     1      M             ]             ⋮             w     n                 m               ⋮             [                 w   N1             ⋮                   w   NM           ]           ]     .             (   3   )                               
 
         [0045]    In step  110 , a transfer matrix is calculated that represents a dose deposition to the dose voxels from each pencil beam with unit beam weight. Let T be the transfer matrix representing the dose deposition per unit beam weight, which is the function of beam quality, geometry, contour, media composition, etc. The transfer matrix can be obtained in Equation (1) with unit beam weights by means of any existing forward dose calculation model. The forward calculation can account for all the beam characteristics, geometry, medium composition and contours. It also considers doses from scattering, leakages, and from inhomogeneities in the medium. For D and W, T would be:  
             T   =       [             t     1   ,   11                     …                   t     1   ,     1      M                       …                   t     1   ,   N1                     …                   t     1   ,     N                 M                   ⋯               t     k   ,   11                     …                   t     k   ,     1      M                       …                   t     k   ,   N1                     …                   t     k   ,     N                 M                   ⋯               t     K   ,   11                     …                   t     K   ,     1      M                       …                   t     K   ,   N1                     …                   t     K   ,     N                 M                 ]     .             (   4   )                               
 
         [0046]    With this assumption, the dose calculation for the selected points is represented as  
         D=TW.   (5)  
         [0047]    In an exemplary embodiment of the present invention, pairs of gantry angles that are too close to each other (i.e., within one degree) are avoided.  
         [0048]    Opposing beams having identical medium composition are also avoided, as are dose points far from any beam. Dose points located outside of the patient&#39;s body are excluded. These exclusions prevent the transfer matrix from being singular. In practice, there is no need to select gantry angles close each other, and fewer gantry angles are chosen for an IMRT treatment to save planning as well as treatment time. The number of gantry angles has been investigated in the literature and it was shown that adequate dose distributions could be achieved with only a few gantry angles. Most current clinical applications choose an odd number of gantry angles, typically 5 to 9 gantry positions, so that the opposed gantry angles are avoided.  
         [0049]    The beam weights are then expressed with the inversion, in step  112 , of this non-singular transfer matrix:  
         W=T −1 D   (6)  
         [0050]    T is a square matrix with positive entries. Its inversion can be calculated, for example, using Gauss-Seidel iteration. For a given D, there is a corresponding mathematical solution of W, composed of positive, zero and negative numbers. Simply setting the negative weights to zero in W would not guarantee an acceptable dosage plan. If the absolute values of all the negative weights were much smaller than the positive ones, then zeroing those negative beams would not change the dose distribution dramatically and it would generate an acceptable plan. By iterating the doses in D within the given range, the following objective function can be minimized:  
                 SUM   neg     =       ∑   uv          w   uv   2         ,         here                   w   uv       &lt;     0                 and                 u       ∈     [     1   ,              …              ,   N     ]       ,     v   ∈       [     1   ,              …              ,   M     ]     .               (   7   )                               
 
         [0051]    The foundation of this objective function is the quadratic summation of the negative beam weights, compared to the desired negative beam weights, which are zero. Equation (7) has a theoretical global minimum, although whether it approaches zero depends on the specific problem as well as the setup. A practical solution may approach this theoretical global minimum, but not reach it, due to the time limitation for a reasonable number of iterations. Equation (7) deals with the subset of the beam weights and needs screening for the negative beam weights, which calls for more computing time. The matrix multiplication of step  114  is therefore performed instead with the following equivalent matrix form, which dramatically reduces the calculation time:  
               SUM   neg     =         1   2            ∑         u   =   1     ,              …              ,   N         v   =   1     ,              …              ,   M                w   uv          (         w   uv     -     |     w   uv     |     )           =       1   2              W   ′          (       W   -     |   W   |     )       .                 (   8   )                               
 
         [0052]    The dose prescriptions are designed with dose ranges for the various regions of interests (ROI):  
           d   TV,min   ≦d ( x, y, z )≦ d   TV,max , if (x, y, z) is within the target volume (TV);   (9)  
         0 ≦d ( x, y, z )≦ d   OAR,max , if (x, y, z) is within the OAR volume;   (10)  
         0 ≦d ( x,y,z )≦ d   ADJ,max , if (x, y, z) is within adjacent normal tissue.   (11)  
         [0053]    Forms (9) to (11) are for the typical ROIs. The number of the ROIs is unlimited. The probability distribution functions within these ranges can be defined based either on the desired volume histograms or on biological dose-response information. If the negative weights in the beam weight vector have not been substantially eliminated at step  116 , the next step  118  is to iterate the doses to randomly selected points in D for a “gain” or “loss” based on these ranges and probability distribution functions. In an exemplary embodiment, uniform probability distribution functions are used.  
         [0054]    The probability distributions within these ranges can be achieved by subdividing these ROIs into a few corresponding subdivisions, each with its dose range required by the dose-volume histograms (DVH) or derived dose constraints from biological dose response indices. The subdivisions can be formed in either geometrically subdivided regions or/and randomly grouped dose voxels. If biological dose response information is utilized, only the geometrical division would be appropriate to assign the dose constraints to the corresponding tissue types. The subdivisions are defined in each trail and not changed during the iterations, as those are a part of the prescriptions. For example, the following are dose constraints for two subdivisions for each category of the ROIs:  
           d   TV,min   ≦d ( x, y, z )≦ d   TV,mid ,   (12)  
         [0055]    if (x, y, z) is within the sub-target volume #1, which is composed of α percent of the target;  
           d   TV,min   ≦d ( x, y, z )≦ d   TV,max ,   (13)  
         [0056]    if (x, y, z) is within the sub-target volume #2, which is composed of 100-α percent of the target;  
         0 ≦d ( x, y, z )≦ d   OAR,mid ,   (14)  
         [0057]    if (x, y, z) is within the sub-OAR volume #1, which is composed of β percent of OAR;  
         0 ≦d ( x, y, z )≦ d   OAR,max ,   (15)  
         [0058]    if (x, y, z) is within the sub-OAR volume #2, which is composed of 100-β percent of OAR;  
         0 ≦d ( x, y, z )≦ d   ADJ,mid ,   (16)  
         [0059]    if (x, y, z) is within sub-adjacent normal tissue volume #1, which is composed of δ percent of adjacent normal tissue;  
         0 ≦d ( x, y,  z)≦ d   ADJ,max ,   (17)  
         [0060]    if (x, y, z) is within sub-adjacent normal tissue volume #2, which is composed of 100-δ percent of adjacent normal tissue, here α, β, δε[1, 100], d TV,min &lt;d TV,mid &lt;d TV,max , 0&lt;d OAR,mid &lt;d OAR,max  and 0&lt;d ADJ,mid &lt;d ADJ,max .  
         [0061]    Let ( l ) represent the l th  iteration, then the l th  result is from the last iteration plus the changes:  
           W   (l)   =T   −1 (D (l−1)   +ΔD   (l) )= W   (l−1)   +T   −1 ΔD (l)    (18)  
         [0062]    In each cycle of iteration, a randomly selected group of dose points d k(i)  is selected, where iε[f, g] is the group size; f is the minimum number of dose points in the group and g is the maximum number of dose points in the group; and d k  is the corresponding dose point in D. Assuming h points at this time, the column vector has non-zeros only for these h points:  
               Δ                   D     (   1   )         =       [         ⋮             Δ                   d     u        (   1   )                   ⋮             Δ                   d     q        (   i   )                   ⋮             Δ                   d     v        (   h   )                   ⋮         ]     .             (   19   )                               
 
         [0063]    Equation (6) only needs to be calculated once; for subsequent iterations, only a small portion of the terms need to be calculated based on Equation (18). Additionally, most of the elements in Vector (19) are zero. Instead of calculating all the terms in T −1 ΔD (l) , only the corresponding column vectors with non-zero dose changes in T −1  need to be calculated. The corresponding column vectors are f u =(f 1,u  f 2,u  . . . f K,u )&#39;, . . . , f q =(f 1,q  f 2,q  . . . f K,q )&#39;, . . . , f v =(f 1,v  f 2,v  . . . f K,v )&#39;. Then  
               Δ                   W     (   1   )         =         T     -   1          Δ                   D     (   1   )         =       [           ∑     (         f     1   ,   u          Δ                   d     u        (   1   )           +   …   +       f     1   ,   q          Δ                   d     q        (   i   )           +   …   +       f     1   ,   v          Δ                   d     v        (   h   )                         ⋮             ∑     (         f     K   ,   u          Δ                   d     u        (   1   )           +   …   +       f     K   ,   q          Δ                   d     q        (   i   )           +   …   +       f     K   ,   v          Δ                   d     v        (   h   )                       ]     .               (   20   )                               
 
         [0064]    Since negative weights may change within the beamlets from one iteration to another, it is not possible to screen out negative beamlets. Equation (18) needs to be calculated each time with the result of the last iteration and calculated result of Equation (20).  
         [0065]    The initializations start with setting all the target voxels to the prescribed dose; the rest of the voxels are set to zero dose. However, the initial doses can take any set of values from the corresponding dose ranges bounded by Forms (9)-(11) or (12)-(17). In each iteration, the doses in the randomly selected group of dose voxels in D are changed by a pre-selected small “gain.” This “gain” carries a randomly selected sign that changes from voxel to voxel within the group that determines the “gain” to be added to or subtracted from the existing dose. The resulting dose has to meet the dose constraints of Forms (9)-(11) or (12)-(17), otherwise the “gain” will not be applied to this dose point. The negative beam components are evaluated with objective function (8). If this iteration causes the objective function to decrease after a repetition of step  114 , then this group of doses is accepted. If the iteration causes the objective function to increase, the iterated doses will be kept or discarded, depending on the following probability assessment. The probability is p=exp(−ΔSUM 2 / KT ) where  K  is the Boltzmann constant and  T  is the temperature, analogous with simulated annealing in thermodynamics; ΔSUM is the difference between the current SUM neg  and the best SUM neg  achieved so far. This iteration result is kept to prevent the iteration from being trapped in a local minimum potential, and to give an escaping momentum to jump out from the local minimum and converge to the global minimum.  
         [0066]    The speed and the state of convergence have a lot to do with the iteration scheme. Iterating a randomly selected group of dose points in each cycle is the preferred scheme in the exemplary embodiment. Iterating a randomly selected group of dose points in D would tend to make the objective function converge to the global minimum even without applying the escaping momentum (no probability assessment; discard the result which causes the objective function to increase). In contrast, iterating only a single, randomly selected dose point at each cycle would sometimes cause the system to converge to a local minimum, without the application of the escaping momentum. Additionally, iterating a group of dose points in each iteration cycle also decreases the iteration time. For example, the iteration time for a given value of objective function drops to one third when iterating a group of about 10 to 30 randomly selected dose points in each cycle of iteration compared to the time needed for iterating a single randomly selected dose point in each cycle of iteration.  
         [0067]    Among the stochastic annealing processes, the following techniques can improve performance. Manipulation of  KT  will change the simulated annealing cooling schemes as well as the speed, and ensure that the iteration converges to the global minimum. Also, selection of a gradually decreasing “gain” will change the convergence speed.  
         [0068]    The minima of the objective function are problem and setup specific, as are their convergence properties. The global minimal value of the objective function depends on the prescriptions and beam setup. For a given treatment beam setup, the more physically unachievable the prescriptions are, the higher the value of the global minimum at which the objective function will rest, and the more the final plan will deviate from the prescriptions. The global minimum could be a large value for a certain setup, and even it is reached, the result may not be acceptable. Alternatively, the global minimum may be close to zero, however, it could take a long time to reach. In an exemplary embodiment, the iteration can stop either after a predetermined number of iteration cycles or at a predetermined value difference of the objective function when further iteration would not significantly reduce the value of the objective function. In these curtailed iterations, the iteration may stop at a region near the global or even at a local minimum, and the result generated would be sub-optimal.  
         [0069]    The minimum value of the quadratic summation of negative beam weights depends on many factors similar to that of the dose based objective functions. These factors are the total number of beamlets in the setup, the given dose constraints in the prescription Forms (9) to (11) or Forms (12)-(17), as well as the target and OAR shapes, beam energies and geometries. For example, with 9 or 10 gantry positions, and with average target doses normalized to 100 percent, and OAR and adjacent normal tissue maximum doses less than 100 percent, the minimum values of the summation of quadratic negative beam weights can go as low as the range of ten. With these minimum values of the objective functions, the results with the negative beams set to zero would generally yield a reasonable plan. Whether the final plan is acceptable is subject to the clinician&#39;s evaluation. Early termination of the iterations may be needed for those cases where the objective function stays high and unchanged. This might indicate that modification to gantry orientations or dose prescriptions may be needed. The final dose distribution could be calculated with Equation (1) for the resulting beam weights with as high resolution as needed.  
         [0070]    FIGS.  2 - 8  illustrate various applications of the method of the present invention using a 2-dimensional inverse problem as a test model. The optimization algorithm presented was tested in many cases with hypothetical targets in a cylindrical phantom. In the test setup, ten beams each with 10 beamlets (10×1 array) in different gantry angles were used. The elementary 1×1 cm 2  photon beam is used as a pencil beam; each pencil beam was modeled with an exponential energy deposition kernel and with exponential percent depth dose function for 6MV photons. The pencil beam model is invariant and rotationally symmetric along its axis. The isocenter of the beams is set at the center of a cylindrical phantom. All the pencil beams are assumed to be parallel to the gantry central axis.  
         [0071]    Although 2-D inverse planning is presented, the method is in a general form and is true for 3-D. In 2-D, the dose distribution is in a single tomographic plane and the sources of the pencil beams at each gantry angle form a 1-D strip oriented orthogonally to the gantry axis. The algorithm also assumes that the treatment volume has enough axial thickness and uniformity for lateral buildup. These assumptions simplify and ease the derivation of the working module of the algorithm.  
         [0072]    [0072]FIG. 2 shows a hypothetical “R” shaped target within the cylindrical phantom. Three critical structures were within the “belly” and between the “legs,” and out to the middle right “leg” of the “R.” The rest of the areas were set as neighboring structures. The gantry angles were integer multiples of 39°, 39*n°, where n=0, 1, 2 . . . 10 and 0° is at the top. In particular, FIG. 2A shows a 1 cm×1 cm grid used in the forward calculation for deriving the transfer matrix. FIG. 2B shows the mathematical dose distributions to the all the calculated pixels. FIG. 2C shows the mathematical dose distribution to the designated subset of pixels. FIG. 2D shows the dose distribution with only physically realizable beams. FIGS.  2 B- 2 D were calculated with smaller grids.  
         [0073]    The verification was performed in a Varian 2100CD accelerator and with a 6MV photon beam. The simulated beam weight results were translated into the leaf-sequencing files by CORVUS software (NOMOS Corporation, Sewickley, Pa.) for step-and-shoot IMRT. A cylindrical phantom was used in the setup, with the Kodak therapy verification film sandwiched in. The result is shown in FIG. 3A, which shows a normalized dose distribution verification for an “R”-shaped target with Kodak verification film. The square area corresponds to the regions in the film measurement. For comparison, FIG. 3B shows the corresponding dose pattern generated with the calculated beam weight results in the CORVUS planning system&#39;s verification module (CORVUS verification plan) using the intensity map calculated in FIG. 2D.  
         [0074]    [0074]FIG. 4 shows calculated results for a prostate-shaped target with 9 gantry orientations of 40°, 80°, 120°, 160°, 200°, 240°, 280°, 320° and 360°. It is a “prostate-shaped” target with the rectum as the critical organ. FIG. 4A shows the dose pattern of unit beam weight of all the pencil beams used in the forward calculation for deriving the transfer matrix, calculated with 1 cm×1 cm grid. FIG. 4B shows the mathematical dose distribution to all the calculated pixels. FIG. 4C shows the mathematical dose distribution to the designated subset of pixels. FIG. 4D shows the dose distribution with only physically realizable beams. FIGS. 4B and 4D were calculated with smaller grids.  
         [0075]    [0075]FIG. 5A shows the dose pattern generated in the CORVUS verification module with the presenting algorithm calculated beam weight results in FIG. 4D. For comparison, FIG. 4B shows the dose patterns generated with the CORVUS planning system itself (pure simulated annealing algorithm) for the same prostate target and rectum in the same energy and geometry setup, as well as similar dose constraints of targeting PTV dose 180 cGy as those used in FIG. 5A. FIG. 5B shows the best result chosen from different trails with the same 2 cm superior to inferior target lengths as in FIG. 5A.  
         [0076]    [0076]FIG. 6 shows the corresponding dose-volume histograms. In comparison, the plan achieved from the method of the present invention presents a more conformed, and uniform target dose coverage above the minimum, as well as gives lower maximum dose to the rectum. The dot ( 602 ) and the dash ( 604 ) lines are the DVHs of the method of the present invention plan; the solid ( 606 ) and the dash-dot ( 608 ) lines are the DVHs of the CORVUS plan. The comparison of the verification results from either film measurements or from the CORVUS verification plans shows excellent agreement with the overall patterns of the computer-simulated results. Nevertheless, distinct differences may be pointed out even without comparing the isodose lines. These differences are mainly due to using parallel pencil beams to approximate the fan beams and using simple mathematical functions to approximate the real physical beam profiles. However, the focus of the present work is on demonstrating the feasibility and working principles of the optimization algorithm, rather than on a precise match of the beam profile with the analytical functions.  
         [0077]    The algorithms with dose based objective functions yield a single set of objective doses to the target, to OARs or the neighboring tissues, and calculate the differences with respect to the delivered doses. Sometimes multiplying factors are used to modify their own importance within the objective function.  
         [0078]    Their dose range or percent differences are related to those single objective doses and used to constrain the outcome of the iteration. The method of the present invention prescribes the range of objective doses to the corresponding targets, OARs and neighboring tissues. The relative importance of the specific dose for a ROI is through direct modification of those dose ranges or to the dose distribution within the ranges. This method pays attention to the cooperative effect of the dose voxels on the beamlets, allowing the dose to deviate from the prescription by a given range, and searching for the optimal combined realizable beam profiles.  
         [0079]    The calculation of the transfer matrix is more favorable for heterogeneous conditions—this is an intrinsic advantage. Therefore, the method works even better under true beam conditions from its primary ray trace to its full lateral transport as well as leakage and scatter radiation.  
         [0080]    The method of the present invention is not limited to isocentric setups; it could be applied in general to non-isocentric and non-coplanar setups. Also, the gantry could be oriented in any direction as long as opposing gantry orientations are avoided for which the ray traces are symmetrical with respect to the isocenter, and by avoiding gantry angles less than one degree apart. Considering the pencil beam&#39;s crossing profiles and its superposition properties, the grid size of the selected dose voxel is normally chosen to be the same as the size of the pencil beam. However, the size of the selected dose voxels could also be smaller than the size of the pencil beams if the number of the dose voxels is sufficient to cover the target and OAR for a given number of gantry orientations. The dose uniformity and border conformity in the corresponding ROI are better when the size of the dose voxels in the ROI are smaller than the size of the pencil beams.  
         [0081]    The test results show that the beam profiles of each gantry position greatly depend on the nature of the target. FIG. 7A shows the intensity map of an “R”-shaped target; the corresponding gantry angles from top row down are 39°, 78°, 117°, 156°, 195°, 234°, 273°, 312°, 351° and 30° respectively. FIG. 7B shows the intensity map of a prostate-shaped target, corresponding gantry angles from top row down are 40°, 80°, 120°, 160°, 200°, 240°, 280°, 320° and 360° respectively. It is more continuous from one beamlet to the adjacent beamlet for a target having a rather solid shape in the center (FIG. 7B); it is shown to be less continuous for a target with narrow width and hollow interior, as shown in FIG. 7A.  
         [0082]    The selection of a subset of dose voxels greatly affects the outcome of the resulting plans. The method would generate a tightly conforming plan to a complex target and OAR structure, but sometimes it does produce sparking hot spots in areas outside the designated subset of the voxels, which are not accounted for during the optimization process. FIGS.  8 A- 8 D show the calculated dose patterns of the same prostate shaped target and rectum OAR of FIGS. 4, 5 and  7 B with the same dose constraints in different gantry orientations. In FIGS. 8A and 8B, with  9  gantry orientations each with 10 pencil beams, the arrows indicate the “sparking” hot spots. FIGS. 8C and 8D have 13 gantry orientations each with 12 pencil beams. The hot spots are produced by beam crossings in those regions, indicated by arrows  802   a  and  802   b  in FIG. 8B, or by beams used to neutralize the negative doses outside the target, indicated by arrow  804  in FIG. 8B. The hot spots generated by neutralizing beams outside the target can be easily eliminated by canceling all the beams whose ray tracks are located outside the target. It is a concern if those hot spots were generated by beams whose ray tracks pass through the target and contribute dose to the target. This might be unacceptable for certain cases. Such problems might be overcome by relocating some of the designated voxels to those regions, by changing the gantry orientations or even by increasing the size of the subset, as seen in FIGS. 8C and 8D. The total number of the practically resolvable dose voxels remains approximately the same for a given case, but the total number of determining variables, the number of pencil beams, can be increased as more gantry positions are added. Subsequently, the total number of the subset of designated dose voxels increases accordingly. With this increased subset of dose voxels, more area will be covered and the covered area will be extended far beyond the high dose gradient region. In those cases, better dose uniformity with less sparking hot spots should be seen in regions beyond the targets.  
         [0083]    When the quadratic summation of negative beam weights falls to the range of ten or even closer to zero, the value of this objective function changes much more slowly since the objective value reaches the region of a flat bottom. Further increase in the iteration cycles does not significantly improve the value of the objective function. Termination of the iteration is more reasonable in those stages. However, the features of the final dose plan are related to the composition of those negative beams. Since removing the negative beams will expose the overdoses in some voxels, the overdose patterns directly reflect the amounts and the locations of the negative beams. If the value of this objective function were mainly contributed by either one, or a few beamlets, then the dose plan would have only one or a few compensating spikes. In other words, trade-off from early termination of the iterations may produce higher deviations in the negative beam distribution. Sometimes, it is case and setup specific.  
         [0084]    Since the doses in the dose matrix D in each iteration are bounded by constrained doses of Forms (9)-(11) or (12)-(17), the negative beams in solution from Equation (6) bring down the doses in some overdosed voxels, as long as D is resting at a physically unachievable combination. Realistically, almost all the dose constraints given for IMRT are more or less physically unachievable. However, the clinician would accept the IMRT plan that does not deviate much from what was asked for. The method of the present invention looks for the exact physically achievable plan that deviates minimally from the given dose constraints. The final plan would have its minimum, or a value close to the minimum, of the quadratic summation of negative beam weights. The physically achievable plan sets to zero those negative beams from the final plan. Unlike other algorithms, which zero the negative beams during the iteration process, zeroing the negative beams is the final step of this method. When the iteration process approaches the vicinity of the global minimum, the absolute values of the negative weights are much smaller than the positive ones and these negative beams mainly located in the OAR and normal tissue regions especially located in their boundaries to the target. Zeroing these small negative beams will remove the negative dose components in the dose voxels and cause doses to increase by a small amount corresponding to the weights of those negative beams mainly in regions of the OAR or normal tissues. This dose increment may cause some voxels having doses above the corresponding upper constraints, the overdoses; in most cases this is acceptable since the maximum dose limits for OAR or normal tissues were set lower to begin with. This dose increase in the target is not a concern since it is mainly from the scatter dose components of those removed negative beams.  
         [0085]    Finally, all the points have doses equal or above the corresponding minima bounded by Equations (9)-(11) or (12)-(17) since the doses lower than the corresponding minimum constraints are never accepted during the iterations. Since the minimum target dose is decisive for eradication of a tumor, the guaranteed lower target dose limit is a very important feature of this method compared to other algorithms. The amount of overdose in a voxel suppressed by the negative dose components is proportional to the negative beam weights. The smaller the absolute value of negative beam weights, the smaller are the overdoses. Therefore, these overdoses in D overall are the least, since the total value of the quadratic negative beam weights is the least. This situation is not worse than the situation in any other IMRT algorithm, in which the final plan must accept some doses beyond the prescriptions.  
         [0086]    The speed of stochastic iteration is a naturally slow process. The major advantage of stochastic iteration is that it converges to the global minimum. With an 850 MHz laptop personal computer, the current test setups with 9 or 10 gantry angles, each with 10×1 beamlets take about 30 minutes to converge. This is acceptable for a stochastic iteration approach. One of the following factors or their combinations could solve the 3D problem with the stochastic approach within a reasonable time: (1) the forward portion using existing fast calculation engines; (2) hardware with higher speed and parallel processors; (3) software using robust coding; or (4) using network computing. Further improvement in speed will depend on the introduction of new iteration schemes, such as the deterministic approach for the algorithm.  
         [0087]    While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should instead be defined only in accordance with the following claims and their equivalents.