1. A method for processing an image, comprising calculating a first filtering coefficient for a first pixel in the image based on structural information of the image wherein the first filtering coefficient has a continuous value and the structural information comprises edges; determining a property value of a second pixel in the image using said first filtering coefficient and a corresponding property value of said first pixel; and replacing an existing property value of the second pixel with the determined property value.