aboutsummaryrefslogtreecommitdiffstats
path: root/doc/info
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-17 16:28:23 +0100
committerMattias Andrée <maandree@kth.se>2016-12-17 16:28:23 +0100
commit40e6ef1f99f78e80af9658b7c600f1f669f6bba3 (patch)
treea4e43df653b21b4cd888188b960b5ce810b29861 /doc/info
parentupdate todo (diff)
downloadlibcolour-40e6ef1f99f78e80af9658b7c600f1f669f6bba3.tar.gz
libcolour-40e6ef1f99f78e80af9658b7c600f1f669f6bba3.tar.bz2
libcolour-40e6ef1f99f78e80af9658b7c600f1f669f6bba3.tar.xz
CIELChuv: measure hue in degrees, but add parameter to change this
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--doc/info/chap/colour-spaces.texinfo15
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/info/chap/colour-spaces.texinfo b/doc/info/chap/colour-spaces.texinfo
index a214feb..9455bbc 100644
--- a/doc/info/chap/colour-spaces.texinfo
+++ b/doc/info/chap/colour-spaces.texinfo
@@ -354,7 +354,7 @@ The wide-gamut RGB colour space, also known as
Adobe Wide Gamut RGB.
@end table
-Call @code{libcolour_proper(&c)} on a
+The call @code{libcolour_proper(&c)} on a
@code{struct libcolour_rgb_t c} (done automatically for
predefined colour spaces) sets @code{c.red.model},
@code{c.green.model}, and @code{c.blue.model} to
@@ -521,7 +521,7 @@ The white point.
CIE L*u*v* is not additive, since conversion from
CIE 1931 XYZ is non-linear.
-Call @code{libcolour_proper(&c)} on a
+The call @code{libcolour_proper(&c)} on a
@code{struct libcolour_cieluv_t c} sets
@code{c.white.model} to @code{LIBCOLOUR_CIEXYZ}.
Zero is always returned in this case.
@@ -555,15 +555,20 @@ The C*@sub{uv} value, the chroma.
The h@sub{uv} value, the hue.
@item struct libcolour_ciexyz white
The white point.
+@item double one_revolution
+The value lowest positive values of @code{h} that is equivalent to 0.
+360 if the hue is measured in degrees, 400 if the hue is measured in
+gon, and 2 pi if the hue is measured radian. Any value can be used.
@end table
CIE LCh@sub{uv} is not additive. It is a cylindrical
representation of CIE 1976 (L*, u*, v*).
-Call @code{libcolour_proper(&c)} on a
+The call @code{libcolour_proper(&c)} on a
@code{struct libcolour_cielchuv_t c} sets
-@code{c.white.model} to @code{LIBCOLOUR_CIEXYZ}.
-Zero is always returned in this case.
+@code{c.white.model} to @code{LIBCOLOUR_CIEXYZ},
+and if @code{c.one_revolution} is 0, it is set
+to 360. Zero is always returned in this case.
@node YIQ