Adaptive box filters for removal of random noise from digital images