Class TransferFilter

    • Field Detail

      • rTable

        protected int[] rTable
      • gTable

        protected int[] gTable
      • bTable

        protected int[] bTable
      • initialized

        protected boolean initialized
    • Constructor Detail

      • TransferFilter

        public TransferFilter()
    • Method Detail

      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        Specified by:
        filterRGB in class PointFilter
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
        Specified by:
        filter in interface java.awt.image.BufferedImageOp
        Overrides:
        filter in class PointFilter
      • initialize

        protected void initialize()
      • makeTable

        protected int[] makeTable()
      • transferFunction

        protected float transferFunction​(float v)
      • getLUT

        public int[] getLUT()