Class ColorMatrix


  • public class ColorMatrix
    extends java.lang.Object
    Author:
    Fabrizio Giudici
    • Field Detail

      • XYZ_TO_RGB

        public static final ColorMatrix XYZ_TO_RGB
    • Constructor Detail

      • ColorMatrix

        public ColorMatrix​(double[] coefficients)
        Parameters:
        coefficients -
    • Method Detail

      • process

        public final void process​(short[] data,
                                  int index)
        FIXME: move to EditableImage
        Parameters:
        data -
        index -
      • normalizeRows

        public final void normalizeRows()
      • inverse

        public final ColorMatrix inverse()
        Returns:
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object