How do x rays interact with matter

How do x rays interact with matter?

X-rays may either pass through matter unaffected, may be absorbed, or may be scattered (the latter of which leads to decreased image quality). Key factors that influence which interactions occur include the incident x-ray photon energy and the physical density, thickness, and atomic number of the material being imaged.