# Patent

## Title
Polar effect model, system, and method for photon counting detector in medical imaging systems including computed tomography

## Abstract

An apparatus and a method are provided for calculating an output spectrum of a photon-counting detector based on an incident spectrum. The apparatus includes processing circuitry to determine a plane extending from a top face of the photon-counting detector that includes regions that all possible incident rays will transverse; divide the determined plane into subregions; calculate a detector response function for each of the subregions; determine an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and calculate the output spectrum based on the overall detector response function and the incident spectrum.

## Background
FIELD
The exemplary embodiments described herein relate to photon-counting detector systems.
BACKGROUND
Computed tomography (CT) systems and methods are widely used, particularly for medical imaging and diagnosis. CT systems generally create images of one or more sectional slices through a subject's body. A radiation source, such as an X-ray tube, irradiates the body from one side. A collimator, generally adjacent to the X-ray source, limits the angular extent of the X-ray beam, so that radiation impinging on the body is substantially confined to a planar region defining a cross-sectional slice of the body. At least one detector (and generally many more than one detector) on the opposite side of the body receives radiation transmitted through the body substantially in the plane of the slice. The attenuation of the radiation that has passed through the body is measured by processing electrical signals received from the detector.
These conventional detectors are called energy-integrating detectors for acquiring energy integration X-ray data. Recently, photon-counting detectors are configured to acquire the spectral nature of the X-ray source rather than the energy integration nature in acquiring data. To obtain the spectral nature of the transmitted X-ray data, the photon-counting detectors split the X-ray beam into its component energies or spectrum bins and count a number of photons in each of the bins. The use of the spectral nature of the X-ray source in CT is often referred to as spectral CT. Since spectral CT involves the detection of transmitted X-rays at two or more energy levels, spectral CT generally includes dual-energy CT by definition.
Semiconductor-based photon-counting detectors used in spectral CT can detect incident photons and measure photon energy for every event. However, due to the interaction depth and ballistic deficit, the measured photon energy cannot be related to incident photon energy uniquely. At high flux, pulse pileup may cause count lose too. Therefore, as recognized by the present inventor, a detector response function for semiconductor-based photon-counting detectors (e.g., CZT or CdTe) is required to describe the count rate nonlinearity and energy response.



BRIEF DESCRIPTION OF THE DRAWINGS
A more complete appreciation of the teachings of this disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
FIGS. 1 and 2 illustrate exemplary CT scanner systems;
FIG. 3A illustrates a schematic of incident rays of photons perpendicular to a detector element's top surface;
FIG. 3B illustrates a schematic of the incident rays of the photons not perpendicular to the detector element's top surface;
FIG. 3C illustrates a schematic of the incident rays of the photons at the top and side surface of the detector elements;
FIG. 4 illustrates a general method of modeling polar effects in a detector element;
FIG. 5A illustrates an embodiment of modeling polar effects in a detector element;
FIG. 5B, FIG. 5C, and FIG. 5D illustrate, according to this embodiment, angles to define the incident ray direction, schematics of an extended top face of the detector element, and divided small subregions at the extended top face;
FIG. 6A illustrates another embodiment of modeling polar effects in a detector element.
FIG. 6B illustrates, according to this embodiment, divided small subregions at the top and the side faces;
FIG. 7A shows a graph illustrating exemplary modeled spectra with different polar angles;
FIG. 7B shows a graph illustrating a comparison of a modeled spectrum with a measured spectrum at polar angle (90, 25) without pileup effects; and
FIG. 8 shows a schematic diagram of an exemplary processing system.



DETAILED DESCRIPTION
In a hybrid photon-counting CT design, a ring of sparsely distributed photon-counting detectors are used to acquire spectral information in a fourth-generation CT geometry, while energy-integrating detectors acquire data using a third-generation geometry. The fourth-generation design can overcome challenges facing photon-counting detector technology, while the third-generation data can be used to maintain the spatial resolution and noise characteristics of the reconstruction.
In one embodiment, there is provided an apparatus for calculating an output spectrum of a photon-counting detector based on an incident spectrum, the apparatus comprising: processing circuitry configured to (1) determine a plane extending from a top face of the photon-counting detector that includes regions that all possible incident rays will transverse; (2) divide the determined plane into subregions; (3) calculate a detector response function for each of the subregions; (4) determine an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and (5) calculate the output spectrum based on the overall detector response function and the incident spectrum.
In another embodiment, there is provided a method for calculating an output spectrum of a photon-counting detector based on an incident spectrum, the method comprising: (1) determining a plane extending from a top face of the photon-counting detector that includes subregions that all possible incident rays will transverse; (2) dividing the determined plane into subregions; (3) calculating a detector response function for each of the subregions; (3) determining an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and (4) calculating the output spectrum based on the overall detector response function and the incident spectrum.
In another embodiment, there is provided a non-transitory computer-readable medium storing executable instructions, which when executed by a computer processor, cause the computer processor to execute a method comprising: (1) determining a plane extending from a top face of the photon-counting detector that includes subregions that all possible incident rays will transverse; (2) dividing the determined plane into subregions; (3) calculating a detector response function for each of the subregions; (4) determining an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and (5) calculating the output spectrum based on the overall detector response function and the incident spectrum.
FIG. 1 illustrates a simplified schematic structure of a CT apparatus that can include a detector array to detect photons. Aspects of this disclosure are not restricted to a CT apparatus as the medical imaging system. In particular, the structures and procedures described herein can be applied to other medical imaging systems, and the descriptions provided herein specifically relating to a CT apparatus and the detection of photons should be considered as exemplary.
A detector array, a photon detector and/or a photon detector array may be referred to herein merely as a detector. The CT apparatus illustrated in FIG. 1 includes an X-ray tube 1, filters and collimators 2, and a third-generation detector 3. The CT apparatus can also include sparse fixed energy-discriminating (e.g., photon-counting) detectors 3′, which can be arranged at a different radius from that of the third-generation detector, as shown in FIG. 2. The CT apparatus also includes additional mechanical and electrical components such as a gantry motor and a controller 4 to control the rotation of the gantry, control the X-ray source, and control a patient bed. The CT apparatus also includes a data acquisition system 5 and a processor 6. The processor 6 is configured to generate CT images based on the projection (view) data acquired by the data acquisition system. For example, the processor 6 includes a reconstruction processor to reconstruct spectral CT images. The processor is programmed to perform methods and execute algorithms in accordance with the processes, algorithms, equations, and relationships described herein. The processor and data acquisition system can make use of a memory 7, which is configured to store, e.g., data obtained from the detector, detector pile-up models, and reconstructed images.
The X-ray tube 1, filters and collimators 2, detector 3, and controller 4 can be provided in a frame 8 that includes a bore. The frame 8 has a general cylindrical or donut shape. In the view shown in FIG. 1, a longitudinal axis of the bore of the frame 8 is in the center of the bore and extends into and out of the page. An interior of the bore, identified as area 9, is a target area for imaging. An object to be scanned, such as a patient, is placed in the target area with, e.g., a patient table. The object can then be irradiated by the X-ray tube 1 with a fan or cone of radiation 10, which generally, substantially or effectively cross-sects the object with respect to the longitudinal axis. The processor 6 is programmed to determine photon counts of captured incident X-ray photons. The data acquisition system 5, the processor 6, and the memory 7 can be implemented as a single machine or computer, or as separate machines or computers that are coupled together or distributed via a network or other data communication system. The controller 4 can also be coupled via the network or other data communication system, and can be implemented by a separate machine or computer, or as part of another machine or computer of the system.
In FIG. 1, the detector 3 is a rotational detector array that rotates with the X-ray tube 1 with respect to the longitudinal axis. Although not shown in FIG. 1, a stationary detector array can also be included, thus providing a rotating detector array and a stationary array, together, in the frame 8. Other detectors can be implemented.
Many clinical applications can benefit from spectral CT technology, including improvement in material differentiation and beam-hardening correction.
Semiconductor-based photon-counting detector can detect incident photons and measure photon energy for every event, and is thus a promising candidate for spectral CT, capable of providing better spectral information compared with conventional spectral CT technology (e.g., dual-source, kVp-switching, etc.).
However, photon-counting detectors have reduced tolerance against high X-ray flux. A photon-counting detector has to be able to count every individual photon separately in order to determine its energy content. When photon interaction occurs too rapidly, the electrical signal caused by individual events can merge. As a consequence, only a single event with an increased energy is counted, an effect called “pileup”.
Furthermore, in a fourth-generation CT scanner, the detectors are on a stationary gantry, and the X-ray source rotates. The detector receives X-rays from different incident angles as the source rotates. The detector response varies with the X-ray incident angle, which is referred to as the polar effect. The polar effect needs to be considered and integrated into the detector response model for the hybrid photon-counting CT scanner. The polar effect needs to be considered and integrated into the detector response model for the sparse fourth-generation photon-counting detector geometry.
The polar effect usually happens for a non-normal entrance of incident photons, results in ambiguity in determining the response of the detector, and degrades the overall spatial resolution. When the incident photons 302 are not perpendicular to the top face 304 of the detector 300, as shown in FIG. 3B, or when the photons enter through the side face 306, as shown in FIG. 3C, the geometrical efficiency of the detector is different from the case of normal incidence through the top face 304 shown in FIG. 3A.
Moreover, photons entering the detector element from different locations, e.g., the top face 304 and the side face 306, travel different distances through the detector, as shown in FIG. 3C, which causes photons in different rays to have different energy responses, and different detection efficiencies, etc.
Furthermore, when pileup exists, i.e., at high flux, the quasi-coincident photons can enter the detector from multiple combinations of the top and the side faces. Pulse pileup occurring at high X-ray fluxes can severely degrade the energy resolution provided by a photon-counting detector, which is a problem in spectroscopic CT when performing quantitative material-discrimination tasks.
To best model the polar effect and the pileup effect in photon-counting detectors, a polar-effect modelling method is described herein.
Referring to FIG. 4, a flowchart 400 is shown describing a method performed by processing circuitry for reducing the polar effect and the pileup effect in a photon-counting detector using a normalization method.
In step 402, the processing circuitry determines a plane of a detector element that covers a region that all incident rays fall into.
In step 404, the processing circuitry divides the plane into small regions. The length and width of the small regions are determined based on the geometry of the detector element and the precision requirement of the polar effect model. For example, a suitable area of the small region can be 0.1 mm by 0.1 mm, which can satisfy the precision requirement of the polar effect model. A region with an area that is smaller than 0.1 mm by 0.1 mm cannot increase the precision of the polar effect model to a large degree. Therefore, for a detector's top face with an area of 1 mm by 2 mm, the top face can be divided into 10×20 subregions, for example, and each of the subregions has an area of 0.1 mm by 0.1 mm.
In step 406, the processing circuitry calculates a response of the photon-counting detector based on a model in each small region with and without pile-up.
In step 408, the processing circuitry determines the overall detector response by summing the detector responses from all of the small regions or a combination of the small regions, and normalizing the summation by the area of the plane.
In step 410, the processing circuitry calculates the output spectrum based on the determined detector response and the incident spectrum.
In one embodiment, after step 408, the overall detector response function is stored in the memory 7 and, in step 410, the processing circuitry is further configured to read out the overall detector response function from the memory 7 and calculate the output spectrum based on the incident spectrum and the overall detector response function read out from the memory 7.
Referring to FIG. 5A, a flowchart 500 describes a specific embodiment of the method described in flowchart 400.
In step 502, an angle α and an angle β of an incident ray are determined by the CT system. As shown in FIG. 5B, the angle α is the angle between the X-axis and the projection of an incident ray 524 on the face 522, and the angle β is the angle between the direction of the incident ray 524 and the normal of face 522. Angles α and β are used to define the direction of the incident ray 524.
In step 504, the processing circuitry calculates an extended top surface 524 of the detector 520 based on the detector's geometry and the incident ray direction, as shown in FIG. 5C.
A 3D detector element 520 shown in FIG. 5C may be extended to form a larger top surface 526 including extra area from its side surfaces. Four vertices at the bottom face of the detector can be defined as: (0, 0, Dh), (0, Dw, Dh), (Dl, 0, Dh), and (Dl, Dw, Dh), where Dl, Dw, and Dh are a length, a width, and a height of the detector 520, respectively. Each of the four vertices at the bottom face is projected in a direction Iinv that is opposite to the direction of the incident ray to generate an intersection point with the plane that includes the top face 522. The eight points, which include the four intersections points and the four original vertices at the top face of the detector, are defined as Ii=(xi,yi,0), where i=0 . . . 7. The four vertices of the extended top face can be calculated as

(minx,miny,0),(minx,maxy,0),(maxx,miny,0), and (maxx,maxy,0), respectively, wherein minx=minimum(xi),miny=minimum(yi),maxx=maximum(xi),maxx=maximum(yi).

In step 506, the processing circuitry divides the extended top face 526 into a number of subregions 528, gij, wherein i and j are the subregion indices in the X and Y dimensions and i=0 . . . m, j=0 . . . n, as shown in FIG. 5D, wherein m and n are integers. For a first-order pile-up (two photons pileup), the processing circuitry further divides the extended top face 526 into a number of subregions 528 that a second photon is located, gkl, wherein k and l are the subregion indices in the X and Y dimensions and k=0 . . . e, l=0 . . . h, wherein e and h are integers. Similarly, for s order pileup, the processing circuitry continues to divide the extended top face 526 into a number of subregions 528 that each of the s photons is located. The exact number of subregions 528 depends on factors such as the detector's geometric dimensions, the polar angle, etc. The subregions 528 may have the same or different areas. The method to divide the top surface is similar to step 404.
In step 508, the processing circuitry calculates a geometric factor: G=cos(β), each subregion's area that the first photon is located aij and distance, Lij, wherein Lij is a distance that the photon travels inside the detector element for each subregion, gij, and each subregion's area that the second photon is located akl and distance, Lkl, wherein Lkl is a distance that the photon travels inside the detector element for each subregion, gkl.
In step 510, the processing circuitry determines the detector response without pileup and with pileup. The detector's response without pileup is calculated according to equation (1):




  
    
      
        
          
            R
            0
          
          ⁡
          
            (
            
              E
              ,
              
                E
                0
              
            
            )
          
        
        =
        
          e
          
            
              -
              
                n
                0
              
            
            ⁢
            
              τ
              d
            
            ⁢
            
              
                
                  ∑
                  
                    i
                    =
                    0
                  
                  m
                
                ⁢
                
                  
                
                ⁢
                
                  
                    ∑
                    
                      j
                      =
                      0
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        ij
                      
                    
                    ⁢
                    
                      
                        X
                        0
                      
                      ⁢
                      
                        P
                        ij
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      dz
                    
                  
                
              
              A
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




wherein





  
    
      P
      ij
      0
    
    =
    
      
        a
        ij
      
      ×
      G
      ×
      
        e
        
          
            -
            
              μ
              ⁡
              
                (
                
                  E
                  0
                
                )
              
            
          
          ⁢
          
            z
            
              sin
              ⁢
              
                
              
              ⁢
              
                (
                β
                )
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    μ
    ⁡
    
      (
      
        E
        
          0
          ⁢
          
            
          
        
      
      )
    
  




is the detector's attenuation, n0 is the incident flux, z is the photon's coordinate in the z direction, τd is the dead time, χ0 (=1) is detection probability without pileup, E0 is the incident photon energy, E is the detected energy of the incident photon, and A is the area of the extended top surface 526.

The detector's response to a first-order pileup (two photons pileup) R1 is calculated by summing up all the responses produced by any combinations of the two photons from two subregions 528 according to equation (2):




  
    
      
        
          
            R
            1
          
          ⁡
          
            (
            
              E
              ,
              
                E
                0
              
              ,
              
                E
                1
              
            
            )
          
        
        =
        
          
            n
            0
          
          ⁢
          
            e
            
              
                -
                
                  n
                  0
                
              
              ⁢
              
                τ
                d
              
              ⁢
              
                
                  
                    ∑
                    
                      i
                      =
                      0
                    
                    m
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      ∑
                      
                        j
                        =
                        0
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          0
                        
                        m
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          ∑
                          
                            l
                            =
                            0
                          
                          n
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          ∫
                          
                            
                              ∫
                              
                                L
                                kl
                              
                            
                            ⁢
                            
                              
                                ∫
                                
                                  L
                                  ij
                                
                              
                              ⁢
                              
                                
                                  X
                                  1
                                
                                ⁢
                                
                                  P
                                  
                                    ij
                                    ,
                                    kl
                                  
                                  1
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  dz
                                  0
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  dz
                                  1
                                
                                ⁢
                                
                                  dt
                                  1
                                
                              
                            
                          
                        
                      
                    
                  
                
                
                  A
                  2
                
              
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




wherein





  
    
      P
      
        ij
        ,
        kl
      
      1
    
    =
    
      
        a
        ij
      
      ×
      G
      ×
      
        a
        kl
      
      ×
      G
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                1
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
  
  ⁢
  
    
      X
      1
    
    ⁡
    
      (
      
        =
        0.5
      
      )
    
  




is the detection probability of first-order pileup, z0 and z1 are the first and second photons' z coordinates, respectively, E0 and E1 are the first and second incident photon's energy, respectively, t1 is the time interval between the arrival of the first and the second incident photons, μ(E0) is the detector's attenuation at incident energy E0, μ(E1) is the detector attenuation at incident energy E1, aij is the area of subregion gij, and akl is the area of subregion gkl.

Similarly, the detector's response to a second-order pileup (three photons pileup) R2 is calculated by summing up all of the responses produced by any combination of the three photons from three subregions 528. Higher-order pileup cases can be processed is a similar way. Different numbers of subregions 528 may be used for different-order pileup cases to save computation time. Also, an approximation method can be used for pileup of order two and above to save computation time.
In step 512, the processing circuitry calculates an output spectrum based on the incident spectrum. An overall equation to calculate the output spectrum based on incident spectrum:

Sm(E)=∫dE0R0(E,E0)Sin(E0)+∫∫dE0dE1R1(E,E0,E1)Sin(E0)Sin(E1)  (3)

wherein Sm(E) is the modeled output spectrum, and Sin(E) is the incident spectrum.

Once a photon interacts in the detector element, regardless of the incident polar angle, the detected and incident energies are related by equation (4):

E=νp(tTOF0:z0,E0)  (4)

wherein E is the detected energy of the incident photon, E0 is the incident energy, z0 is the point where an X-ray photon converts to electron-hole pairs, tTOF0 is the time that the generated electrons drifts from the interaction point z0 to the anode of the detector. In other words, the relationship between the detected energy and the incident energy is only determined by the charge collection property of the detector, e.g., the depth of interaction and the weighting potential, and is independent of the polar angle.

Referring to FIG. 6A, a flowchart 600 is shown describing another specific embodiment of the method described in flowchart 400.
In step 602, an angle α and an angle β of an incident ray are determined by the CT system. The angle α is the angle between the X-axis and the projection of the incident ray on the original top surface, and the angle β is the angle between the incident ray's direction and the normal of original top surface. Angles α and β are used to define the direction of the incident ray.
In step 604, the processing circuitry determines the area of the top face b (622) and the projection area of side faces c (624) and d (626) of the detector element 620 that is exposed to the incident rays. The area of top face b (622) is Ab. The projection area of the side faces is along the incident ray direction on the plane f where the top face 620 is located, and the projection areas of at most two side faces are calculated according to equations (5) and (6):

Acp=Ac×tan(β)cos(α)  (5)

Adp=Ad×tan(β)sin(α)  (6)

wherein Ac is the area of face c (624), Ad is the area of face d (626), the angle α is the angle between the X-axis and the projection of the incident ray on the plane f, and the angle β is the angle between the incident ray's direction and the normal of the plane f.

In step 606, the processing circuitry divides the top face b (622), and the side faces c (624) and d (626) of the detector 620 into a number of subregions (628), gibjb, gicjc, and gidjd respectively, wherein, ib and jb are the subregion indices of a first photon in the X and Y dimensions of the face b, where ib=0 . . . m, jb=0 . . . n, ic and jc are the subregion indices of the first photon in the X and Y dimensions of the face c, where ic=0 . . . p, jc=0 . . . q, id and jd are the subregion indices of the first photon in the X and Y dimensions of the face d, and jd=0 . . . r, jd=0 . . . t, as shown in FIG. 6B. m, n, p, q, r, and t are integers. The exact number of subregions used depends on factors such as the detector's geometric dimensions, the polar angle, etc. For a first-order pile-up (two photons pileup), the processing circuitry further divides the top face b, and the side faces c and d of the detector into a number of subregions 628 that a second photon is located, gkblb, gkclc, and gkdld respectively, wherein kb and lb are the subregion indices of the second photon in the X and Y dimensions of the face b, where kb=0 . . . e, lb=0 . . . h, kc and lc are the subregion indices of the second photon in the X and Y dimensions of the face c, where kc=0 . . . o, lc=0 . . . u, kd and ld are the subregion indices of the second photon in the X and Y dimensions of the face d, and kd=0 . . . v, ld=0 . . . w, where e, h, o, u, v, and w are integers. Similarly, for s order pileup, the processing circuitry continues to divide the extended top face f into a number of subregions that each of the s photons is located.
In step 608, the processing circuitry calculates each subregion's area that the first photon is located aibjb, aicjc and aidjd, respectively, each subregion's area that the second photon is located akblb, akclc and akdld, respectively, geometric factors for the top surface b, the side surface c, and the side surface d, and distances Libjb, Licjc, Lidjd, Lkblb, Lkclc, and Lkdld, wherein aibjb is each subregion's area that the first photon is located on the surface b, aicjc is each subregion's area that the first photon is located on the surface c, aidjd is each subregion's area that the first photon is located on the surface d, akblb is each subregion's area that the second photon is located on the surface b, akclc is each subregion's area that the second photon is located on the surface c, akdld is each subregion's area that the second photon is located on the surface d, Libjb is a distance that the first photon travels inside the detector on the face b for each subregion, Licjc is a distance that the first photon travels inside the detector on the face c for each subregion, Lidjd is a distance that the first photon travels inside the detector on the face d for each subregion, Lkblb is a distance that the second photon travels inside the detector on the face b for each subregion, Lkclc is a distance that the second photon travels inside the detector on the face c for each subregion, and Lkdld is a distance that the second photon travels inside the detector on the face d for each subregion.
The processing circuitry calculates geometric factors for the top surface b and the side surfaces c and d according to equations (7)-(9):

Gb=cos(β)  (7)

Gc=sin(β)cos(α)  (8)

Gd=sin(β)sin(α)  (9)

wherein the angle α is the angle between the X-axis and the projection direction of an incident ray on the plane f, and the angle β is the angle between the incident ray's direction and the normal of the plane f as shown in FIG. 5B.

In step 610, the processing circuitry calculates the detector response without pileup and with pileup. The detector's response without pileup is the combination of the responses from the top and side faces, and is calculated according to equation (10):




  
    
      
        
          
            R
            0
          
          ⁡
          
            (
            
              E
              ,
              
                E
                0
              
            
            )
          
        
        =
        
          
            
              R
              b
              0
            
            +
            
              R
              c
              0
            
            +
            
              R
              d
              0
            
          
          
            
              A
              b
            
            +
            
              A
              c
              p
            
            +
            
              A
              d
              p
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




wherein





  
    
      
        R
        b
        0
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
        
        )
      
    
    =
    
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              b
            
            =
            0
          
          
            m
            b
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                b
              
              =
              0
            
            
              n
              b
            
          
          ⁢
          
            
              ∫
              
                L
                
                  
                    i
                    b
                  
                  ⁢
                  
                    j
                    b
                  
                
              
            
            ⁢
            
              
                X
                0
              
              ⁢
              
                P
                
                  
                    i
                    b
                  
                  ⁢
                  
                    j
                    b
                  
                
                0
              
              ⁢
              dz
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        c
        0
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
        
        )
      
    
    =
    
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              c
            
            =
            0
          
          
            m
            c
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                c
              
              =
              0
            
            
              n
              c
            
          
          ⁢
          
            
              ∫
              
                L
                
                  
                    i
                    c
                  
                  ⁢
                  
                    j
                    c
                  
                
              
            
            ⁢
            
              
                X
                0
              
              ⁢
              
                P
                
                  
                    i
                    c
                  
                  ⁢
                  
                    j
                    c
                  
                
                0
              
              ⁢
              dz
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        d
        0
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
        
        )
      
    
    =
    
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              d
            
            =
            0
          
          
            m
            d
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                d
              
              =
              0
            
            
              n
              d
            
          
          ⁢
          
            
              ∫
              
                L
                
                  
                    i
                    d
                  
                  ⁢
                  
                    j
                    d
                  
                
              
            
            ⁢
            
              
                X
                0
              
              ⁢
              
                P
                
                  
                    i
                    d
                  
                  ⁢
                  
                    j
                    d
                  
                
                0
              
              ⁢
              dz
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          i
          c
        
        ⁢
        
          j
          c
        
      
      0
    
    =
    
      
        a
        
          
            i
            c
          
          ⁢
          
            j
            c
          
        
      
      ×
      
        G
        c
      
      ×
      
        e
        
          
            -
            
              μ
              ⁡
              
                (
                
                  E
                  0
                
                )
              
            
          
          ⁢
          
            z
            
              sin
              ⁢
              
                
              
              ⁢
              
                (
                β
                )
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          i
          b
        
        ⁢
        
          j
          b
        
      
      0
    
    =
    
      
        a
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
      
      ×
      
        G
        b
      
      ×
      
        e
        
          
            -
            
              μ
              ⁡
              
                (
                
                  E
                  0
                
                )
              
            
          
          ⁢
          
            z
            
              sin
              ⁢
              
                
              
              ⁢
              
                (
                β
                )
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          i
          d
        
        ⁢
        
          j
          d
        
      
      0
    
    =
    
      
        a
        
          
            i
            d
          
          ⁢
          
            j
            d
          
        
      
      ×
      
        G
        d
      
      ×
      
        e
        
          
            -
            
              μ
              ⁡
              
                (
                
                  E
                  0
                
                )
              
            
          
          ⁢
          
            z
            
              sin
              ⁢
              
                
              
              ⁢
              
                (
                β
                )
              
            
          
        
      
      ×
      
        
          
            μ
            ⁡
            
              (
              
                E
                
                  0
                  ⁢
                  
                    
                  
                
              
              )
            
          
          
            sin
            ⁢
            
              
            
            ⁢
            
              (
              β
              )
            
          
        
        .
      
    
  




Here χ0(=1) is the detection probability without pileup, μ(E0) is the detector's attenuation, Gb is a geometric factor for the top surface b, Gc is a geometry factor of the side surface c, Gd is a geometric factor for the side surface d, Ab is the area of the top surface b, Acp is the projection area of the side surface c, Adp is the projection area of the side surface d, Rb0 is the detector response without pileup for the top surface b, Rc0 is the detector response without pileup for the side surface c, and Rd0 is the detector response without pileup for the side surface d.
The detector's response to a first-order pileup (two photons pileup) is the combination of the responses from the top and side faces, and is calculated according to equation (11):




  
    
      
        
          
            R
            1
          
          ⁡
          
            (
            
              E
              ,
              
                E
                0
              
              ,
              
                E
                1
              
            
            )
          
        
        =
        
          
            
              R
              bb
              1
            
            +
            
              R
              cc
              1
            
            +
            
              R
              dd
              1
            
            +
            
              R
              bc
              1
            
            +
            
              R
              bd
              1
            
            +
            
              R
              cd
              1
            
          
          
            
              (
              
                
                  A
                  b
                
                +
                
                  A
                  c
                  p
                
                +
                
                  A
                  d
                  p
                
              
              )
            
            ×
            
              (
              
                
                  A
                  b
                
                +
                
                  A
                  c
                  p
                
                +
                
                  A
                  d
                  p
                
              
              )
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




wherein





  
    
      
        R
        bb
        1
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
          ,
          
            E
            1
          
        
        )
      
    
    =
    
      
        n
        0
      
      ⁢
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              b
            
            =
            0
          
          
            m
            b
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                b
              
              =
              0
            
            
              n
              b
            
          
          ⁢
          
            
          
          ⁢
          
            
              ∑
              
                
                  k
                  b
                
                =
                0
              
              
                m
                b
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    b
                  
                  =
                  0
                
                
                  n
                  b
                
              
              ⁢
              
                
              
              ⁢
              
                ∫
                
                  
                    ∫
                    
                      L
                      
                        
                          k
                          b
                        
                        ⁢
                        
                          l
                          b
                        
                      
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        
                          
                            i
                            b
                          
                          ⁢
                          
                            j
                            b
                          
                        
                      
                    
                    ⁢
                    
                      
                        X
                        1
                      
                      ⁢
                      
                        P
                        
                          
                            
                              i
                              b
                            
                            ⁢
                            
                              j
                              b
                            
                          
                          ,
                          
                            
                              k
                              b
                            
                            ⁢
                            
                              l
                              b
                            
                          
                        
                        1
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        1
                      
                      ⁢
                      
                        dt
                        1
                      
                    
                  
                
              
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        cc
        1
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
          ,
          
            E
            1
          
        
        )
      
    
    =
    
      
        n
        0
      
      ⁢
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              c
            
            =
            0
          
          
            m
            c
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                c
              
              =
              0
            
            
              n
              c
            
          
          ⁢
          
            
          
          ⁢
          
            
              ∑
              
                
                  k
                  b
                
                =
                0
              
              
                m
                c
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    c
                  
                  =
                  0
                
                
                  n
                  c
                
              
              ⁢
              
                
              
              ⁢
              
                ∫
                
                  
                    ∫
                    
                      L
                      
                        
                          k
                          c
                        
                        ⁢
                        
                          l
                          c
                        
                      
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        
                          
                            i
                            c
                          
                          ⁢
                          
                            j
                            c
                          
                        
                      
                    
                    ⁢
                    
                      
                        X
                        1
                      
                      ⁢
                      
                        P
                        
                          
                            
                              i
                              c
                            
                            ⁢
                            
                              j
                              c
                            
                          
                          ,
                          
                            
                              k
                              c
                            
                            ⁢
                            
                              l
                              c
                            
                          
                        
                        1
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        1
                      
                      ⁢
                      
                        dt
                        1
                      
                    
                  
                
              
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        dd
        1
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
          ,
          
            E
            1
          
        
        )
      
    
    =
    
      
        n
        0
      
      ⁢
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              d
            
            =
            0
          
          
            m
            d
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                d
              
              =
              0
            
            
              n
              d
            
          
          ⁢
          
            
          
          ⁢
          
            
              ∑
              
                
                  k
                  d
                
                =
                0
              
              
                m
                d
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    d
                  
                  =
                  0
                
                
                  n
                  d
                
              
              ⁢
              
                
              
              ⁢
              
                ∫
                
                  
                    ∫
                    
                      L
                      
                        
                          k
                          d
                        
                        ⁢
                        
                          l
                          d
                        
                      
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        
                          
                            i
                            d
                          
                          ⁢
                          
                            j
                            d
                          
                        
                      
                    
                    ⁢
                    
                      
                        X
                        1
                      
                      ⁢
                      
                        P
                        
                          
                            
                              i
                              d
                            
                            ⁢
                            
                              j
                              d
                            
                          
                          ,
                          
                            
                              k
                              d
                            
                            ⁢
                            
                              l
                              d
                            
                          
                        
                        1
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        1
                      
                      ⁢
                      
                        dt
                        1
                      
                    
                  
                
              
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        bc
        1
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
          ,
          
            E
            1
          
        
        )
      
    
    =
    
      
        n
        0
      
      ⁢
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              b
            
            =
            0
          
          
            m
            b
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                b
              
              =
              0
            
            
              n
              b
            
          
          ⁢
          
            
          
          ⁢
          
            
              ∑
              
                
                  k
                  c
                
                =
                0
              
              
                m
                c
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    c
                  
                  =
                  0
                
                
                  n
                  c
                
              
              ⁢
              
                
              
              ⁢
              
                ∫
                
                  
                    ∫
                    
                      L
                      
                        
                          k
                          b
                        
                        ⁢
                        
                          l
                          b
                        
                      
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        
                          
                            i
                            c
                          
                          ⁢
                          
                            j
                            c
                          
                        
                      
                    
                    ⁢
                    
                      
                        X
                        1
                      
                      ⁢
                      
                        P
                        
                          
                            
                              i
                              b
                            
                            ⁢
                            
                              j
                              b
                            
                          
                          ,
                          
                            
                              k
                              c
                            
                            ⁢
                            
                              l
                              c
                            
                          
                        
                        1
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        1
                      
                      ⁢
                      
                        dt
                        1
                      
                    
                  
                
              
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        bd
        1
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
          ,
          
            E
            1
          
        
        )
      
    
    =
    
      
        n
        0
      
      ⁢
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              b
            
            =
            0
          
          
            m
            b
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                b
              
              =
              0
            
            
              n
              b
            
          
          ⁢
          
            
          
          ⁢
          
            
              ∑
              
                
                  k
                  d
                
                =
                0
              
              
                m
                d
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    d
                  
                  =
                  0
                
                
                  n
                  d
                
              
              ⁢
              
                
              
              ⁢
              
                ∫
                
                  
                    ∫
                    
                      L
                      
                        
                          k
                          b
                        
                        ⁢
                        
                          l
                          b
                        
                      
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        
                          
                            i
                            d
                          
                          ⁢
                          
                            j
                            d
                          
                        
                      
                    
                    ⁢
                    
                      
                        X
                        1
                      
                      ⁢
                      
                        P
                        
                          
                            
                              i
                              b
                            
                            ⁢
                            
                              j
                              b
                            
                          
                          ,
                          
                            
                              k
                              d
                            
                            ⁢
                            
                              l
                              d
                            
                          
                        
                        1
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        1
                      
                      ⁢
                      
                        dt
                        1
                      
                    
                  
                
              
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      
        R
        cd
        1
      
      ⁡
      
        (
        
          E
          ,
          
            E
            0
          
          ,
          
            E
            1
          
        
        )
      
    
    =
    
      
        n
        0
      
      ⁢
      
        e
        
          
            -
            
              n
              0
            
          
          ⁢
          
            τ
            d
          
        
      
      ⁢
      
        
          ∑
          
            
              i
              c
            
            =
            0
          
          
            m
            c
          
        
        ⁢
        
          
        
        ⁢
        
          
            ∑
            
              
                j
                c
              
              =
              0
            
            
              n
              c
            
          
          ⁢
          
            
          
          ⁢
          
            
              ∑
              
                
                  k
                  d
                
                =
                0
              
              
                m
                d
              
            
            ⁢
            
              
            
            ⁢
            
              
                ∑
                
                  
                    l
                    d
                  
                  =
                  0
                
                
                  n
                  d
                
              
              ⁢
              
                
              
              ⁢
              
                ∫
                
                  
                    ∫
                    
                      L
                      
                        
                          k
                          c
                        
                        ⁢
                        
                          l
                          c
                        
                      
                    
                  
                  ⁢
                  
                    
                      ∫
                      
                        L
                        
                          
                            i
                            d
                          
                          ⁢
                          
                            j
                            d
                          
                        
                      
                    
                    ⁢
                    
                      
                        X
                        1
                      
                      ⁢
                      
                        P
                        
                          
                            
                              i
                              c
                            
                            ⁢
                            
                              j
                              c
                            
                          
                          ,
                          
                            
                              k
                              d
                            
                            ⁢
                            
                              l
                              d
                            
                          
                        
                        1
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        0
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        dz
                        1
                      
                      ⁢
                      
                        dt
                        1
                      
                    
                  
                
              
            
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
        ,
        
          
            k
            b
          
          ⁢
          
            l
            b
          
        
      
      1
    
    =
    
      
        a
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
      
      ×
      
        G
        b
      
      ×
      
        a
        
          
            k
            b
          
          ⁢
          
            l
            b
          
        
      
      ×
      
        G
        b
      
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                1
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          
            i
            c
          
          ⁢
          
            j
            c
          
        
        ,
        
          
            k
            c
          
          ⁢
          
            l
            c
          
        
      
      1
    
    =
    
      
        a
        
          
            i
            c
          
          ⁢
          
            j
            c
          
        
      
      ×
      
        G
        c
      
      ×
      
        a
        
          
            k
            c
          
          ⁢
          
            l
            c
          
        
      
      ×
      
        G
        c
      
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                1
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          
            i
            d
          
          ⁢
          
            j
            d
          
        
        ,
        
          
            k
            d
          
          ⁢
          
            l
            d
          
        
      
      1
    
    =
    
      
        a
        
          
            i
            d
          
          ⁢
          
            j
            d
          
        
      
      ×
      
        G
        d
      
      ×
      
        a
        
          
            k
            d
          
          ⁢
          
            l
            d
          
        
      
      ×
      
        G
        d
      
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                1
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
        ,
        
          
            k
            c
          
          ⁢
          
            l
            c
          
        
      
      1
    
    =
    
      
        a
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
      
      ×
      
        G
        b
      
      ×
      
        a
        
          
            k
            c
          
          ⁢
          
            l
            c
          
        
      
      ×
      
        G
        c
      
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                1
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
        ,
        
          
            k
            d
          
          ⁢
          
            l
            d
          
        
      
      1
    
    =
    
      
        a
        
          
            i
            b
          
          ⁢
          
            j
            b
          
        
      
      ×
      
        G
        b
      
      ×
      
        a
        
          
            k
            d
          
          ⁢
          
            l
            d
          
        
      
      ×
      
        G
        d
      
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                1
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
    
  
  ,
  
    

  
  ⁢
  
    
      P
      
        
          
            i
            c
          
          ⁢
          
            j
            c
          
        
        ,
        
          
            k
            d
          
          ⁢
          
            l
            d
          
        
      
      1
    
    =
    
      
        a
        
          
            i
            c
          
          ⁢
          
            j
            c
          
        
      
      ×
      
        G
        c
      
      ×
      
        a
        
          
            k
            d
          
          ⁢
          
            l
            d
          
        
      
      ×
      
        G
        d
      
      ×
      
        e
        
          
            
              -
              
                μ
                ⁡
                
                  (
                  
                    E
                    0
                  
                  )
                
              
            
            ⁢
            
              
                z
                0
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
          -
          
            μ
            ⁢
            
              (
              
                E
                1
              
              )
            
            ⁢
            
              
                z
                1
              
              
                sin
                ⁢
                
                  
                
                ⁢
                
                  (
                  β
                  )
                
              
            
          
        
      
      ×
      
        
          μ
          ⁡
          
            (
            
              E
              
                0
                ⁢
                
                  
                
              
            
            )
          
        
        
          sin
          ⁢
          
            
          
          ⁢
          
            (
            β
            )
          
        
      
      ×
      
        
          
            μ
            ⁡
            
              (
              
                E
                
                  1
                  ⁢
                  
                    
                  
                
              
              )
            
          
          
            sin
            ⁢
            
              
            
            ⁢
            
              (
              β
              )
            
          
        
        .
      
    
  




Here Rbb1 is a detector response when the two photons that pile up are both from face the b, Rcc1 is a detector response when the two photons that pile up are both from the face c, Rdd1 is a detector response when the two photons that pile up are both from the face d, Rbc1 is a detector response when the two photons the pile up are from the face b and the face c, Rbd1 is a detector response when the two photons that pile up are from the face b and the face d, Rcd1 is a detector response when the two photons that pile up are from the face c and the face d, Ab is the area of the top surface b, Acp is the projection area of the side surface c, Adp is the projection area of the side surface d, χ1(=0.5) is the detection probability of first-order pileup, Gb is a geometric factor for the top surface b, Gc is a geometry factor of the side surface c, Gd is a geometric factor for the side surface d, z0 and z1 are the first and second photon's coordinates in the z direction, respectively, E0 and E1 are the first and second incident photon's energy, respectively, t1 is the time interval between an arrival of the first and the second incident photons, Ab is the area of the top surface b, μ(E0) is the detector attenuation at incident energy E0, μ(E1) is the detector attenuation at incident energy E1, Acp is the projection area of the side surface c, Adp is the projection area of the side surface d, aibjb is the area of each subregion that the first photon is located on the surface b, aicjc is the area of each subregion that the first photon is located on the surface c, aidjd is the area of each subregion that the first photon is located on the surface d, akbkb is the area of each subregion that the second photon is located on the surface b, akckc is the area of each subregion that the second photon is located on the surface c, and akdkd is the area of each subregion that the second photon is located on the surface d.
Higher-order pileup cases can be processed is a similar way. An approximation method can be used in pileup of order two and above to save computation time.
In step 612, the processing circuitry calculates an output spectrum based on the incident spectrum and the calculated detector responses R0, R1, R2, R3, etc. An overall equation to calculate the output spectrum based on incident spectrum according to equation (3).
In an alternative embodiment, a different number of subregions 628 can be used for R0, R1, R2, R3, etc. to save computation time. Further, in another embodiment, a different number of subregions 628 can be used for different detector element faces or in different regions of the extended top face of the detector element to save computation time and improve accuracy.
The disclosed embodiments perform realistic polar effect integrations over all the incident surfaces in the photon-counting detector response models that model the polar effect with and without pileup effect. With the extended top face, all the incident rays can be treated in a unified manner, regardless of the entrance faces.
FIG. 7A shows a graph illustrating exemplary modeled spectra for varying polar angles α and β. Modeled spectra with polar angles (α, β) as (90,0), (90,15), (90,30), and (90,45), respectively, are shown.
FIG. 7B shows a graph illustrating a comparison of a modeled spectrum with a measured spectrum at polar angle (90, 25) with no pileup effects. It is evident that the model can realistic represent the polar effects.
An exemplary processing system is illustrated in FIG. 8, which is an exemplary implementation of the processor 6 of FIG. 1. The processor 6 can be a hardware device, e.g., a CPU that has been specifically configured to execute one or more computer programs that cause the CPU to perform the functions illustrated in the flowcharts of FIGS. 4, 5A, and 6A. In particular, this exemplary processing system can be implemented using one or more microprocessors or the equivalent, such as a central processing unit (CPU) and/or at least one application-specific processor ASP (not shown). A microprocessor is a circuit or circuitry that utilizes a computer readable storage medium, such as a memory circuit (e.g., ROM, EPROM, EEPROM, flash memory, static memory, DRAM, SDRAM, and their equivalents), configured to control the microprocessor to perform and/or control the processes and systems of this disclosure, and configured to execute the algorithms described herein. Other storage mediums can be controlled via a controller, such as a disk controller, which can controls a hard disk drive or optical disk drive.
The microprocessor or aspects thereof, in alternate implementations, can include or exclusively include a logic device for augmenting or fully implementing aspects of this disclosure. Such a logic device includes, but is not limited to, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a generic-array of logic (GAL), and their equivalents. The microprocessor can be a separate device or a single processing mechanism. Further, this disclosure can benefit from parallel processing capabilities of a multi-cored CPU and a graphics processing unit (GPU) to achieve improved computational efficiency. One or more processors in a multi-processing arrangement may also be employed to execute sequences of instructions contained in memory. Alternatively, hard-wired circuitry may be used in place of or in combination with software instructions. Thus, the exemplary implementations discussed herein are not limited to any specific combination of hardware circuitry and software.
In another aspect, results of processing in accordance with this disclosure can be displayed via a display controller to a monitor. The display controller preferably includes at least one graphic processing unit, which can be provided by a plurality of graphics processing cores, for improved computational efficiency. Additionally, an I/O (input/output) interface is provided for inputting signals and/or data from microphones, speakers, cameras, a mouse, a keyboard, a touch-based display or pad interface, etc., which can be connected to the I/O interface as a peripheral. For example, a keyboard or a pointing device for controlling parameters of the various processes or algorithms of this disclosure can be connected to the I/O interface to provide additional functionality and configuration options, or control display characteristics. Moreover, the monitor can be provided with a touch-sensitive interface for providing a command/instruction interface.
The above-noted components can be coupled to a network, such as the Internet or a local intranet, via a network interface for the transmission or reception of data, including controllable parameters. A central bus is provided to connect the above hardware components together and provides at least one path for digital communication there between.
The data acquisition system 5, the processor 6, and the memory 7 of FIG. 1 can be implemented utilizing one or more processing systems in accordance with the exemplary implementation shown in FIG. 8. In particular, one or more circuits or computer hardware units coinciding with one or more of the devices illustrated in FIG. 1 can provide for the functions of the data acquisition system 5, the processor 6, and the memory 7 (collectively or separately). The functional processing described herein can also be implemented in specialized circuitry or one or more specialized circuits including circuits to perform the described processing. Such circuits can be a part of a computer processing system or a discrete device that is interconnected to other systems. A processor in accordance with this disclosure can also be programmed to or configured to execute the functional processing described herein by computer code elements.
Further, the processing systems, in one implementation, can be connected to each other by a network or other data communication connection. One or more of the processing systems can be connected to corresponding actuators to actuate and control movement of the gantry, the X-ray source, and/or the patient bed.
Suitable software can be tangibly stored on a computer readable medium of a processing system, including the memory and storage devices. Other examples of computer readable media are compact discs, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash EPROM), DRAM, SRAM, SDRAM, or any other magnetic medium, compact discs (e.g., CD-ROM), or any other medium from which a computer can read. The software may include, but is not limited to, device drivers, operating systems, development tools, applications software, and/or a graphical user interface.
Computer code elements on the above-noted medium may be any interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs), Java classes and complete executable programs. Moreover, parts of the processing of aspects of this disclosure may be distributed for better performance, reliability and/or cost.
The data input portion of the processing system accepts input signals from a detector or an array of detectors by, e.g., respective wired connections. A plurality of ASICs or other data processing components can be provided as forming the Data Input portion, or as providing input(s) to the data input portion. The ASICs can receive signals from, respectively, discrete detector arrays or segments (discrete portions) thereof. When an output signal from a detector is an analog signal, a filter circuit can be provided, together with an analog-to-digital converter for data recording and processing uses. Filtering can also be provided by digital filtering, without a discrete filter circuit for an analog signal. Alternatively, when the detector outputs a digital signal, digital filtering and/or data processing can be performed directly from the output of the detector.
While certain implementations have been described, these implementations have been presented by way of example only, and are not intended to limit the scope of this disclosure. The novel devices, systems and methods described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions, and changes in the form of the devices, systems and methods described herein may be made without departing from the spirit of this disclosure. The accompanying claims and their equivalents are intended to cover.

## Claims

1. An apparatus for calculating an output spectrum of a photon-counting detector based on an incident spectrum, the apparatus comprising:
processing circuitry configured to
determine a plane extending from a top face of the photon-counting detector that includes regions that all possible incident rays will transverse;
divide the determined plane into subregions;
calculate a detector response function for each of the subregions;
determine an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and
calculate the output spectrum based on the overall detector response function and the incident spectrum,

wherein the processing circuitry is further configured to divide the determined plane into subregions in which a first photon is located and subregions in which a second photon is located, each subregion in which the first photon is located being designated by gij and each subregion in which the second photon is located being designated by gkl, wherein i and j are indices of the subregions in which the first photon is located in X and Y dimensions, and i=0 . . . m, j=0 . . . n, k and l are indices of the subregions in which the second photon is located in the X and Y dimensions, and k=0 . . . e, l=0 . . . h, and m, n, e and h are integers.

2. The apparatus of claim 1, further comprising:
a radiation source configured to emit X-rays and to rotate around an object to be scanned;
a plurality of detectors arranged around the object and configured to detect the emitted X-rays; and
circuitry configured to reconstruct an image based on the calculated output spectrum, wherein the detectors include the photon-counting detector.

3. The apparatus of claim 1, wherein the processing circuitry is further configured to determine an angle α and an angle β, wherein the angle α is an angle between the X-axis and a projection direction of an incident ray on a top face, and the angle β is an angle between the projection direction of the incident ray and a normal of the top face.

4. The apparatus of claim 3, wherein the processing circuitry is further configured to calculate a geometric factor G=cos(β), an area aij of each subregion in which the first photon is located, an area akl of each subregion in which the second photon is located, a distance Lij, wherein Lij is a distance that a photon travels inside the detector for the subregion gij, and a distance Lkl, wherein Lkl is a distance that a photon travels inside the subregion gkl.

5. The apparatus of claim 4, wherein the processing circuitry is further configured to determine a detector response function with no pileup based on an attenuation of the detector, an incident flux, a coordinate of an incident photon in a z direction, a dead time, a detection probability without pileup, an incident photon energy, a detected energy of the incident photon, and an area of the top plane extended.

6. The apparatus of claim 5, wherein the processing circuitry is further configured to determine a detector response function with first-order pileup based on a detection probability of first-order pileup, the calculated geometry factor, coordinates of first and second incident photons in the z direction, an energy of the first and second incident photons, a time interval between an arrival of the first and the second incident photons, and an detector attenuation at the incident energy of the first incident photon.

7. The apparatus of claim 6, wherein the processing circuitry is further configured to determine the overall detector response function for s-order pileup of s photons by summing up the calculated detector response functions for each of the subregions produced by any combination of s photons from s subregions, and weighting the summed detector response functions by an area of the top face, wherein s is an integer >1.

8. The apparatus of claim 7, wherein the processing circuitry is further configured to divide the determined plane into a different number of subregions for different order pileup to reduce computation time.

9. The apparatus of claim 1, wherein the processing circuitry is further configured to determine one or two side surfaces that are exposed to the incident rays and projected on the top face of the detector.

10. The apparatus of claim 9, wherein the processing circuitry is further configured to divide a top surface b and side surfaces c and d into a number of subregions in which a first photon is located, gibjb, gicjc, and gidjd, respectively, and into a number of subregions in which a second photon is located, gkblb, gkclc, and gkdld, wherein ib and jb are indices of the subregions in which the first photon is located in X and Y dimensions of the top face b, wherein ib=0 . . . m, jb=0 . . . n, ic and jc are indices of the subregions in which the first photon is located in the X and Y dimensions of the side surface c, wherein ic=0 . . . p, jc=0 . . . q, id and jd are indices of the subregions in which the first photon is located in the X and Y dimensions of the side surface d, wherein id=0 . . . r, jd=0 . . . t, kb and lb are indices of the subregions in which the second photon is located in the X and Y dimensions of the top face b, wherein kb=0 . . . e, lb=0 . . . h, kc and kc are indices of the subregions in which the second photon is located in the X and Y dimensions of the side surface c, wherein kc=0 . . . o, lc=0 . . . u, kd and ld are indices of the subregions in which the second photon is located in the X and Y dimensions of the side surface d, wherein kd=0 . . . v, ld=0 . . . w, and m, n, p, q, t, e, h, o, u, v and w are integers.

11. The apparatus of claim 10, wherein the processing circuitry is further configured to calculate an area of each subregion in which the first photon is located as aibjb, aicjc and aidjd, an area of each subregion in which the second photon is located as akblb, akclc and akdld, the calculated geometric factors for the top surface b, the side surface c, and the side surface d, and Libjb, Licjc, Lidjd, Lkblb, Lkclc, and Lkdld, wherein Libjb is a distance that the first photon travels inside the detector at the face b for each subregion gibjb, Licjc is a distance that the first photon travels inside the detector at the face c for each subregion gicjc, Lidjd is a distance that the second photon travels inside the detector at the face d for each subregion gidjd, Lkblb is a distance that the second photon travels inside the detector at the face b for each subregion gkblb, Lkclc is a distance that the second photon travels inside the detector at the face c for each subregion gkclc, and Lkdld is a distance that the second photon travels inside the detector at the face d for each subregion gkdld.

12. The apparatus of claim 11, wherein the processing circuitry is further configured to determine the geometric factors for the top face b and the side surfaces c and d based on an angle between the X-axis and a projection direction of the incident ray on the top face, and an angle between the projection direction of the incident ray and a normal of the top face.

13. The apparatus of claim 12, wherein the processing circuitry is further configured to calculate projection areas of the side surfaces c and d on the determined plane based on an area of the side surface c, an area of the side surface d, the projection area of the side surface c, and the projection area of the side surface d.

14. The apparatus of claim 13, wherein the processing circuitry is further configured to determine a detector response function with no pileup based on a detection probability without pileup, an attenuation of the detector, a coordinate of an incident photon in a z direction, an incident photon energy, a detected energy of incident photons, a detector response without pileup for the top surface b, a detector response without pileup for the side surface c, and a detector response without pileup for the side surface d.

15. The apparatus of claim 14, wherein the processing circuitry is further configured to determine a response function with first-order pileup based on a detector response when two photons that pile up are both from a top surface b, a detector response when the two photons that pile up are both from the a side surface face c, a detector response when the two photons that pile up are both from a side surface face d, a detector response when the two photons that pile up are from the top surface b and the side surface c, a detector response when the two photons that pile up are from the top face b and the side surface face d, a detector response when the two photons that pile up are from the side surface c and the side surface d, a detection probability of first-order pileup, coordinates of first and second incident photons in the z direction, an energy of the first and second incident photons, a time interval between an arrival of the first and the second incident photons, an detector attenuation at incident energy of the first incident photon.

16. The apparatus of claim 15, wherein the processing circuitry is further configured to determine the response function for s-order pileup of s photons by summing up the calculated detector response functions for each of the subregions produced by any combination of s photons from s subregions and normalizing the summed response by a combination of the area of the top surface and the projection area of the side surfaces, where s is an integer >1.

17. The apparatus of claim 1, further comprising:
a memory that stores the overall detector response function,
wherein the processing circuitry is further configured to read out the overall detector response function from the memory and calculate the output spectrum based on the incident spectrum and the overall detector response function read out from the memory.

18. A method for calculating an output spectrum of a photon-counting detector based on an incident spectrum, the method comprising:
determining a plane extending from a top face of the photon-counting detector that includes subregions that all possible incident rays will transverse;
dividing the determined plane into subregions;
calculating a detector response function for each of the subregions;
determining an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and
calculating the output spectrum based on the overall detector response function and the incident spectrum,
wherein the dividing step further comprises dividing the determined plane into subregions in which a first photon is located and subregions in which a second photon is located, each subregion in which the first photon is located being designated by gij and each subregion in which the second photon is located being designated by gkl, wherein i and j are indices of the subregions in which the first photon is located in X and Y dimensions, and i=0 . . . m, j=0 . . . n, k and l are indices of the subregions in which the second photon is located in the X and Y dimensions, and k=0 . . . e, l=0 . . . h, and m, n, e and h are integers.

19. A non-transitory computer-readable medium storing executable instructions, which when executed by a computer processor, cause the computer processor to execute a method comprising:
determining a plane extending from a top face of the photon-counting detector that includes subregions that all possible incident rays will transverse;
dividing the determined plane into subregions;
calculating a detector response function for each of the subregions;
determining an overall detector response function by summing the calculated detector response function for each of the subregions and normalizing the summation by an area of the determined plane; and
calculating the output spectrum based on the overall detector response function and the incident spectrum,
wherein the dividing step further comprises dividing the determined plane into subregions in which a first photon is located and subregions in which a second photon is located, each subregion in which the first photon is located being designated by gij and each subregion in which the second photon is located being designated by gkl, wherein i and j are indices of the subregions in which the first photon is located in X and Y dimensions, and i=0 . . . m, j=0 . . . n, k and l are indices of the subregions in which the second photon is located in the X and Y dimensions, and k=0 . . . e, l=0 . . . h, and m, n, e and h are integers.