diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-05 18:41:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-05 18:41:13 +0100 |
commit | 1dfe5648fac72cec800cd1d22c82c9695bb1defb (patch) | |
tree | 205e9daa29c9e639446fc299c565e3f0ee7fc4c5 /info/blueshift.texinfo | |
parent | add ciexyz_to_cielab, cielab_to_xiexyz and delta_e + higher precision in cie xyz <-> linear rgb (diff) | |
download | blueshift-1dfe5648fac72cec800cd1d22c82c9695bb1defb.tar.gz blueshift-1dfe5648fac72cec800cd1d22c82c9695bb1defb.tar.bz2 blueshift-1dfe5648fac72cec800cd1d22c82c9695bb1defb.tar.xz |
info: doc ciexyz_to_cielab cielab_to_xiexyz delta_e
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | info/blueshift.texinfo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 9b36be9..70e7fa0 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -630,12 +630,23 @@ Convert [0, 1] sRGB to CIE xyY @item ciexyy_to_srgb(x, y, Y) Convert CIE xyY to [0, 1] sRGB + +@item ciexyz_to_cielab(x, y, z) +Convert CIE XYZ to CIE L*a*b* + +@item cielab_to_xiexyz(l, a, b) +Convert CIE L*a*b* to CIE XYZ @end table All these functions return lists with the three colour components, not tuples. Input and output is one colour instance. +If you want to calculated the distance (difference) +between two colours, you can use @code{delta_e}. It +has two parameters, each is red–green–blue-tuple of +an sRGB colour. + @node Preexisting adjustments @section Preexisting adjustments |