Towards patient dose optimization in digital radiography