Documentation of 'Catalano.Imaging.Tools.ColorDifference' Java class
ColorDifference
Catalano.Imaging.Tools

Class ColorDifference



  • public class ColorDifference
    extends java.lang.Object
    Calculate color differences. All of them refers to the CIE-L*ab color space.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double CIEDE2000(double[] cieLab1, double[] cieLab2)
      CIE DE 2000.
      static double CIEDE2000(double l1, double a1, double b1, double l2, double a2, double b2)
      CIE DE 2000.
      static double DeltaC(double[] cieLab1, double[] cieLab2)
      Delta-C Calculate "distance" between two colors.
      static double DeltaCMC(double[] cieLab1, double[] cieLab2, double wheightL, double wheightC)
      Delta CMC Calculate "distance" between two colors.
      static double DeltaE(double[] cieLab1, double[] cieLab2)
      Delta E.
      static double DeltaH(double[] cieLab1, double[] cieLab2)
      Delta-H Calculate "distance" between two colors.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • DeltaC

        public static double DeltaC(double[] cieLab1,
                                    double[] cieLab2)
        Delta-C Calculate "distance" between two colors.
        Parameters:
        cieLab1 - CIE-LAB color space.
        cieLab2 - CIE-LAB color space.
        Returns:
        Distance.
      • DeltaH

        public static double DeltaH(double[] cieLab1,
                                    double[] cieLab2)
        Delta-H Calculate "distance" between two colors.
        Parameters:
        cieLab1 - CIE-LAB color space.
        cieLab2 - CIE-LAB color space.
        Returns:
        Distance.
      • DeltaE

        public static double DeltaE(double[] cieLab1,
                                    double[] cieLab2)
        Delta E.
        Parameters:
        cieLab1 - CIE-L*A*B* color space.
        cieLab2 - CIE-L*A*B* color space.
        Returns:
        Distance.
      • CIEDE2000

        public static double CIEDE2000(double[] cieLab1,
                                       double[] cieLab2)
        CIE DE 2000. Calculate "distance" between two colors.
        Parameters:
        cieLab1 - CIE-L*A*B* color space.
        cieLab2 - CIE-L*A*B* color space.
        Returns:
        Distance.
      • CIEDE2000

        public static double CIEDE2000(double l1,
                                       double a1,
                                       double b1,
                                       double l2,
                                       double a2,
                                       double b2)
        CIE DE 2000. Calculate "distance" between two colors.
        Parameters:
        l1 - L* component.
        a1 - A* component.
        b1 - B* component.
        l2 - L* component.
        a2 - A* component.
        b2 - B* component.
        Returns:
        Distance between the two colors.
      • DeltaCMC

        public static double DeltaCMC(double[] cieLab1,
                                      double[] cieLab2,
                                      double wheightL,
                                      double wheightC)
        Delta CMC Calculate "distance" between two colors.
        Parameters:
        cieLab1 - CIE-LAB color space.
        cieLab2 - CIE-LAB color space.
        wheightL - Wheight L.
        wheightC - Wheight C.
        Returns:
        Distance.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.