package yi.iu.imgdb.learn;

import java.awt.*;

/**
 * The extracted feature can be demoed.  In most case, an demo image can be
 * generated
 */

public interface ImageDemoCapable {
  /**
   * Return pseudo-color demo
   * @param d the dimension of the returned demo
   * @return null if no demo is avaiable
   */
  public int[] graphicDemo(Dimension d);

  /**
   * Return color demo.  The color is meaningful (e.g. the mean color within
   * a region)
   * @param d
   * @return null if no demo is avaiable
   */
  public int[] colorDemo(Dimension d);
}