A neural network approach to structured background subtraction for digital radiography