类 LookupFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class LookupFilter
    extends PointFilter
    A filter which uses the brightness of each pixel to lookup a color from a colormap.
    • 构造器详细资料

      • LookupFilter

        public LookupFilter()
        Construct a LookupFilter.
      • LookupFilter

        public LookupFilter​(Colormap colormap)
        Construct a LookupFilter.
        参数:
        colormap - the color map
    • 方法详细资料

      • setColormap

        public void setColormap​(Colormap colormap)
        Set the colormap to be used for the filter.
        参数:
        colormap - the colormap
        另请参阅:
        getColormap()
      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        指定者:
        filterRGB 在类中 PointFilter
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object