Text this: Design of data-dependent weighted mean filters using counter propagation networks.