Exemplo n.º 1
0
        public static double DE00B(double l1s, double a1s, double b1s, double difference, double angle)
        {
            var colDist = new CIEDE2000(l1s, a1s, b1s);
            var r       = colDist.ColorWithDifference(difference, angle);

            return(b1s + r * Math.Sin(angle));
        }
Exemplo n.º 2
0
        public static double DE00DifferencePolar(double l1s, double a1s, double b1s, double radius, double angle)
        {
            var colDist = new CIEDE2000(l1s, a1s, b1s);

            return(colDist.DE00Polar(radius, angle));
        }
Exemplo n.º 3
0
        public static double DE00Difference(double l1s, double a1s, double b1s, double l2s, double a2s, double b2s)
        {
            var colDist = new CIEDE2000(l1s, a1s, b1s);

            return(colDist.DE00(l2s, a2s, b2s));
        }
Exemplo n.º 4
0
        public static double DE00ColorWithDifference(double l1s, double a1s, double b1s, double difference, double angle)
        {
            var colDist = new CIEDE2000(l1s, a1s, b1s);

            return(colDist.ColorWithDifference(difference, angle));
        }