The present invention relates to a
photon counting
detector and method. The
detector (2) comprises a
scintillator (10) configured to convert incident gamma
radiation into optical photons, a pixelated
photodetector (11) configured to detect the flux of optical photons, and circuitry (12). The circuitry is configured to determine, per
photodetector pixel, a
photon count by accumulating the number of optical photons detected by the respective
photodetector pixel during an integration time period, compare, per photodetector pixel or group of photodetector pixels, a single
photon count or multiple photon counts to a counting threshold, detect an event if, per photodetector pixel or group of photodetector pixels, the one or more photon counts exceed the counting threshold, and temporarily adapt the counting threshold for use in the comparison in one or more subsequent integration time periods based on the energy of the detected event.