The invention relates to a method of processing data, which may be pixels (P[i,j])
representing a sequence of pictures, previously encoded and decoded. The method
comprises at least in series a first step (ED) of detecting edge pixels within
a picture, followed by a subsequent step (TEST) in which a choice is made from
the pixels not detected as edges in the previous step, as to whether these pixels
are to be filtered or not. Then, the method comprises a filtering step (SAF) which
consists in replacing at least a pixel to be filtered with a pixel belonging to
a close neighborhood of said pixel, said close neighborhood comprising said pixel
and pixels adjacent to said pixel.