How the radiography machine works