MEDIAN FILTERS: THEORY AND APPLICATIONS