Characterization of CdTe diode detector with depletion layer modulation for energy discrimination X-ray imaging. (17th June 2019)