For a horizontal edge , we want to interpolate in vertical direction , using only the column centered on the pixel .
For a vertical edge , we want to interpolate in a horizontal direction , using only the column centered at the pixel .