Conversion of CIELab to CIELCh(ab) not yielding correct result
问题 I am having a hard time manually converting CIELab to CIELCh with my calculator. According to http://www.easyrgb.com/en/math.php, the following is a neutral language programming code to get from CIELab to CIELCh by going from radians to degrees: var_H = arc_tangent( CIE-b*, CIE-a* ) //Quadrant by signs if ( var_H > 0 ) var_H = ( var_H / PI ) * 180 else var_H = 360 - ( abs( var_H ) / PI ) * 180 CIE-L* = CIE-L* CIE-C* = sqrt( CIE-a* ^ 2 + CIE-b* ^ 2 ) CIE-H° = var_H And on this website, it