Figure 3: Classification of the five different locations: the green point is the pixel to be interpolated. Letters , , , and represented by red circles are four pixels around . (a) Four white pixels around; (b) three white pixels around; (c) and (d) two white pixels and two black ones around; (e) one white pixel and three black ones around; (f) four black pixels around.