摘要 |
The invention relates to a method of identifying, from a plurality of sets of pixels, a set of pixels the values of which are intended to be used to determine the value of a target pixel. According to the invention: gradients are determined (step E20) for a plurality of pixels; a set of pixels consisting of the target pixel and at least two pixel subsets, a first pixel subset extending along a first direction and a second pixel subset extending along a second direction, is obtained (step E21); and the set of pixels is selected (step E24) as the set of pixels the values of which are intended to be used to determine the value of the pixel if the normal of the direction of the first subset does not intersect the gradient direction of any pixel within the first subset and if the normal of the direction of the second subset does not intersect the gradient direction of any pixel within the second subset.
|