A method for determining the information capacity of x-ray imaging scintillator detectors by means of luminescence and modulation transfer function measurements