Modeling of the frequency dependent detective quantum efficiency of X-ray imaging detectors