In this letter, we present a new algorithm that can remove impulse noi
se from corrupted images while preserving details. The algorithm is fu
ndamentally different from the traditional methods in that it can util
ize information not just of a local window centered about the corrupte
d pixel, but also of some remote regions in the image, Computer simula
tions indicate that our algorithm outperforms many existing techniques
.