1. A system for single step x-ray imaging, comprising: a clinical x-ray source; a first coded aperture mask disposed between the x-ray source and an object to be imaged; a photon counting spectral detector disposed to detect x-rays passing through the object; and a second coded aperture mask disposed between the object to be imaged and the photon counting spectral detector.