Unlock the Potential of X-Ray Detectors in the Medical Applications