A new switching median filter for digital radiography