package yi.iu.img;

/**
 * DifferentialImage stores the differential of pixels in an image.  A h x w
 * image will have a h x (w-1) horizontal differential image:
 * dh[i][j] = distance(p[i][j+1], p[i][j]) and a (h-1) x w vertical
 * differential image: dh[i][j] = distance(p[i+1][j], p[i][j])
 */

public interface DifferentialImage {
  public double getHorizontalDistance(int x, int y);
  public double getVerticalDistance(int x, int y);
}