Lines Matching refs:Lab1
429 cmsFloat64Number CMSEXPORT cmsDeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) in cmsDeltaE() argument
433 dL = fabs(Lab1 -> L - Lab2 -> L); in cmsDeltaE()
434 da = fabs(Lab1 -> a - Lab2 -> a); in cmsDeltaE()
435 db = fabs(Lab1 -> b - Lab2 -> b); in cmsDeltaE()
442 cmsFloat64Number CMSEXPORT cmsCIE94DeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) in cmsCIE94DeltaE() argument
448 dL = fabs(Lab1 ->L - Lab2 ->L); in cmsCIE94DeltaE()
450 cmsLab2LCh(&LCh1, Lab1); in cmsCIE94DeltaE()
454 dE = cmsDeltaE(Lab1, Lab2); in cmsCIE94DeltaE()
488 cmsFloat64Number CMSEXPORT cmsBFDdeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) in cmsBFDdeltaE() argument
495 lbfd1 = ComputeLBFD(Lab1); in cmsBFDdeltaE()
499 cmsLab2LCh(&LCh1, Lab1); in cmsBFDdeltaE()
506 dE = cmsDeltaE(Lab1, Lab2); in cmsBFDdeltaE()
508 if (Sqr(dE)>(Sqr(Lab2->L-Lab1->L)+Sqr(deltaC))) in cmsBFDdeltaE()
509 deltah = sqrt(Sqr(dE)-Sqr(Lab2->L-Lab1->L)-Sqr(deltaC)); in cmsBFDdeltaE()
539 cmsFloat64Number CMSEXPORT cmsCMCdeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2, cmsFloat64Num… in cmsCMCdeltaE() argument
544 if (Lab1 ->L == 0 && Lab2 ->L == 0) return 0; in cmsCMCdeltaE()
546 cmsLab2LCh(&LCh1, Lab1); in cmsCMCdeltaE()
550 dL = Lab2->L-Lab1->L; in cmsCMCdeltaE()
553 dE = cmsDeltaE(Lab1, Lab2); in cmsCMCdeltaE()
566 sl = 0.040975 * Lab1->L /(1 + 0.01765 * Lab1->L); in cmsCMCdeltaE()
568 if (Lab1->L<16) in cmsCMCdeltaE()
580 cmsFloat64Number CMSEXPORT cmsCIE2000DeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2, in cmsCIE2000DeltaE() argument
583 cmsFloat64Number L1 = Lab1->L; in cmsCIE2000DeltaE()
584 cmsFloat64Number a1 = Lab1->a; in cmsCIE2000DeltaE()
585 cmsFloat64Number b1 = Lab1->b; in cmsCIE2000DeltaE()