package yi.iu.ft.local;

public abstract class GridGlobalHistogram {



  /**
   * The total bin number of the histogram of the grid image
   * @param single_grid_bin_num
   * @return
   */
  abstract public int getBinNum();

  /**
   * Return the bin index within the grid image
   * @param index
   * @param feature_x
   * @param feature_y
   * @param image_width
   * @param image_height
   * @return
   */
  abstract public int getBinIndex(int index, double feature_x, double feature_y,
    int image_width, int image_height);

}