1. A method for selecting a filter for filtering an image, comprising the steps of: determining the detail throughout the image by calculating a gradient for each pixel within the image; detecting the image edges; and selecting properties of a filter for filtering the image in accordance with the image detail and edges by (a) determining a quantity of filter taps depending on whether the pixel gradient exceeds different thresholds, and (b) determining the filter strength on the distance between the gradient and associated threshold.