Computerized calculation of radiation dose to patients from radiography