1. A method for reducing visual artifacts in reconstructed images, the method comprising: a) determining edge energy for each pixel in the image; b) comparing the edge energy for each pixel to a threshold, producing an edge map; c) using a distance transform to produce a filter map; d) applying a filter to each pixel in the image, wherein the filter applied is dependent upon a filter map value for each pixel; and e) producing an output value for each pixel in the image.