Package ij.process

Class LUT

    • Field Detail

      • min

        public double min
      • max

        public double max
    • Constructor Detail

      • LUT

        public LUT​(byte[] r,
                   byte[] g,
                   byte[] b)
        Constructs a LUT from red, green and blue byte arrays, which must have a length of 256.
      • LUT

        public LUT​(int bits,
                   int size,
                   byte[] r,
                   byte[] g,
                   byte[] b)
        Constructs a LUT from red, green and blue byte arrays, where 'bits' must be 8 and 'size' must be less than or equal to 256.
    • Method Detail

      • getBytes

        public byte[] getBytes()
      • createInvertedLut

        public LUT createInvertedLut()
      • createLutFromColor

        public static LUT createLutFromColor​(Color color)
        Creates a color LUT from a Color.