We propose a novel deringing scheme based on the concept of a trilateral filter—an extension of the bilateral filter that consists of domain, range, and texture activity filters. The domain and range filters are used to measure image geometrical similarity and photometric similarity, respectively, while the texture activity filter helps to preserve image details during postprocessing. An image texture map is first computed with a dual-edge detection process. This texture map is then utilized to adjust the trilateral filter for effectively protecting the image detail from oversmoothing. Experimental results are provided to justify the algorithm.