A photon-counting detector includes a direct conversion material and a
data acquisition system with a first comparator having a first signal
level threshold indicative of a noise level of a spectrum of photons, the
first comparator configured to output a count when the electrical signal
level exceeds the first signal level threshold, and a second comparator
having a second signal level threshold indicative of the maximum energy
of the spectrum of photons, the second comparator configured to output a
count when the electrical signal exceeds the second signal level
threshold where a photon count is determined based on the counts from the
first and second comparators.