Adding Min-Max Noise Filtering