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