1. An apparatus for processing an image including a subject pixel, said apparatus comprising: a distance calculator configured to calculate, for each of a plurality of neighbor pixels in a neighborhood of the subject pixel, a distance between the neighbor pixel and the subject pixel; an interval selector configured to select, for each of the calculated distances and from among a plurality of intervals, an interval that includes the calculated distance; a value weight calculator configured to calculate, for each of the plurality of neighbor pixels, a value weight based on the corresponding selected interval; and a pixel value calculator configured to calculate a value for the subject pixel based on values of the neighbor pixels by weighting the value of each of the plurality of neighbor pixels by the corresponding value weight.