The dufy Reference Manual
Table of Contents
The dufy Reference Manual
This is the dufy Reference Manual, version 0.2.1,
generated automatically by Declt version 2.4 "Will Decker"
on Wed Jun 20 11:42:59 2018 GMT+0.
1 Introduction
Dufy - Color Library for Common Lisp

Dufy is a library for exact color manipulation and conversion in various color spaces, which supports the following color models:
- Munsell color system
- RGB
- XYZ
- xyY
- HSV
- HSL
- CIELAB and LChab
- CIELUV and LChuv
- LMS
- Spectrum (as spectral power distribution function)
Dufy can deal with the following concepts:
- Standard illuminant: C, D65, etc. A new illuminant can be defined by white point or SPD.
- RGB space: sRGB, Adobe RGB, scRGB, etc. A new RGB space can be defined by primary coordinates, illuminant, method of gamma correction, bit per channel and other encoding characteristics.
- Observer (Color Matching Functions): CIE 1931 2° Standard Observer, CIE 1964 10°. Other observer model can be defined by color matching data.
- Color difference: Delta-E*ab, CIE94, CIEDE2000.
- Chromatic adaptaion transform: Bradford, Von Kries, etc. User-defined CAT is also available.
Documentation
Besides this README file, most of the documentation is written as docstrings in the source code. Some other information is in github wiki.
Dependencies
All of the dependent libraries can be installed with quicklisp.
Install
The easiest way to install dufy is to use quicklisp:
* (ql:quickload :dufy)
The latest version can also be installed with quicklisp:
$ cd ~/quicklisp/local-projects # the path is held in ql:*local-project-directories*
$ git clone git@github.com:privet-kitty/dufy.git
$ sbcl # , ccl, etc.
* (ql:register-local-projects)
* (ql:quickload :dufy)
If you want to use ASDF directly without quicklisp, you should put the directory of dufy to an appropriate location and do (asdf:load-system :dufy)
.
Usage
Basics

converter_tree
graph G {
graph [
labelloc = "t",
label = "Tree of Primary Converters",
fontsize = 16
];
node [shape = "box", fontname = "helvetica"]
xyz [ label = "XYZ" ]
xyy [ label = "XYY\n(xyY)" ]
lrgb [ label = "LRGB\n(linear RGB)" ]
rgb [ label = "RGB\n(gamma-corrected RGB)" ]
qrgb [ label = "QRGB\n(quantized RGB)" ]
int [ label = "INT" ]
lab [ label = "LAB" ]
lchab [ label = "LCHAB" ]
luv [ label = "LUV" ]
lchuv [ label = "LCHUV" ]
mhvc [ label = "MHVC\n(Munsell 3-number spec.)" ]
munsell [ label = "MUNSELL\n(Munsell string spec.)" ]
hsv [ label = "HSV" ]
hsl [ label = "HSL" ]
spectrum [ label = "SPECTRUM" ]
lms [ label = "LMS" ]
xyz -- xyy
xyz -- lms
xyz -- spectrum
xyz -- lrgb
lrgb -- rgb
rgb -- qrgb
qrgb -- int
xyz -- lab
lab -- lchab
xyz -- luv
luv -- lchuv
rgb -- hsv
rgb -- hsl
lchab -- mhvc [ label = "(illuminant C)" ]
mhvc -- munsell
}
converter_tree
The fundamental color space of dufy is CIE XYZ (Illuminant D65): There are xyz-to-
and -to-xyz
converters for all other color spaces. Every converter function just receives numbers and returns multiple numbers:
* (dufy:lab-to-xyz 87.07 -78.15 -20.51) ; L*=87.07, a*=-78.15, b*=-20.51
=> 0.3731384408806708d0 ; X
0.701492216468595d0 ; Y
1.060034922742541d0 ; Z
* (multiple-value-call #'dufy:xyz-to-qrgb
(dufy:lab-to-xyz 87.07 -78.15 -20.51)
:clamp nil)
=> -169 ; R
255 ; G
255 ; B
* (multiple-value-call #'dufy:xyz-to-qrgb
(dufy:lab-to-xyz 87.07 -78.15 -20.51)
:clamp t)
=> 0 ; R
255 ; G
255 ; B
In the second example, a conversion from CIELAB to quantized RGB, xyz-to-qrgb
returns a negative R value, which means the color is out of gamut; it is clamped in the third example.
Out of which gamut, however? By default, xyz-to-qrgb
(and all other RGB converters) regard it as sRGB (D65). You can specify the RGB space explicitly:
* (dufy:xyz-to-qrgb 0.37314 0.70144 1.0601 :rgbspace dufy:+srgb+) ; sRGB
=> -169
255
255
* (dufy:xyz-to-qrgb 0.37314 0.70144 1.0601 :rgbspace dufy:+adobe+) ; Adobe RGB
=> 2
255
255
* (dufy:xyz-to-qrgb 0.37314 0.70144 1.0601 :rgbspace dufy:+bg-srgb-10+) ; bg-sRGB (10 bit)
=> 47
893
893
;; In the Adobe RGB space and bg-sRGB space the color is within gamut.
Likewise most converters regard the implicit illuminant as D65. You can also specify it explicitly:
* (dufy:luv-to-xyz 100 0 0) ; Illuminant D65
* (dufy:luv-to-xyz 100 0 0 dufy:+illum-d65+) ; Illuminant D65
=> 0.9504285453771808d0
1.0d0
1.0889003707981282d0
;; the white point of standard illuminant D65
* (dufy:luv-to-xyz 100 0 0 dufy:+illum-e+) ; Illuminant E
=> 0.9999999999999999d0
1.0d0
1.0000000000000004d0
Munsell Color System
Dufy can handle the Munsell color system in the same way as other color spaces:
* (dufy:munsell-to-xyz "3.2R 4.5/6.1")
=> 0.19362651748394688d0
0.15142718526032797d0
0.12281280741243561d0
* (dufy:munsell-to-xyz "3.2R 4.5/86.1")
=> 1.7829826744317545d0
0.13203741531162577d0
-0.02903836122088697d0
The converters are based on Munsell renotation data. In the second example munsell-to-xyz
extrapolate the colors far out of the data (and the MacAdam limits, of course), which is meaningless in many cases but will be necessary to process the boundary colors.
* (dufy:munsell-to-mhvc "3.2R 4.5/6.1")
=> 1.28d0
4.5d0
6.1d0
* (dufy:mhvc-to-xyz 1.28 4.5 6.1)
=> 0.19362651748394688d0
0.15142718526032797d0
0.12281280741243561d0
munsell
is the standard string notation of Munsell color. mhvc
is its three-number expression, which will be easier to deal with in some cases. A hue number of mhvc
corresponds to a hue string of munsell
as follows:
| Hue in mhvc
| Hue in munsell
|
| -------------------- | --------------------- |
| 0 to 4 | 10RP (=0R) to 10R (=0YR) |
| 4 to 8 | 10R (=0YR) to 10YR (=0Y) |
| ... | ... |
| 36 to 40 | 10P (=0RP) to 10RP (=0R) |
The hue of of mhvc
is a circle group: i.e. hues outside the interval [0, 40] are acceptable:
* (dufy:mhvc-to-munsell -400.0 4.5 6.1) ; the same as (0.0 4.5 6.1)
=> "0.00R 4.50/6.10"
There are some more points to remember: First, since the Munsell renotation data is measured not with illuminant D65, but with C, the converters like mhvc-to-xyz
do the (Bradford) transformation from C to D65. If you want to use a direct converter with illuminant C, for e.g. accuracy or efficiency, the converters with suffix -illum-c
are available under illuminant C: munsell-to-lchab-illum-c
, lchab-to-munsell-illum-c
, mhvc-to-lchab-illum-c
, lchab-to-mhvc-illum-c
, munsell-to-xyz-illum-c
, mhvc-to-xyz-illum-c
.
Second, if you want to know the gamut of the Munsell renotation data, you can find the maximum chroma for a given hue and value by max-chroma-in-mrd
:
* (dufy:max-chroma-in-mrd 1.28 4.5) ; V = 1.28, C = 4.5
=> 24
* (dufy:mhvc-to-xyz 1.28 4.5 6.1)
=> 0.19362651667300654d0
0.1514271852669221d0
0.12281280847832986d0 ; interpolated, since 6.1 < 24
* (dufy:mhvc-to-xyz 1.28 4.5 24.1)
=> 0.378725146277375d0
0.14933867420177885d0
0.05430213863814263d0 ; extrapolated, since 24.1 > 24
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 dufy
- Author
Hugo I.
- License
MIT
- Description
Color library for Common Lisp
- Version
0.2.1
- Dependencies
-
- Source
dufy.asd (file)
- Components
-
3 Modules
Modules are listed depth-first from the system components tree.
3.1 dufy/dat
- Parent
dufy (system)
- Location
dat/
3.2 dufy/src
- Dependency
dat (module)
- Parent
dufy (system)
- Location
src/
- Components
-
4 Files
Files are sorted by type and then listed depth-first from the systems
components trees.
4.1 Lisp
4.1.1 dufy.asd
- Location
dufy.asd
- Systems
dufy (system)
4.1.2 dufy/src/package.lisp
- Parent
src (module)
- Location
src/package.lisp
- Packages
-
- Exported Definitions
gen-deltae-symbols (function)
4.1.3 dufy/src/fundamental-data.lisp
- Parent
src (module)
- Location
src/fundamental-data.lisp
- Internal Definitions
-
4.1.4 dufy/src/general.lisp
- Parent
src (module)
- Location
src/general.lisp
- Exported Definitions
-
- Internal Definitions
-
4.1.5 dufy/src/xyz.lisp
- Parent
src (module)
- Location
src/xyz.lisp
- Exported Definitions
-
- Internal Definitions
-
4.1.6 dufy/src/rgb.lisp
- Parent
src (module)
- Location
src/rgb.lisp
- Exported Definitions
-
- Internal Definitions
-
4.1.7 dufy/src/lab-and-luv.lisp
- Parent
src (module)
- Location
src/lab-and-luv.lisp
- Exported Definitions
-
- Internal Definitions
-
4.1.8 dufy/src/cat.lisp
- Parent
src (module)
- Location
src/cat.lisp
- Exported Definitions
-
- Internal Definitions
-
4.1.9 dufy/src/deltae.lisp
- Parent
src (module)
- Location
src/deltae.lisp
- Exported Definitions
-
- Internal Definitions
-
4.1.10 dufy/src/munsell-renotation-data.lisp
- Parent
src (module)
- Location
src/munsell-renotation-data.lisp
- Internal Definitions
-
4.1.11 dufy/src/munsell.lisp
- Parent
src (module)
- Location
src/munsell.lisp
- Exported Definitions
-
- Internal Definitions
-
5 Packages
Packages are listed by definition order.
5.1 dufy
- Source
package.lisp (file)
- Use List
- alexandria.0.dev
- common-lisp
- Exported Definitions
-
- Internal Definitions
-
5.2 dufy.package.definition
- Source
package.lisp (file)
- Use List
- alexandria.0.dev
- common-lisp
- Exported Definitions
gen-deltae-symbols (function)
6 Definitions
Definitions are sorted by export status, category, package, and then by
lexicographic order.
6.1 Exported definitions
6.1.1 Special variables
- Special Variable: *maximum-chroma*
-
The largest chroma which the Munsell converters accepts. It is in
some cases less than MOST-POSITIVE-DOUBLE-FLOAT because of
efficiency: e.g. in SBCL (64-bit) it is desirable that a float F
fulfills (typep (round F) ’(SIGNED-BYTE 64))
- Package
dufy
- Source
munsell.lisp (file)
- Special Variable: +adobe+
-
Adobe RGB (1998), 8-bit per channel
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +adobe-16+
-
Adobe RGB (1998), 16-bit per channel.
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +bg-srgb-10+
-
bg-sRGB, 10-bit per channel
http://www.color.org/chardata/rgb/bgsrgb.xalter
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +bg-srgb-12+
-
bg-sRGB, 12-bit per channel,
http://www.color.org/chardata/rgb/bgsrgb.xalter
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +bg-srgb-16+
-
bg-sRGB, 16-bit per channel,
http://www.color.org/chardata/rgb/bgsrgb.xalter
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +bradford+
-
- Package
dufy
- Source
cat.lisp (file)
- Special Variable: +cat02+
-
- Package
dufy
- Source
cat.lisp (file)
- Special Variable: +cat97s-revised+
-
Fairchild, Mark D. (2001)."A Revision of CIECAM97s for Practical Applications"
http://rit-mcsl.org/fairchild//PDFs/PAP10.pdf
- Package
dufy
- Source
cat.lisp (file)
- Special Variable: +cmccat2000+
-
- Package
dufy
- Source
cat.lisp (file)
- Special Variable: +cmccat97+
-
- Package
dufy
- Source
cat.lisp (file)
- Special Variable: +illum-a+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +illum-c+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +illum-d50+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +illum-d65+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +illum-e+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +ntsc1953+
-
NTSC RGB, Rec. ITU-R BT.470-6, System M, 8-bit per channel.
http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.470-6-199811-S!!PDF-E.pdf
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +obs-cie1931+
-
CIE 1931 Standard Colorimetric Observer (2-degree).
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +obs-cie1964+
-
CIE 1964 Standard Colorimetric Observer (10-degree).
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +pal/secam+
-
PAL/SECAM RGB, Rec. ITU-R BT.470-6, 8-bit per channel.
http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.470-6-199811-S!!PDF-E.pdf
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +prophoto+
-
Prophoto RGB (also known as ROMM RGB), 8-bit per channel,
http://www.color.org/ROMMRGB.pdf
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +prophoto-12+
-
Prophoto RGB (also known as ROMM RGB), 12-bit per channel,
http://www.color.org/ROMMRGB.pdf
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +prophoto-16+
-
Prophoto RGB (also known as ROMM RGB), 16-bit per channel,
http://www.color.org/ROMMRGB.pdf
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +scrgb-16+
-
scRGB(16), IEC 61966-2-2:2003
http://www.color.org/chardata/rgb/scrgb.xalter
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +scrgb-nl+
-
scRGB-nl, IEC 61966-2-2:2003
http://www.color.org/chardata/rgb/scrgb-nl.xalter
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +srgb+
-
sRGB, 8-bit per channel
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +von-kries+
-
- Package
dufy
- Source
cat.lisp (file)
- Special Variable: +wide-gamut+
-
Wide-gamut RGB, 8-bit per channel.
- Package
dufy
- Source
rgb.lisp (file)
- Special Variable: +xyz-scaling+
-
- Package
dufy
- Source
cat.lisp (file)
6.1.2 Macros
- Macro: def-cat-function NAME FROM-ILLUMINANT TO-ILLUMINANT &key CAT TARGET
-
DEF-macro of GEN-CAT-FUNCTION.
> (def-cat-function d65-to-e +illum-d65+ +illum-e+ :target :xyz)
> (d65-to-e 0.9504d0 1.0d0 1.0889d0)
=> 0.9999700272441295d0
0.999998887365445d0
0.9999997282885571d0
TARGET can be :XYZ, :XYY, :LAB, :LUV, :LCHAB or :LCHUV.
- Package
dufy
- Source
cat.lisp (file)
6.1.3 Functions
- Function: approximate-spectrum SPECTRUM &optional BEGIN-WL END-WL BAND
-
Generates an approximate spectrum of SPECTRUM by pieacewise
linearization. It is used to lighten a "heavy" spectrum function.
- Package
dufy
- Source
xyz.lisp (file)
- Function: bb-spectrum WAVELENGTH-NM &optional TEMPERATURE
-
Spectrum function of a blackbody, which is not normalized.
- Package
dufy
- Source
xyz.lisp (file)
- Function: cat-inv-matrix INSTANCE
-
- Function: (setf cat-inv-matrix) VALUE INSTANCE
-
- Package
dufy
- Source
cat.lisp (file)
- Function: cat-matrix INSTANCE
-
- Function: (setf cat-matrix) VALUE INSTANCE
-
- Package
dufy
- Source
cat.lisp (file)
- Function: circular-clamp NUMBER MIN MAX &optional PERIMETER
-
A clamp function in a circle group. If NUMBER is not in
the (counterclockwise) closed interval [MIN, MAX], CIRCULAR-CLAMP
returns MIN or MAX, whichever is nearer to NUMBER.
- Package
dufy
- Source
general.lisp (file)
- Function: circular-lerp COEF THETA1 THETA2 &optional PERIMETER
-
Counterclockwise linear interpolation from THETA1 to THETA2 in a
circle group. It doesn’t exceed the given interval from THETA1 to
THETA2, if COEF is in [0, 1]. It is, however, slower than
CIRCULAR-LERP-LOOSE.
- Package
dufy
- Source
general.lisp (file)
- Function: circular-member X THETA1 THETA2 &optional PERIMETER
-
Returns true, if X is in the counterclockwise closed interval [THETA1,
THETA2] in a circle group.
- Package
dufy
- Source
general.lisp (file)
- Function: circular-nearer THETA1 X THETA2 &optional PERIMETER
-
Compares counterclockwise distances between THETA1 and X and
between X and THETA2; returns THETA1 or THETA2, whichever is nearer.
- Package
dufy
- Source
general.lisp (file)
- Function: copy-rgbspace RGBSPACE &key ILLUMINANT BIT-PER-CHANNEL
-
Returns a new RGBSPACE with different standard illuminant and/or
bit-per-channel. All the parameters are properly recalculated. If both
are nil, it is just a copier.
- Package
dufy
- Source
rgb.lisp (file)
- Function: delinearize X &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: deltae L1 A1 B1 L2 A2 B2
-
CIE 1976. Euclidean distance in L*a*b* space.
- Package
dufy
- Source
deltae.lisp (file)
- Function: deltae00 L1 A1 B1 L2 A2 B2
-
CIEDE2000.
- Package
dufy
- Source
deltae.lisp (file)
- Function: deltae94 L1 A1 B1 L2 A2 B2 &key APPLICATION
-
CIE 1994. APPLICATION must be :graphic-arts or :textiles
- Package
dufy
- Source
deltae.lisp (file)
- Function: flat-spectrum WAVELENGTH-NM
-
(constantly 1d0)
- Package
dufy
- Source
xyz.lisp (file)
- Function: gen-cat-function FROM-ILLUMINANT TO-ILLUMINANT &key CAT TARGET
-
Returns a chromatic adaptation function. An example for xyY spaces:
> (funcall (gen-cat-function +illum-a+ +illum-e+ :target :xyy) 0.44757 0.40745 1)
=> 0.3333333257806802d0
0.33333331733957294d0
1.0000000029690765d0 ; transforms white point
TARGET can be :XYZ, :XYY, :LAB, :LUV, :LCHAB or :LCHUV. If you want to
choose RGB as target, you should use GEN-RGBSPACE-CHANGER instead.
- Package
dufy
- Source
cat.lisp (file)
- Function: gen-delinearizer GAMMA
-
Returns a gamma-correction function for a given gamma value.
- Package
dufy
- Source
rgb.lisp (file)
- Function: gen-deltae-symbols NAME
-
Generates the function names of delta-E converters automatically.
- Package
dufy.package.definition
- Source
package.lisp (file)
- Function: gen-illum-d-spectrum TEMPERATURE
-
Generates the spectrum of the illuminant series D for a given
temperature.
- Package
dufy
- Source
xyz.lisp (file)
- Function: gen-linearizer GAMMA
-
Returns a linearization function for a given gamma value.
- Package
dufy
- Source
rgb.lisp (file)
- Function: gen-rgbspace-changer FROM-RGBSPACE TO-RGBSPACE &optional TARGET CAT
-
Returns a function for changing RGB working space.
> (funcall (gen-rgbspace-changer +srgb+ +adobe+ :rgb) 0 1 0)
=> 0.28488056007809415d0
1.0000000000000002d0
0.041169364382683385d0 ; change from sRGB to Adobe RGB.
TARGET can be :LRGB, :RGB, :QRGB or :INT.
Note about clamping:
LRGB case: no clamping;
RGB case: no clamping;
QRGB case: with clamping;
INT case: with clamping.
- Package
dufy
- Source
cat.lisp (file)
- Function: gen-spectrum SPECTRUM-SEQ &optional BEGIN-WL END-WL
-
A spectrum is just a function which takes a real number as
wavelength (nm) and returns a double-float.
GEN-SPECTRUM returns a spectral power distribution
function, #’(lambda (wavelength-nm) ...), which interpolates
SPECTRUM-SEQ linearly.
Note: SPECTRUM-SEQ must be a sequence of double-float.
If the type of SPECTRUM-SEQ is (simple-array double-float (*)), it is
not copied but referenced, otherwise it is copied by (coerce
spectrum-seq ’(simple-array double-float (*))).
- Package
dufy
- Source
xyz.lisp (file)
- Function: hsl-to-qrgb HUE SAT LUM &key RGBSPACE CLAMP
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: hsl-to-rgb HUE SAT LUM
-
HUE is in the circle group R/360. The nominal range of SAT and LUM is [0,
1]; all the real values outside the interval are also acceptable.
- Package
dufy
- Source
rgb.lisp (file)
- Function: hsl-to-xyz HUE SAT LUM &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: hsv-to-qrgb HUE SAT VAL &key RGBSPACE CLAMP
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: hsv-to-rgb HUE SAT VAL
-
HUE is in the circle group R/360. The nominal range of SAT and VAL is [0,
1]; all the real values outside the interval are also acceptable.
- Package
dufy
- Source
rgb.lisp (file)
- Function: hsv-to-xyz HUE SAT VAL &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: illuminant-observer INSTANCE
-
- Function: (setf illuminant-observer) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-small-x INSTANCE
-
- Function: (setf illuminant-small-x) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-small-y INSTANCE
-
- Function: (setf illuminant-small-y) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-spectrum INSTANCE
-
- Function: (setf illuminant-spectrum) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-x INSTANCE
-
- Function: (setf illuminant-x) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-y INSTANCE
-
- Function: (setf illuminant-y) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-z INSTANCE
-
- Function: (setf illuminant-z) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: int-to-lrgb INT &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: int-to-qrgb INT &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: int-to-rgb INT &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: int-to-xyz INT &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: lab-to-lchab LSTAR ASTAR BSTAR
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: lab-to-xyz LSTAR ASTAR BSTAR &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: lchab-to-lab LSTAR CSTARAB HAB
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: lchab-to-mhvc-illum-c LSTAR CSTARAB HAB &key MAX-ITERATION IF-REACH-MAX FACTOR THRESHOLD
-
An inverter of MHVC-TO-LCHAB-ILLUM-C with a simple iteration
algorithm like the one in "An Open-Source Inversion Algorithm for the
Munsell Renotation" by Paul Centore, 2011:
V := LSTAR-TO-MUNSELL-VALUE(L*);
C_0 := C*ab / 5.5;
H_0 := Hab / 9;
C_(n+1) := C_n + factor * delta(C_n);
H_(n+1) := H_n + factor * delta(H_n),
where delta(H_n) and delta(C_n) is internally calculated at every
step. It returns Munsell HVC values if C_0 <= THRESHOLD or
max(delta(H_n), delta(C_n)) falls below THRESHOLD.
IF-REACH-MAX specifies the action to be taken if the loop reaches the
MAX-ITERATION:
:error: Error of type DUFY:LARGE-APPROXIMATION-ERROR is signaled.
:negative: Three MOST-NEGATIVE-DOUBLE-FLOATs are returned.
:return: Just returns HVC as it is.
- Package
dufy
- Source
munsell.lisp (file)
- Function: lchab-to-munsell-illum-c LSTAR CSTARAB HAB &key MAX-ITERATION IF-REACH-MAX FACTOR THRESHOLD DIGITS
-
Illuminant C.
- Package
dufy
- Source
munsell.lisp (file)
- Function: lchab-to-xyz LSTAR CSTARAB HAB &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: lchuv-to-luv LSTAR CSTARUV HUV
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: lchuv-to-xyz LSTAR CSTARUV HUV &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: linearize X &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: lms-to-xyz L M S &key ILLUMINANT CAT
-
Note: The default illuminant is **not** D65; if ILLUMINANT is NIL,
the transform is virtually equivalent to that of illuminant E.
- Package
dufy
- Source
cat.lisp (file)
- Function: lrgb-out-of-gamut-p LR LG LB &key RGBSPACE THRESHOLD
-
Returns true, if at least one of LR, LG and LB is outside the
interval [RGBSPACE-LMIN - THRESHOLD, RGBSPACE-LMAX + THRESHOLD]
- Package
dufy
- Source
rgb.lisp (file)
- Function: lrgb-to-int LR LG LB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: lrgb-to-qrgb LR LG LB &key RGBSPACE CLAMP
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: lrgb-to-rgb LR LG LB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: lrgb-to-xyz LR LG LB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: lstar-to-y LSTAR
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: luv-to-lchuv LSTAR USTAR VSTAR
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: luv-to-xyz LSTAR USTAR VSTAR &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: make-cat MAT
-
Generates a (linear) CAT model by a 3*3 matrix.
- Package
dufy
- Source
cat.lisp (file)
- Function: make-illuminant SMALL-X SMALL-Y &optional SPECTRUM OBSERVER
-
Generates an illuminant based on a white point. No error occurs,
even if the given white point, (small-x, small-y), and SPD contradicts
to each other.
- Package
dufy
- Source
xyz.lisp (file)
- Function: make-illuminant-by-spd SPECTRUM &optional OBSERVER
-
Generates an illuminant based on a spectral power distribution. The
white point is automatically calculated.
- Package
dufy
- Source
xyz.lisp (file)
- Function: make-observer CMF-ARR &optional BEGIN-WL END-WL
-
Generates an observer based on CMF arrays, which must
be (SIMPLE-ARRAY DOUBLE-FLOAT (* 3)).
- Package
dufy
- Source
xyz.lisp (file)
- Function: make-rgbspace XR YR XG YG XB YB &key ILLUMINANT LMIN LMAX LINEARIZER DELINEARIZER BIT-PER-CHANNEL FORCE-NORMAL
-
LINEARIZER and DELINEARIZER must be (FUNCTION * DOUBLE-FLOAT).
If FORCE-NORMAL is T, the nominal range of gamma-corrected value is
forcibly set to [0, 1].
- Package
dufy
- Source
rgb.lisp (file)
- Function: max-chroma-in-mrd HUE40 VALUE &key USE-DARK
-
Returns the largest chroma in the Munsell renotation data for a
given hue and value.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-out-of-mrd-p HUE40 VALUE CHROMA
-
Checks if MHVC is out of the Munsell renotation data.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-lchab-illum-c HUE40 VALUE CHROMA
-
Illuminant C.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-lrgb HUE40 VALUE CHROMA &optional RGBSPACE
-
The standard illuminant is D65: that of RGBSPACE must also be D65.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-munsell HUE40 VALUE CHROMA &optional DIGITS
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-qrgb HUE40 VALUE CHROMA &key RGBSPACE CLAMP
-
The standard illuminant is D65: that of RGBSPACE must also be D65.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-xyy HUE40 VALUE CHROMA
-
Illuminant D65.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-xyz HUE40 VALUE CHROMA
-
Illuminant D65. It causes an error by Bradford transformation,
since the Munsell Renotation Data is measured under the Illuminant C.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-xyz-illum-c HUE40 VALUE CHROMA
-
Illuminant C. (Munsell Renotation Data is measured under the
Illuminant C.)
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-out-of-mrd-p MUNSELLSPEC
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-to-lchab-illum-c MUNSELLSPEC
-
Illuminant C.
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-to-mhvc MUNSELLSPEC
-
Usage Example:
CL-USER> (dufy:munsell-to-mhvc "0.02RP 0.9/3.5")
=> (36.00799999982119d0 0.8999999761581421d0 3.5d0)
Many other notations of numbers are acceptable; an ugly specification
as follows are also available:
CL-USER> (dufy:munsell-to-mhvc "2d-2RP .9/ #x0ffffff")
=> (36.008d0 0.8999999761581421d0 1.6777215d7)
but the capital letters and ’/’ are reserved:
CL-USER> (dufy:munsell-to-mhvc "2D-2RP 9/10 / #x0FFFFFF")
=> ERROR,
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-to-qrgb MUNSELLSPEC &key RGBSPACE CLAMP
-
Illuminant D65; the standard illuminant of RGBSPACE must also be D65.
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-to-xyy MUNSELLSPEC
-
Illuminant D65.
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-to-xyz MUNSELLSPEC
-
Illuminant D65.
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-to-xyz-illum-c MUNSELLSPEC
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-value-to-y V
-
Converts Munsell value to Y, whose nominal range is [0, 1]. The
formula is based on ASTM D1535-08e1:
- Package
dufy
- Source
munsell.lisp (file)
- Function: nearly-equal THRESHOLD LST1 LST2
-
- Package
dufy
- Source
general.lisp (file)
- Function: nearly<= THRESHOLD NUMBER &rest MORE-NUMBERS
-
- Package
dufy
- Source
general.lisp (file)
- Function: nearly= THRESHOLD NUMBER &rest MORE-NUMBERS
-
- Package
dufy
- Source
general.lisp (file)
- Function: observer-begin-wl INSTANCE
-
- Function: (setf observer-begin-wl) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: observer-cmf INSTANCE
-
- Function: (setf observer-cmf) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: observer-cmf-arr INSTANCE
-
- Function: (setf observer-cmf-arr) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: observer-cmf-x INSTANCE
-
- Function: (setf observer-cmf-x) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: observer-cmf-y INSTANCE
-
- Function: (setf observer-cmf-y) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: observer-cmf-z INSTANCE
-
- Function: (setf observer-cmf-z) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: observer-end-wl INSTANCE
-
- Function: (setf observer-end-wl) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: optimal-spectrum WAVELENGTH-NM &optional WL1 WL2
-
Spectrum function of optimal colors:
In the case wl1 <= wl2:
f(x) = 1d0 if wl1 <= x <= wl2,
f(x) = 0d0 otherwise.
In the case wl1 > wl2:
f(x) = 1d0 if x <=wl2 or wl1 <= x,
f(x) = 0d0 otherwise.
- Package
dufy
- Source
xyz.lisp (file)
- Function: qrgb-deltae QR1 QG1 QB1 QR2 QG2 QB2 &key RGBSPACE
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: qrgb-deltae00 QR1 QG1 QB1 QR2 QG2 QB2 &key RGBSPACE
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: qrgb-deltae94 QR1 QG1 QB1 QR2 QG2 QB2 &key APPLICATION RGBSPACE
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: qrgb-out-of-gamut-p QR QG QB &key RGBSPACE THRESHOLD
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: qrgb-to-hsl QR QG QB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: qrgb-to-hsv QR QG QB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: qrgb-to-int QR QG QB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: qrgb-to-lrgb QR QG QB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: qrgb-to-rgb QR QG QB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: qrgb-to-xyz QR QG QB &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-out-of-gamut-p R G B &key RGBSPACE THRESHOLD
-
Returns true, if at least one of R, G and B is outside the interval
[RGBSPACE-MIN - THRESHOLD, RGBSPACE-MAX + THRESHOLD]
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-to-hsl R G B
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-to-hsv R G B
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-to-int R G B &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-to-lrgb R G B &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-to-qrgb R G B &key RGBSPACE CLAMP
-
Quantizes RGB values from [RGBSPACE-MIN, RGBSPACE-MAX] ([0, 1], typically) to {0, 1,
..., RGBSPACE-QMAX} ({0, 1, ..., 255}, typically), though it accepts
all the real values.
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgb-to-xyz R G B &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-bit-per-channel INSTANCE
-
- Function: (setf rgbspace-bit-per-channel) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-from-xyz-matrix INSTANCE
-
- Function: (setf rgbspace-from-xyz-matrix) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-illuminant INSTANCE
-
- Function: (setf rgbspace-illuminant) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-lmax INSTANCE
-
- Function: (setf rgbspace-lmax) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-lmin INSTANCE
-
- Function: (setf rgbspace-lmin) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-max INSTANCE
-
- Function: (setf rgbspace-max) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-min INSTANCE
-
- Function: (setf rgbspace-min) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-normal INSTANCE
-
- Function: (setf rgbspace-normal) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-qmax INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-to-xyz-matrix INSTANCE
-
- Function: (setf rgbspace-to-xyz-matrix) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-xb INSTANCE
-
- Function: (setf rgbspace-xb) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-xg INSTANCE
-
- Function: (setf rgbspace-xg) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-xr INSTANCE
-
- Function: (setf rgbspace-xr) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-yb INSTANCE
-
- Function: (setf rgbspace-yb) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-yg INSTANCE
-
- Function: (setf rgbspace-yg) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-yr INSTANCE
-
- Function: (setf rgbspace-yr) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: spectrum-sum SPECTRUM &optional BEGIN-WL END-WL BAND
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: spectrum-to-xyz SPECTRUM &optional ILLUMINANT BEGIN-WL END-WL BAND
-
Computes XYZ values from SPECTRUM in reflective and transmissive
case. The function SPECTRUM must be defined at least in [BEGIN-WL, END-WL]; the SPECTRUM is called for BEGIN-WL, BEGIN-WL + BAND, BEGIN-WL + 2*BAND, ..., END-WL.
- Package
dufy
- Source
xyz.lisp (file)
- Function: xyy-to-xyz SMALL-X SMALL-Y Y
-
xyY to XYZ. The nominal range of Y is [0, 1], though all real
values are accepted.
- Package
dufy
- Source
xyz.lisp (file)
- Function: xyz-deltae X1 Y1 Z1 X2 Y2 Z2 &key ILLUMINANT
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: xyz-deltae00 X1 Y1 Z1 X2 Y2 Z2 &key ILLUMINANT
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: xyz-deltae94 X1 Y1 Z1 X2 Y2 Z2 &key APPLICATION ILLUMINANT
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: xyz-to-hsl X Y Z &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: xyz-to-hsv X Y Z &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: xyz-to-int X Y Z &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: xyz-to-lab X Y Z &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: xyz-to-lchab X Y Z &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: xyz-to-lchuv X Y Z &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: xyz-to-lms X Y Z &key ILLUMINANT CAT
-
Note: The default illuminant is **not** D65; if ILLUMINANT is NIL,
the transform is virtually equivalent to that of illuminant E.
- Package
dufy
- Source
cat.lisp (file)
- Function: xyz-to-lrgb X Y Z &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: xyz-to-luv X Y Z &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: xyz-to-mhvc X Y Z &key MAX-ITERATION IF-REACH-MAX FACTOR THRESHOLD
-
Illuminant D65. doing Bradford transformation.
- Package
dufy
- Source
munsell.lisp (file)
- Function: xyz-to-munsell X Y Z &key MAX-ITERATION IF-REACH-MAX FACTOR THRESHOLD DIGITS
-
Illuminant D65. doing Bradford transformation.
- Package
dufy
- Source
munsell.lisp (file)
- Function: xyz-to-qrgb X Y Z &key RGBSPACE CLAMP
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: xyz-to-rgb X Y Z &optional RGBSPACE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: xyz-to-spectrum X Y Z &optional ILLUMINANT
-
Converts XYZ to spectrum, which is, of course, a spectrum among
many.
- Package
dufy
- Source
xyz.lisp (file)
- Function: xyz-to-xyy X Y Z
-
XYZ to xyY. The nominal range of Y is [0, 1], though all real
values are accepted.
- Package
dufy
- Source
xyz.lisp (file)
- Function: y-to-munsell-value Y
-
Interpolates the inversion table of MUNSELL-VALUE-TO-Y linearly,
whose band width is 10^-3. The
error, (abs (- (y (munsell-value-to-y (y-to-munsell-value y))))), is
smaller than 10^-5.
- Package
dufy
- Source
munsell.lisp (file)
6.1.4 Conditions
- Condition: invalid-mhvc-error ()
-
- Package
dufy
- Source
munsell.lisp (file)
- Direct superclasses
simple-error (condition)
- Direct methods
-
- Direct slots
- Slot: value
-
- Initargs
:value
- Initform
(quote 0.0d0)
- Readers
cond-value (generic function)
- Writers
(setf cond-value) (generic function)
- Slot: chroma
-
- Initargs
:chroma
- Initform
(quote 0.0d0)
- Readers
cond-chroma (generic function)
- Writers
(setf cond-chroma) (generic function)
- Condition: large-approximation-error ()
-
- Package
dufy
- Source
munsell.lisp (file)
- Direct superclasses
arithmetic-error (condition)
- Direct methods
-
- Direct slots
- Slot: message
-
- Initargs
:message
- Initform
(quote "couldn't achieve the sufficent accuracy.")
- Readers
cond-message (generic function)
- Writers
(setf cond-message) (generic function)
- Condition: munsellspec-parse-error ()
-
- Package
dufy
- Source
munsell.lisp (file)
- Direct superclasses
parse-error (condition)
- Direct methods
-
- Direct slots
- Slot: spec
-
- Initargs
:spec
- Initform
(quote nil)
- Readers
cond-spec (generic function)
- Writers
(setf cond-spec) (generic function)
- Condition: no-spd-error ()
-
- Package
dufy
- Source
xyz.lisp (file)
- Direct superclasses
simple-error (condition)
- Direct methods
-
- Direct slots
- Slot: illuminant
-
- Initargs
:illuminant
- Initform
(quote nil)
- Readers
cond-illuminant (generic function)
- Writers
(setf cond-illuminant) (generic function)
6.1.5 Structures
- Structure: cat ()
-
Model of chromatic adaptation transformation. Currently only linear
models are available.
- Package
dufy
- Source
cat.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: matrix
-
- Type
(simple-array double-float (3 3))
- Initform
dufy::+empty-matrix+
- Readers
cat-matrix (function)
- Writers
(setf cat-matrix) (function)
- Slot: inv-matrix
-
- Type
(simple-array double-float (3 3))
- Initform
dufy::+empty-matrix+
- Readers
cat-inv-matrix (function)
- Writers
(setf cat-inv-matrix) (function)
- Structure: illuminant ()
-
- Package
dufy
- Source
xyz.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: small-x
-
- Type
double-float
- Initform
0.0
- Readers
illuminant-small-x (function)
- Writers
(setf illuminant-small-x) (function)
- Slot: small-y
-
- Type
double-float
- Initform
0.0
- Readers
illuminant-small-y (function)
- Writers
(setf illuminant-small-y) (function)
- Slot: x
-
- Type
double-float
- Initform
0.0
- Readers
illuminant-x (function)
- Writers
(setf illuminant-x) (function)
- Slot: y
-
- Type
double-float
- Initform
0.0
- Readers
illuminant-y (function)
- Writers
(setf illuminant-y) (function)
- Slot: z
-
- Type
double-float
- Initform
0.0
- Readers
illuminant-z (function)
- Writers
(setf illuminant-z) (function)
- Slot: spectrum
-
- Type
dufy::spectrum-function
- Initform
(function dufy::empty-function)
- Readers
illuminant-spectrum (function)
- Writers
(setf illuminant-spectrum) (function)
- Slot: observer
-
- Type
dufy:observer
- Initform
dufy:+obs-cie1931+
- Readers
illuminant-observer (function)
- Writers
(setf illuminant-observer) (function)
- Slot: to-spectrum-matrix
-
- Type
(simple-array double-float (3 3))
- Initform
dufy::+empty-matrix+
- Readers
illuminant-to-spectrum-matrix (function)
- Writers
(setf illuminant-to-spectrum-matrix) (function)
- Structure: observer ()
-
OBSERVER is a structure of color matching functions.
- Package
dufy
- Source
xyz.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: begin-wl
-
- Type
(integer 0)
- Initform
360
- Readers
observer-begin-wl (function)
- Writers
(setf observer-begin-wl) (function)
- Slot: end-wl
-
- Type
(integer 0)
- Initform
830
- Readers
observer-end-wl (function)
- Writers
(setf observer-end-wl) (function)
- Slot: cmf-arr
-
- Type
(simple-array double-float (* 3))
- Readers
observer-cmf-arr (function)
- Writers
(setf observer-cmf-arr) (function)
- Slot: cmf-x
-
- Type
dufy::spectrum-function
- Readers
observer-cmf-x (function)
- Writers
(setf observer-cmf-x) (function)
- Slot: cmf-y
-
- Type
dufy::spectrum-function
- Readers
observer-cmf-y (function)
- Writers
(setf observer-cmf-y) (function)
- Slot: cmf-z
-
- Type
dufy::spectrum-function
- Readers
observer-cmf-z (function)
- Writers
(setf observer-cmf-z) (function)
- Slot: cmf
-
- Type
(function * (values double-float double-float double-float &optional))
- Readers
observer-cmf (function)
- Writers
(setf observer-cmf) (function)
- Structure: rgbspace ()
-
Structure of RGB space, including encoding characteristics
- Package
dufy
- Source
rgb.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: xr
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-xr (function)
- Writers
(setf rgbspace-xr) (function)
- Slot: yr
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-yr (function)
- Writers
(setf rgbspace-yr) (function)
- Slot: xg
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-xg (function)
- Writers
(setf rgbspace-xg) (function)
- Slot: yg
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-yg (function)
- Writers
(setf rgbspace-yg) (function)
- Slot: xb
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-xb (function)
- Writers
(setf rgbspace-xb) (function)
- Slot: yb
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-yb (function)
- Writers
(setf rgbspace-yb) (function)
- Slot: illuminant
-
- Type
dufy:illuminant
- Initform
dufy:+illum-d65+
- Readers
rgbspace-illuminant (function)
- Writers
(setf rgbspace-illuminant) (function)
- Slot: to-xyz-matrix
-
- Type
(simple-array double-float (3 3))
- Initform
dufy::+identity-matrix+
- Readers
rgbspace-to-xyz-matrix (function)
- Writers
(setf rgbspace-to-xyz-matrix) (function)
- Slot: from-xyz-matrix
-
- Type
(simple-array double-float (3 3))
- Initform
dufy::+identity-matrix+
- Readers
rgbspace-from-xyz-matrix (function)
- Writers
(setf rgbspace-from-xyz-matrix) (function)
- Slot: lmin
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-lmin (function)
- Writers
(setf rgbspace-lmin) (function)
- Slot: lmax
-
- Type
double-float
- Initform
1.0d0
- Readers
rgbspace-lmax (function)
- Writers
(setf rgbspace-lmax) (function)
- Slot: linearizer
-
- Type
(function * double-float)
- Initform
(alexandria.0.dev:rcurry (function float) 1.0d0)
- Readers
rgbspace-linearizer (function)
- Writers
(setf rgbspace-linearizer) (function)
- Slot: delinearizer
-
- Type
(function * double-float)
- Initform
(alexandria.0.dev:rcurry (function float) 1.0d0)
- Readers
rgbspace-delinearizer (function)
- Writers
(setf rgbspace-delinearizer) (function)
- Slot: min
-
- Type
double-float
- Initform
0.0d0
- Readers
rgbspace-min (function)
- Writers
(setf rgbspace-min) (function)
- Slot: max
-
- Type
double-float
- Initform
1.0d0
- Readers
rgbspace-max (function)
- Writers
(setf rgbspace-max) (function)
- Slot: len
-
- Type
double-float
- Initform
1.0d0
- Readers
rgbspace-len (function)
- Writers
(setf rgbspace-len) (function)
- Slot: normal
-
- Type
boolean
- Initform
t
- Readers
rgbspace-normal (function)
- Writers
(setf rgbspace-normal) (function)
- Slot: bit-per-channel
-
- Type
(integer 1 62)
- Initform
8
- Readers
rgbspace-bit-per-channel (function)
- Writers
(setf rgbspace-bit-per-channel) (function)
- Slot: qmax
-
- Type
(integer 1 4611686018427387903)
- Initform
255
- Readers
rgbspace-qmax (function)
- Writers
(setf rgbspace-qmax) (function)
- Slot: qmax-float
-
- Type
double-float
- Initform
255.0d0
- Readers
rgbspace-qmax-float (function)
- Writers
(setf rgbspace-qmax-float) (function)
- Slot: len/qmax-float
-
- Type
double-float
- Initform
(float 1/255 1.0d0)
- Readers
rgbspace-len/qmax-float (function)
- Writers
(setf rgbspace-len/qmax-float) (function)
- Slot: qmax-float/len
-
- Type
double-float
- Initform
255.0d0
- Readers
rgbspace-qmax-float/len (function)
- Writers
(setf rgbspace-qmax-float/len) (function)
6.2 Internal definitions
6.2.1 Constants
- Constant: +360/two-pi+
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Constant: +two-pi/360+
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Constant: two-pi
-
- Package
dufy
- Source
general.lisp (file)
6.2.2 Special variables
- Special Variable: *bit-most-positive-fixnum*
-
- Package
dufy
- Source
munsell.lisp (file)
- Special Variable: +empty-matrix+
-
Used instead of NIL
- Package
dufy
- Source
general.lisp (file)
- Special Variable: +identity-matrix+
-
- Package
dufy
- Source
general.lisp (file)
- Special Variable: +illum-b+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +illum-c-arr+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +s0-arr+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +s0-func+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +s1-arr+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +s1-func+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +s2-arr+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: +s2-func+
-
- Package
dufy
- Source
xyz.lisp (file)
- Special Variable: cmf-arr-cie1931
-
- Package
dufy
- Source
fundamental-data.lisp (file)
- Special Variable: cmf-arr-cie1964
-
- Package
dufy
- Source
fundamental-data.lisp (file)
- Special Variable: max-chroma-arr
-
- Package
dufy
- Source
munsell-renotation-data.lisp (file)
- Special Variable: max-chroma-arr-dark
-
- Package
dufy
- Source
munsell-renotation-data.lisp (file)
- Special Variable: mrd-array-c-h
-
- Package
dufy
- Source
munsell-renotation-data.lisp (file)
- Special Variable: mrd-array-c-h-dark
-
- Package
dufy
- Source
munsell-renotation-data.lisp (file)
- Special Variable: mrd-array-l
-
- Package
dufy
- Source
munsell-renotation-data.lisp (file)
- Special Variable: mrd-array-l-dark
-
- Package
dufy
- Source
munsell-renotation-data.lisp (file)
- Special Variable: y-to-munsell-value-arr
-
- Package
dufy
- Source
fundamental-data.lisp (file)
6.2.3 Macros
- Macro: defdeltae NAME ARGS &body BODY
-
Defines delta-E function for L*a*b* and other color spaces. Only
&key arguments are allowed in sub-args. The following symbols cannot
be used in ARGS: x1 y1 z1 x2 y2 z2 r1 g1 b1 r2 g2 b2
- Package
dufy
- Source
deltae.lisp (file)
- Macro: dotimes-unroll (VAR COUNT &optional RESULT) &body BODY
-
- Package
dufy
- Source
general.lisp (file)
- Macro: simple-time &body BODY
-
For devel. Simpler alternative to TIME.
- Package
dufy
- Source
general.lisp (file)
- Macro: subseq-values START END NUMBER FORM
-
- Package
dufy
- Source
general.lisp (file)
- Macro: time-after-gc &body BODY
-
- Package
dufy
- Source
general.lisp (file)
- Macro: with-double-float VARS &body BODY
-
Ensures that variables are double-float.
- Package
dufy
- Source
general.lisp (file)
- Macro: with-profile &body BODY
-
For devel.
- Package
dufy
- Source
general.lisp (file)
6.2.4 Functions
- Function: $make-cat &key (MATRIX MATRIX) (INV-MATRIX INV-MATRIX)
-
- Package
dufy
- Source
cat.lisp (file)
- Function: %make-illuminant &key (SMALL-X SMALL-X) (SMALL-Y SMALL-Y) (X X) (Y Y) (Z Z) (SPECTRUM SPECTRUM) (OBSERVER OBSERVER) (TO-SPECTRUM-MATRIX TO-SPECTRUM-MATRIX)
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: %make-observer &key (BEGIN-WL BEGIN-WL) (END-WL END-WL) (CMF-ARR CMF-ARR) (CMF-X CMF-X) (CMF-Y CMF-Y) (CMF-Z CMF-Z) (CMF CMF)
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: %make-rgbspace &key (XR XR) (YR YR) (XG XG) (YG YG) (XB XB) (YB YB) (ILLUMINANT ILLUMINANT) (TO-XYZ-MATRIX TO-XYZ-MATRIX) (FROM-XYZ-MATRIX FROM-XYZ-MATRIX) (LMIN LMIN) (LMAX LMAX) (LINEARIZER LINEARIZER) (DELINEARIZER DELINEARIZER) (MIN MIN) (MAX MAX) (LEN LEN) (NORMAL NORMAL) (BIT-PER-CHANNEL BIT-PER-CHANNEL) (QMAX QMAX) (QMAX-FLOAT QMAX-FLOAT) (LEN/QMAX-FLOAT LEN/QMAX-FLOAT) (QMAX-FLOAT/LEN QMAX-FLOAT/LEN)
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: %spectrum-to-xyz SPECTRUM ILLUM-SPECTRUM OBSERVER &optional BEGIN-WL END-WL BAND
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: bench-deltae00 &optional NUM
-
- Package
dufy
- Source
deltae.lisp (file)
- Function: bench-invmat &optional NUM
-
- Package
dufy
- Source
general.lisp (file)
- Function: bench-mhvc-to-lchab &optional NUM
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: bench-mhvc-to-qrgb &optional NUM
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: bench-mult-mat &optional NUM
-
- Package
dufy
- Source
general.lisp (file)
- Function: bench-qrgb &optional NUM
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: bench-spectrum &optional NUM ILLUMINANT
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: c-to-d65 X Y Z
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: calc-cat-matrix FROM-ILLUMINANT TO-ILLUMINANT &optional CAT
-
Returns a 3*3 chromatic adaptation matrix between FROM-ILLUMINANT
and TO-ILLUMINANT in XYZ space.
- Package
dufy
- Source
cat.lisp (file)
- Function: calc-cat-matrix-for-lrgb FROM-RGBSPACE TO-RGBSPACE &optional CAT
-
- Package
dufy
- Source
cat.lisp (file)
- Function: calc-to-spectrum-matrix ILLUM-SPECTRUM OBSERVER
-
Used for XYZ-to-spectrum conversion.
- Package
dufy
- Source
xyz.lisp (file)
- Function: calc-uvprime X Y
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: calc-uvprime-from-xyz X Y Z
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: cat-p OBJECT
-
- Package
dufy
- Source
cat.lisp (file)
- Function: circular-delta THETA1 THETA2
-
used in INVERT-LCHAB-TO-MHVC
- Package
dufy
- Source
munsell.lisp (file)
- Function: circular-lerp-loose COEF THETA1 THETA2 &optional PERIMETER
-
Counterclockwise linear interpolation from THETA1 to THETA2 in a
circle group. There is a possibility that the return value slightly
exceeds the interval [THETA1, THETA2], due to floating-point error. If
that is incovenient, use CIRCULAR-LERP instead.
- Package
dufy
- Source
general.lisp (file)
- Function: copy-cat INSTANCE
-
- Package
dufy
- Source
cat.lisp (file)
- Function: copy-observer INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: d65-to-c X Y Z
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: delinearize-prophoto X
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: delinearize-scrgb-nl X
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: delinearize-srgb X
-
delinealizer of sRGB (actually the same as bg-sRGB)
- Package
dufy
- Source
rgb.lisp (file)
- Function: determinant MAT
-
- Package
dufy
- Source
general.lisp (file)
- Function: empty-function ()
-
Used instead of NIL.
- Package
dufy
- Source
general.lisp (file)
- Function: function-f X
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: illuminant-no-spd-p ILLUMINANT
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-p OBJECT
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: illuminant-to-spectrum-matrix INSTANCE
-
- Function: (setf illuminant-to-spectrum-matrix) VALUE INSTANCE
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: int-to-qrgba INT &optional RGBSPACE ORDER
-
The order can be :ARGB or :RGBA. Note that it is different from the
’physical’ byte order in a machine, which depends on the endianess.
- Package
dufy
- Source
rgb.lisp (file)
- Function: invert-matrix33 MAT
-
- Package
dufy
- Source
general.lisp (file)
- Function: invert-mhvc-to-lchab LSTAR CSTARAB HAB INIT-HUE40 INIT-CHROMA &key MAX-ITERATION IF-REACH-MAX FACTOR THRESHOLD
-
Illuminant C.
- Package
dufy
- Source
munsell.lisp (file)
- Function: lab-to-xyy LSTAR ASTAR BSTAR &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: lchab-to-xyy LSTAR CSTARAB HAB &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: linearize-prophoto X
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: linearize-scrgb-nl X
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: linearize-srgb X
-
linearizer of sRGB (actually the same as bg-sRGB)
- Package
dufy
- Source
rgb.lisp (file)
- Function: lstar-to-munsell-value LSTAR
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: make-illum-d-spectrum-array TEMPERATURE &optional BEGIN-WL END-WL
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: max-chroma-lchab HUE40 VALUE &key USE-DARK
-
Returns the LCh(ab) value of the color on the max-chroma boundary in MRD.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-invalid-p HUE40 VALUE CHROMA
-
Checks if MHVC values are out of range.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-lchab-all-integer-case HUE40 TMP-VALUE HALF-CHROMA &optional DARK
-
All integer case. There are no type checks: e.g. HUE40 must be in
{0, ...., 39}.
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-lchab-general-case HUE40 TMP-VALUE HALF-CHROMA &optional DARK
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-lchab-value-chroma-integer-case HUE40 TMP-VALUE HALF-CHROMA &optional DARK
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: mhvc-to-lchab-value-integer-case HUE40 TMP-VALUE HALF-CHROMA &optional DARK
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: multiply-mat-mat MAT1 MAT2
-
- Package
dufy
- Source
general.lisp (file)
- Function: multiply-mat-vec MATRIX X Y Z
-
- Package
dufy
- Source
general.lisp (file)
- Function: multiply-matrices MAT1 &rest MATS
-
- Package
dufy
- Source
general.lisp (file)
- Function: munsell-value-to-achromatic-xyy V
-
Illuminant C.
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-value-to-achromatic-xyy-from-mrd V
-
For devel. Another version of munsell-value-to-achromatic-xyy based
on the Munsell renotation data. V must be integer. It is nearly equal
to munsell-value-to-achromatic-xyy
- Package
dufy
- Source
munsell.lisp (file)
- Function: munsell-value-to-lstar V
-
Converts Munsell value to L*, whose nominal range is [0, 100].
- Package
dufy
- Source
munsell.lisp (file)
- Function: observer-p OBJECT
-
- Package
dufy
- Source
xyz.lisp (file)
- Function: qrgb-to-munsell-value R G B &optional RGBSPACE
-
- Package
dufy
- Source
munsell.lisp (file)
- Function: qrgba-to-int QR QG QB QALPHA &optional RGBSPACE ORDER
-
The order can be :ARGB or :RGBA. Note that it is different from the
’physical’ byte order in a machine, which depends on the endianess.
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-delinearizer INSTANCE
-
- Function: (setf rgbspace-delinearizer) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-len INSTANCE
-
- Function: (setf rgbspace-len) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-len/qmax-float INSTANCE
-
- Function: (setf rgbspace-len/qmax-float) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-linearizer INSTANCE
-
- Function: (setf rgbspace-linearizer) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-p OBJECT
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-qmax-float INSTANCE
-
- Function: (setf rgbspace-qmax-float) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rgbspace-qmax-float/len INSTANCE
-
- Function: (setf rgbspace-qmax-float/len) VALUE INSTANCE
-
- Package
dufy
- Source
rgb.lisp (file)
- Function: rough-lchab-to-mhvc LSTAR CSTARAB HAB
-
rough conversion from LCHab to munsell HVC
- Package
dufy
- Source
munsell.lisp (file)
- Function: subtract-with-mod X Y &optional DIVISOR
-
(X - Y) mod DIVISOR.
- Package
dufy
- Source
general.lisp (file)
- Function: test-inverter ()
-
For devel.
- Package
dufy
- Source
munsell.lisp (file)
- Function: test-inverter2 &optional NUM-LOOP PROFILE RGBSPACE
-
For devel.
- Package
dufy
- Source
munsell.lisp (file)
- Function: test-inverter3 &optional RGBSPACE
-
For devel.
- Package
dufy
- Source
munsell.lisp (file)
- Function: test-value-to-y &optional NUM
-
Evaluates error of y-to-munsell-value
- Package
dufy
- Source
munsell.lisp (file)
- Function: xyy-to-lab SMALL-X SMALL-Y Y &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: xyy-to-lchab SMALL-X SMALL-Y Y &optional ILLUMINANT
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
- Function: y-to-lstar Y
-
- Package
dufy
- Source
lab-and-luv.lisp (file)
6.2.5 Generic functions
- Generic Function: cond-chroma CONDITION
-
- Generic Function: (setf cond-chroma) NEW-VALUE CONDITION
-
- Package
dufy
- Methods
- Method: cond-chroma (CONDITION invalid-mhvc-error)
-
- Method: (setf cond-chroma) NEW-VALUE (CONDITION invalid-mhvc-error)
-
- Source
munsell.lisp (file)
- Generic Function: cond-illuminant CONDITION
-
- Generic Function: (setf cond-illuminant) NEW-VALUE CONDITION
-
- Package
dufy
- Methods
- Method: cond-illuminant (CONDITION no-spd-error)
-
- Method: (setf cond-illuminant) NEW-VALUE (CONDITION no-spd-error)
-
- Source
xyz.lisp (file)
- Generic Function: cond-message CONDITION
-
- Generic Function: (setf cond-message) NEW-VALUE CONDITION
-
- Package
dufy
- Methods
- Method: cond-message (CONDITION large-approximation-error)
-
- Method: (setf cond-message) NEW-VALUE (CONDITION large-approximation-error)
-
- Source
munsell.lisp (file)
- Generic Function: cond-spec CONDITION
-
- Generic Function: (setf cond-spec) NEW-VALUE CONDITION
-
- Package
dufy
- Methods
- Method: cond-spec (CONDITION munsellspec-parse-error)
-
- Method: (setf cond-spec) NEW-VALUE (CONDITION munsellspec-parse-error)
-
- Source
munsell.lisp (file)
- Generic Function: cond-value CONDITION
-
- Generic Function: (setf cond-value) NEW-VALUE CONDITION
-
- Package
dufy
- Methods
- Method: cond-value (CONDITION invalid-mhvc-error)
-
- Method: (setf cond-value) NEW-VALUE (CONDITION invalid-mhvc-error)
-
- Source
munsell.lisp (file)
6.2.6 Types
- Type: matrix33 ()
-
- Package
dufy
- Source
general.lisp (file)
- Type: single-valued-function ()
-
- Package
dufy
- Source
general.lisp (file)
- Type: spectrum-function ()
-
- Package
dufy
- Source
general.lisp (file)
Appendix A Indexes
A.1 Concepts
| Index Entry | | Section |
|
D | | |
| dufy.asd: | | The dufy<dot>asd file |
| dufy/dat: | | The dufy/dat module |
| dufy/src: | | The dufy/src module |
| dufy/src/cat.lisp: | | The dufy/src/cat<dot>lisp file |
| dufy/src/deltae.lisp: | | The dufy/src/deltae<dot>lisp file |
| dufy/src/fundamental-data.lisp: | | The dufy/src/fundamental-data<dot>lisp file |
| dufy/src/general.lisp: | | The dufy/src/general<dot>lisp file |
| dufy/src/lab-and-luv.lisp: | | The dufy/src/lab-and-luv<dot>lisp file |
| dufy/src/munsell-renotation-data.lisp: | | The dufy/src/munsell-renotation-data<dot>lisp file |
| dufy/src/munsell.lisp: | | The dufy/src/munsell<dot>lisp file |
| dufy/src/package.lisp: | | The dufy/src/package<dot>lisp file |
| dufy/src/rgb.lisp: | | The dufy/src/rgb<dot>lisp file |
| dufy/src/xyz.lisp: | | The dufy/src/xyz<dot>lisp file |
|
F | | |
| File, Lisp, dufy.asd: | | The dufy<dot>asd file |
| File, Lisp, dufy/src/cat.lisp: | | The dufy/src/cat<dot>lisp file |
| File, Lisp, dufy/src/deltae.lisp: | | The dufy/src/deltae<dot>lisp file |
| File, Lisp, dufy/src/fundamental-data.lisp: | | The dufy/src/fundamental-data<dot>lisp file |
| File, Lisp, dufy/src/general.lisp: | | The dufy/src/general<dot>lisp file |
| File, Lisp, dufy/src/lab-and-luv.lisp: | | The dufy/src/lab-and-luv<dot>lisp file |
| File, Lisp, dufy/src/munsell-renotation-data.lisp: | | The dufy/src/munsell-renotation-data<dot>lisp file |
| File, Lisp, dufy/src/munsell.lisp: | | The dufy/src/munsell<dot>lisp file |
| File, Lisp, dufy/src/package.lisp: | | The dufy/src/package<dot>lisp file |
| File, Lisp, dufy/src/rgb.lisp: | | The dufy/src/rgb<dot>lisp file |
| File, Lisp, dufy/src/xyz.lisp: | | The dufy/src/xyz<dot>lisp file |
|
L | | |
| Lisp File, dufy.asd: | | The dufy<dot>asd file |
| Lisp File, dufy/src/cat.lisp: | | The dufy/src/cat<dot>lisp file |
| Lisp File, dufy/src/deltae.lisp: | | The dufy/src/deltae<dot>lisp file |
| Lisp File, dufy/src/fundamental-data.lisp: | | The dufy/src/fundamental-data<dot>lisp file |
| Lisp File, dufy/src/general.lisp: | | The dufy/src/general<dot>lisp file |
| Lisp File, dufy/src/lab-and-luv.lisp: | | The dufy/src/lab-and-luv<dot>lisp file |
| Lisp File, dufy/src/munsell-renotation-data.lisp: | | The dufy/src/munsell-renotation-data<dot>lisp file |
| Lisp File, dufy/src/munsell.lisp: | | The dufy/src/munsell<dot>lisp file |
| Lisp File, dufy/src/package.lisp: | | The dufy/src/package<dot>lisp file |
| Lisp File, dufy/src/rgb.lisp: | | The dufy/src/rgb<dot>lisp file |
| Lisp File, dufy/src/xyz.lisp: | | The dufy/src/xyz<dot>lisp file |
|
M | | |
| Module, dufy/dat: | | The dufy/dat module |
| Module, dufy/src: | | The dufy/src module |
|
A.2 Functions
| Index Entry | | Section |
|
$ | | |
| $make-cat : | | Internal functions |
|
% | | |
| %make-illuminant : | | Internal functions |
| %make-observer : | | Internal functions |
| %make-rgbspace : | | Internal functions |
| %spectrum-to-xyz : | | Internal functions |
|
( | | |
| (setf cat-inv-matrix) : | | Exported functions |
| (setf cat-matrix) : | | Exported functions |
| (setf cond-chroma) : | | Internal generic functions |
| (setf cond-chroma) : | | Internal generic functions |
| (setf cond-illuminant) : | | Internal generic functions |
| (setf cond-illuminant) : | | Internal generic functions |
| (setf cond-message) : | | Internal generic functions |
| (setf cond-message) : | | Internal generic functions |
| (setf cond-spec) : | | Internal generic functions |
| (setf cond-spec) : | | Internal generic functions |
| (setf cond-value) : | | Internal generic functions |
| (setf cond-value) : | | Internal generic functions |
| (setf illuminant-observer) : | | Exported functions |
| (setf illuminant-small-x) : | | Exported functions |
| (setf illuminant-small-y) : | | Exported functions |
| (setf illuminant-spectrum) : | | Exported functions |
| (setf illuminant-to-spectrum-matrix) : | | Internal functions |
| (setf illuminant-x) : | | Exported functions |
| (setf illuminant-y) : | | Exported functions |
| (setf illuminant-z) : | | Exported functions |
| (setf observer-begin-wl) : | | Exported functions |
| (setf observer-cmf) : | | Exported functions |
| (setf observer-cmf-arr) : | | Exported functions |
| (setf observer-cmf-x) : | | Exported functions |
| (setf observer-cmf-y) : | | Exported functions |
| (setf observer-cmf-z) : | | Exported functions |
| (setf observer-end-wl) : | | Exported functions |
| (setf rgbspace-bit-per-channel) : | | Exported functions |
| (setf rgbspace-delinearizer) : | | Internal functions |
| (setf rgbspace-from-xyz-matrix) : | | Exported functions |
| (setf rgbspace-illuminant) : | | Exported functions |
| (setf rgbspace-len) : | | Internal functions |
| (setf rgbspace-len/qmax-float) : | | Internal functions |
| (setf rgbspace-linearizer) : | | Internal functions |
| (setf rgbspace-lmax) : | | Exported functions |
| (setf rgbspace-lmin) : | | Exported functions |
| (setf rgbspace-max) : | | Exported functions |
| (setf rgbspace-min) : | | Exported functions |
| (setf rgbspace-normal) : | | Exported functions |
| (setf rgbspace-qmax-float) : | | Internal functions |
| (setf rgbspace-qmax-float/len) : | | Internal functions |
| (setf rgbspace-to-xyz-matrix) : | | Exported functions |
| (setf rgbspace-xb) : | | Exported functions |
| (setf rgbspace-xg) : | | Exported functions |
| (setf rgbspace-xr) : | | Exported functions |
| (setf rgbspace-yb) : | | Exported functions |
| (setf rgbspace-yg) : | | Exported functions |
| (setf rgbspace-yr) : | | Exported functions |
|
A | | |
| approximate-spectrum : | | Exported functions |
|
B | | |
| bb-spectrum : | | Exported functions |
| bench-deltae00 : | | Internal functions |
| bench-invmat : | | Internal functions |
| bench-mhvc-to-lchab : | | Internal functions |
| bench-mhvc-to-qrgb : | | Internal functions |
| bench-mult-mat : | | Internal functions |
| bench-qrgb : | | Internal functions |
| bench-spectrum : | | Internal functions |
|
C | | |
| c-to-d65 : | | Internal functions |
| calc-cat-matrix : | | Internal functions |
| calc-cat-matrix-for-lrgb : | | Internal functions |
| calc-to-spectrum-matrix : | | Internal functions |
| calc-uvprime : | | Internal functions |
| calc-uvprime-from-xyz : | | Internal functions |
| cat-inv-matrix : | | Exported functions |
| cat-matrix : | | Exported functions |
| cat-p : | | Internal functions |
| circular-clamp : | | Exported functions |
| circular-delta : | | Internal functions |
| circular-lerp : | | Exported functions |
| circular-lerp-loose : | | Internal functions |
| circular-member : | | Exported functions |
| circular-nearer : | | Exported functions |
| cond-chroma : | | Internal generic functions |
| cond-chroma : | | Internal generic functions |
| cond-illuminant : | | Internal generic functions |
| cond-illuminant : | | Internal generic functions |
| cond-message : | | Internal generic functions |
| cond-message : | | Internal generic functions |
| cond-spec : | | Internal generic functions |
| cond-spec : | | Internal generic functions |
| cond-value : | | Internal generic functions |
| cond-value : | | Internal generic functions |
| copy-cat : | | Internal functions |
| copy-observer : | | Internal functions |
| copy-rgbspace : | | Exported functions |
|
D | | |
| d65-to-c : | | Internal functions |
| def-cat-function : | | Exported macros |
| defdeltae : | | Internal macros |
| delinearize : | | Exported functions |
| delinearize-prophoto : | | Internal functions |
| delinearize-scrgb-nl : | | Internal functions |
| delinearize-srgb : | | Internal functions |
| deltae : | | Exported functions |
| deltae00 : | | Exported functions |
| deltae94 : | | Exported functions |
| determinant : | | Internal functions |
| dotimes-unroll : | | Internal macros |
|
E | | |
| empty-function : | | Internal functions |
|
F | | |
| flat-spectrum : | | Exported functions |
| Function, $make-cat : | | Internal functions |
| Function, %make-illuminant : | | Internal functions |
| Function, %make-observer : | | Internal functions |
| Function, %make-rgbspace : | | Internal functions |
| Function, %spectrum-to-xyz : | | Internal functions |
| Function, (setf cat-inv-matrix) : | | Exported functions |
| Function, (setf cat-matrix) : | | Exported functions |
| Function, (setf illuminant-observer) : | | Exported functions |
| Function, (setf illuminant-small-x) : | | Exported functions |
| Function, (setf illuminant-small-y) : | | Exported functions |
| Function, (setf illuminant-spectrum) : | | Exported functions |
| Function, (setf illuminant-to-spectrum-matrix) : | | Internal functions |
| Function, (setf illuminant-x) : | | Exported functions |
| Function, (setf illuminant-y) : | | Exported functions |
| Function, (setf illuminant-z) : | | Exported functions |
| Function, (setf observer-begin-wl) : | | Exported functions |
| Function, (setf observer-cmf) : | | Exported functions |
| Function, (setf observer-cmf-arr) : | | Exported functions |
| Function, (setf observer-cmf-x) : | | Exported functions |
| Function, (setf observer-cmf-y) : | | Exported functions |
| Function, (setf observer-cmf-z) : | | Exported functions |
| Function, (setf observer-end-wl) : | | Exported functions |
| Function, (setf rgbspace-bit-per-channel) : | | Exported functions |
| Function, (setf rgbspace-delinearizer) : | | Internal functions |
| Function, (setf rgbspace-from-xyz-matrix) : | | Exported functions |
| Function, (setf rgbspace-illuminant) : | | Exported functions |
| Function, (setf rgbspace-len) : | | Internal functions |
| Function, (setf rgbspace-len/qmax-float) : | | Internal functions |
| Function, (setf rgbspace-linearizer) : | | Internal functions |
| Function, (setf rgbspace-lmax) : | | Exported functions |
| Function, (setf rgbspace-lmin) : | | Exported functions |
| Function, (setf rgbspace-max) : | | Exported functions |
| Function, (setf rgbspace-min) : | | Exported functions |
| Function, (setf rgbspace-normal) : | | Exported functions |
| Function, (setf rgbspace-qmax-float) : | | Internal functions |
| Function, (setf rgbspace-qmax-float/len) : | | Internal functions |
| Function, (setf rgbspace-to-xyz-matrix) : | | Exported functions |
| Function, (setf rgbspace-xb) : | | Exported functions |
| Function, (setf rgbspace-xg) : | | Exported functions |
| Function, (setf rgbspace-xr) : | | Exported functions |
| Function, (setf rgbspace-yb) : | | Exported functions |
| Function, (setf rgbspace-yg) : | | Exported functions |
| Function, (setf rgbspace-yr) : | | Exported functions |
| Function, approximate-spectrum : | | Exported functions |
| Function, bb-spectrum : | | Exported functions |
| Function, bench-deltae00 : | | Internal functions |
| Function, bench-invmat : | | Internal functions |
| Function, bench-mhvc-to-lchab : | | Internal functions |
| Function, bench-mhvc-to-qrgb : | | Internal functions |
| Function, bench-mult-mat : | | Internal functions |
| Function, bench-qrgb : | | Internal functions |
| Function, bench-spectrum : | | Internal functions |
| Function, c-to-d65 : | | Internal functions |
| Function, calc-cat-matrix : | | Internal functions |
| Function, calc-cat-matrix-for-lrgb : | | Internal functions |
| Function, calc-to-spectrum-matrix : | | Internal functions |
| Function, calc-uvprime : | | Internal functions |
| Function, calc-uvprime-from-xyz : | | Internal functions |
| Function, cat-inv-matrix : | | Exported functions |
| Function, cat-matrix : | | Exported functions |
| Function, cat-p : | | Internal functions |
| Function, circular-clamp : | | Exported functions |
| Function, circular-delta : | | Internal functions |
| Function, circular-lerp : | | Exported functions |
| Function, circular-lerp-loose : | | Internal functions |
| Function, circular-member : | | Exported functions |
| Function, circular-nearer : | | Exported functions |
| Function, copy-cat : | | Internal functions |
| Function, copy-observer : | | Internal functions |
| Function, copy-rgbspace : | | Exported functions |
| Function, d65-to-c : | | Internal functions |
| Function, delinearize : | | Exported functions |
| Function, delinearize-prophoto : | | Internal functions |
| Function, delinearize-scrgb-nl : | | Internal functions |
| Function, delinearize-srgb : | | Internal functions |
| Function, deltae : | | Exported functions |
| Function, deltae00 : | | Exported functions |
| Function, deltae94 : | | Exported functions |
| Function, determinant : | | Internal functions |
| Function, empty-function : | | Internal functions |
| Function, flat-spectrum : | | Exported functions |
| Function, function-f : | | Internal functions |
| Function, gen-cat-function : | | Exported functions |
| Function, gen-delinearizer : | | Exported functions |
| Function, gen-deltae-symbols : | | Exported functions |
| Function, gen-illum-d-spectrum : | | Exported functions |
| Function, gen-linearizer : | | Exported functions |
| Function, gen-rgbspace-changer : | | Exported functions |
| Function, gen-spectrum : | | Exported functions |
| Function, hsl-to-qrgb : | | Exported functions |
| Function, hsl-to-rgb : | | Exported functions |
| Function, hsl-to-xyz : | | Exported functions |
| Function, hsv-to-qrgb : | | Exported functions |
| Function, hsv-to-rgb : | | Exported functions |
| Function, hsv-to-xyz : | | Exported functions |
| Function, illuminant-no-spd-p : | | Internal functions |
| Function, illuminant-observer : | | Exported functions |
| Function, illuminant-p : | | Internal functions |
| Function, illuminant-small-x : | | Exported functions |
| Function, illuminant-small-y : | | Exported functions |
| Function, illuminant-spectrum : | | Exported functions |
| Function, illuminant-to-spectrum-matrix : | | Internal functions |
| Function, illuminant-x : | | Exported functions |
| Function, illuminant-y : | | Exported functions |
| Function, illuminant-z : | | Exported functions |
| Function, int-to-lrgb : | | Exported functions |
| Function, int-to-qrgb : | | Exported functions |
| Function, int-to-qrgba : | | Internal functions |
| Function, int-to-rgb : | | Exported functions |
| Function, int-to-xyz : | | Exported functions |
| Function, invert-matrix33 : | | Internal functions |
| Function, invert-mhvc-to-lchab : | | Internal functions |
| Function, lab-to-lchab : | | Exported functions |
| Function, lab-to-xyy : | | Internal functions |
| Function, lab-to-xyz : | | Exported functions |
| Function, lchab-to-lab : | | Exported functions |
| Function, lchab-to-mhvc-illum-c : | | Exported functions |
| Function, lchab-to-munsell-illum-c : | | Exported functions |
| Function, lchab-to-xyy : | | Internal functions |
| Function, lchab-to-xyz : | | Exported functions |
| Function, lchuv-to-luv : | | Exported functions |
| Function, lchuv-to-xyz : | | Exported functions |
| Function, linearize : | | Exported functions |
| Function, linearize-prophoto : | | Internal functions |
| Function, linearize-scrgb-nl : | | Internal functions |
| Function, linearize-srgb : | | Internal functions |
| Function, lms-to-xyz : | | Exported functions |
| Function, lrgb-out-of-gamut-p : | | Exported functions |
| Function, lrgb-to-int : | | Exported functions |
| Function, lrgb-to-qrgb : | | Exported functions |
| Function, lrgb-to-rgb : | | Exported functions |
| Function, lrgb-to-xyz : | | Exported functions |
| Function, lstar-to-munsell-value : | | Internal functions |
| Function, lstar-to-y : | | Exported functions |
| Function, luv-to-lchuv : | | Exported functions |
| Function, luv-to-xyz : | | Exported functions |
| Function, make-cat : | | Exported functions |
| Function, make-illum-d-spectrum-array : | | Internal functions |
| Function, make-illuminant : | | Exported functions |
| Function, make-illuminant-by-spd : | | Exported functions |
| Function, make-observer : | | Exported functions |
| Function, make-rgbspace : | | Exported functions |
| Function, max-chroma-in-mrd : | | Exported functions |
| Function, max-chroma-lchab : | | Internal functions |
| Function, mhvc-invalid-p : | | Internal functions |
| Function, mhvc-out-of-mrd-p : | | Exported functions |
| Function, mhvc-to-lchab-all-integer-case : | | Internal functions |
| Function, mhvc-to-lchab-general-case : | | Internal functions |
| Function, mhvc-to-lchab-illum-c : | | Exported functions |
| Function, mhvc-to-lchab-value-chroma-integer-case : | | Internal functions |
| Function, mhvc-to-lchab-value-integer-case : | | Internal functions |
| Function, mhvc-to-lrgb : | | Exported functions |
| Function, mhvc-to-munsell : | | Exported functions |
| Function, mhvc-to-qrgb : | | Exported functions |
| Function, mhvc-to-xyy : | | Exported functions |
| Function, mhvc-to-xyz : | | Exported functions |
| Function, mhvc-to-xyz-illum-c : | | Exported functions |
| Function, multiply-mat-mat : | | Internal functions |
| Function, multiply-mat-vec : | | Internal functions |
| Function, multiply-matrices : | | Internal functions |
| Function, munsell-out-of-mrd-p : | | Exported functions |
| Function, munsell-to-lchab-illum-c : | | Exported functions |
| Function, munsell-to-mhvc : | | Exported functions |
| Function, munsell-to-qrgb : | | Exported functions |
| Function, munsell-to-xyy : | | Exported functions |
| Function, munsell-to-xyz : | | Exported functions |
| Function, munsell-to-xyz-illum-c : | | Exported functions |
| Function, munsell-value-to-achromatic-xyy : | | Internal functions |
| Function, munsell-value-to-achromatic-xyy-from-mrd : | | Internal functions |
| Function, munsell-value-to-lstar : | | Internal functions |
| Function, munsell-value-to-y : | | Exported functions |
| Function, nearly-equal : | | Exported functions |
| Function, nearly<= : | | Exported functions |
| Function, nearly= : | | Exported functions |
| Function, observer-begin-wl : | | Exported functions |
| Function, observer-cmf : | | Exported functions |
| Function, observer-cmf-arr : | | Exported functions |
| Function, observer-cmf-x : | | Exported functions |
| Function, observer-cmf-y : | | Exported functions |
| Function, observer-cmf-z : | | Exported functions |
| Function, observer-end-wl : | | Exported functions |
| Function, observer-p : | | Internal functions |
| Function, optimal-spectrum : | | Exported functions |
| Function, qrgb-deltae : | | Exported functions |
| Function, qrgb-deltae00 : | | Exported functions |
| Function, qrgb-deltae94 : | | Exported functions |
| Function, qrgb-out-of-gamut-p : | | Exported functions |
| Function, qrgb-to-hsl : | | Exported functions |
| Function, qrgb-to-hsv : | | Exported functions |
| Function, qrgb-to-int : | | Exported functions |
| Function, qrgb-to-lrgb : | | Exported functions |
| Function, qrgb-to-munsell-value : | | Internal functions |
| Function, qrgb-to-rgb : | | Exported functions |
| Function, qrgb-to-xyz : | | Exported functions |
| Function, qrgba-to-int : | | Internal functions |
| Function, rgb-out-of-gamut-p : | | Exported functions |
| Function, rgb-to-hsl : | | Exported functions |
| Function, rgb-to-hsv : | | Exported functions |
| Function, rgb-to-int : | | Exported functions |
| Function, rgb-to-lrgb : | | Exported functions |
| Function, rgb-to-qrgb : | | Exported functions |
| Function, rgb-to-xyz : | | Exported functions |
| Function, rgbspace-bit-per-channel : | | Exported functions |
| Function, rgbspace-delinearizer : | | Internal functions |
| Function, rgbspace-from-xyz-matrix : | | Exported functions |
| Function, rgbspace-illuminant : | | Exported functions |
| Function, rgbspace-len : | | Internal functions |
| Function, rgbspace-len/qmax-float : | | Internal functions |
| Function, rgbspace-linearizer : | | Internal functions |
| Function, rgbspace-lmax : | | Exported functions |
| Function, rgbspace-lmin : | | Exported functions |
| Function, rgbspace-max : | | Exported functions |
| Function, rgbspace-min : | | Exported functions |
| Function, rgbspace-normal : | | Exported functions |
| Function, rgbspace-p : | | Internal functions |
| Function, rgbspace-qmax : | | Exported functions |
| Function, rgbspace-qmax-float : | | Internal functions |
| Function, rgbspace-qmax-float/len : | | Internal functions |
| Function, rgbspace-to-xyz-matrix : | | Exported functions |
| Function, rgbspace-xb : | | Exported functions |
| Function, rgbspace-xg : | | Exported functions |
| Function, rgbspace-xr : | | Exported functions |
| Function, rgbspace-yb : | | Exported functions |
| Function, rgbspace-yg : | | Exported functions |
| Function, rgbspace-yr : | | Exported functions |
| Function, rough-lchab-to-mhvc : | | Internal functions |
| Function, spectrum-sum : | | Exported functions |
| Function, spectrum-to-xyz : | | Exported functions |
| Function, subtract-with-mod : | | Internal functions |
| Function, test-inverter : | | Internal functions |
| Function, test-inverter2 : | | Internal functions |
| Function, test-inverter3 : | | Internal functions |
| Function, test-value-to-y : | | Internal functions |
| Function, xyy-to-lab : | | Internal functions |
| Function, xyy-to-lchab : | | Internal functions |
| Function, xyy-to-xyz : | | Exported functions |
| Function, xyz-deltae : | | Exported functions |
| Function, xyz-deltae00 : | | Exported functions |
| Function, xyz-deltae94 : | | Exported functions |
| Function, xyz-to-hsl : | | Exported functions |
| Function, xyz-to-hsv : | | Exported functions |
| Function, xyz-to-int : | | Exported functions |
| Function, xyz-to-lab : | | Exported functions |
| Function, xyz-to-lchab : | | Exported functions |
| Function, xyz-to-lchuv : | | Exported functions |
| Function, xyz-to-lms : | | Exported functions |
| Function, xyz-to-lrgb : | | Exported functions |
| Function, xyz-to-luv : | | Exported functions |
| Function, xyz-to-mhvc : | | Exported functions |
| Function, xyz-to-munsell : | | Exported functions |
| Function, xyz-to-qrgb : | | Exported functions |
| Function, xyz-to-rgb : | | Exported functions |
| Function, xyz-to-spectrum : | | Exported functions |
| Function, xyz-to-xyy : | | Exported functions |
| Function, y-to-lstar : | | Internal functions |
| Function, y-to-munsell-value : | | Exported functions |
| function-f : | | Internal functions |
|
G | | |
| gen-cat-function : | | Exported functions |
| gen-delinearizer : | | Exported functions |
| gen-deltae-symbols : | | Exported functions |
| gen-illum-d-spectrum : | | Exported functions |
| gen-linearizer : | | Exported functions |
| gen-rgbspace-changer : | | Exported functions |
| gen-spectrum : | | Exported functions |
| Generic Function, (setf cond-chroma) : | | Internal generic functions |
| Generic Function, (setf cond-illuminant) : | | Internal generic functions |
| Generic Function, (setf cond-message) : | | Internal generic functions |
| Generic Function, (setf cond-spec) : | | Internal generic functions |
| Generic Function, (setf cond-value) : | | Internal generic functions |
| Generic Function, cond-chroma : | | Internal generic functions |
| Generic Function, cond-illuminant : | | Internal generic functions |
| Generic Function, cond-message : | | Internal generic functions |
| Generic Function, cond-spec : | | Internal generic functions |
| Generic Function, cond-value : | | Internal generic functions |
|
H | | |
| hsl-to-qrgb : | | Exported functions |
| hsl-to-rgb : | | Exported functions |
| hsl-to-xyz : | | Exported functions |
| hsv-to-qrgb : | | Exported functions |
| hsv-to-rgb : | | Exported functions |
| hsv-to-xyz : | | Exported functions |
|
I | | |
| illuminant-no-spd-p : | | Internal functions |
| illuminant-observer : | | Exported functions |
| illuminant-p : | | Internal functions |
| illuminant-small-x : | | Exported functions |
| illuminant-small-y : | | Exported functions |
| illuminant-spectrum : | | Exported functions |
| illuminant-to-spectrum-matrix : | | Internal functions |
| illuminant-x : | | Exported functions |
| illuminant-y : | | Exported functions |
| illuminant-z : | | Exported functions |
| int-to-lrgb : | | Exported functions |
| int-to-qrgb : | | Exported functions |
| int-to-qrgba : | | Internal functions |
| int-to-rgb : | | Exported functions |
| int-to-xyz : | | Exported functions |
| invert-matrix33 : | | Internal functions |
| invert-mhvc-to-lchab : | | Internal functions |
|
L | | |
| lab-to-lchab : | | Exported functions |
| lab-to-xyy : | | Internal functions |
| lab-to-xyz : | | Exported functions |
| lchab-to-lab : | | Exported functions |
| lchab-to-mhvc-illum-c : | | Exported functions |
| lchab-to-munsell-illum-c : | | Exported functions |
| lchab-to-xyy : | | Internal functions |
| lchab-to-xyz : | | Exported functions |
| lchuv-to-luv : | | Exported functions |
| lchuv-to-xyz : | | Exported functions |
| linearize : | | Exported functions |
| linearize-prophoto : | | Internal functions |
| linearize-scrgb-nl : | | Internal functions |
| linearize-srgb : | | Internal functions |
| lms-to-xyz : | | Exported functions |
| lrgb-out-of-gamut-p : | | Exported functions |
| lrgb-to-int : | | Exported functions |
| lrgb-to-qrgb : | | Exported functions |
| lrgb-to-rgb : | | Exported functions |
| lrgb-to-xyz : | | Exported functions |
| lstar-to-munsell-value : | | Internal functions |
| lstar-to-y : | | Exported functions |
| luv-to-lchuv : | | Exported functions |
| luv-to-xyz : | | Exported functions |
|
M | | |
| Macro, def-cat-function : | | Exported macros |
| Macro, defdeltae : | | Internal macros |
| Macro, dotimes-unroll : | | Internal macros |
| Macro, simple-time : | | Internal macros |
| Macro, subseq-values : | | Internal macros |
| Macro, time-after-gc : | | Internal macros |
| Macro, with-double-float : | | Internal macros |
| Macro, with-profile : | | Internal macros |
| make-cat : | | Exported functions |
| make-illum-d-spectrum-array : | | Internal functions |
| make-illuminant : | | Exported functions |
| make-illuminant-by-spd : | | Exported functions |
| make-observer : | | Exported functions |
| make-rgbspace : | | Exported functions |
| max-chroma-in-mrd : | | Exported functions |
| max-chroma-lchab : | | Internal functions |
| Method, (setf cond-chroma) : | | Internal generic functions |
| Method, (setf cond-illuminant) : | | Internal generic functions |
| Method, (setf cond-message) : | | Internal generic functions |
| Method, (setf cond-spec) : | | Internal generic functions |
| Method, (setf cond-value) : | | Internal generic functions |
| Method, cond-chroma : | | Internal generic functions |
| Method, cond-illuminant : | | Internal generic functions |
| Method, cond-message : | | Internal generic functions |
| Method, cond-spec : | | Internal generic functions |
| Method, cond-value : | | Internal generic functions |
| mhvc-invalid-p : | | Internal functions |
| mhvc-out-of-mrd-p : | | Exported functions |
| mhvc-to-lchab-all-integer-case : | | Internal functions |
| mhvc-to-lchab-general-case : | | Internal functions |
| mhvc-to-lchab-illum-c : | | Exported functions |
| mhvc-to-lchab-value-chroma-integer-case : | | Internal functions |
| mhvc-to-lchab-value-integer-case : | | Internal functions |
| mhvc-to-lrgb : | | Exported functions |
| mhvc-to-munsell : | | Exported functions |
| mhvc-to-qrgb : | | Exported functions |
| mhvc-to-xyy : | | Exported functions |
| mhvc-to-xyz : | | Exported functions |
| mhvc-to-xyz-illum-c : | | Exported functions |
| multiply-mat-mat : | | Internal functions |
| multiply-mat-vec : | | Internal functions |
| multiply-matrices : | | Internal functions |
| munsell-out-of-mrd-p : | | Exported functions |
| munsell-to-lchab-illum-c : | | Exported functions |
| munsell-to-mhvc : | | Exported functions |
| munsell-to-qrgb : | | Exported functions |
| munsell-to-xyy : | | Exported functions |
| munsell-to-xyz : | | Exported functions |
| munsell-to-xyz-illum-c : | | Exported functions |
| munsell-value-to-achromatic-xyy : | | Internal functions |
| munsell-value-to-achromatic-xyy-from-mrd : | | Internal functions |
| munsell-value-to-lstar : | | Internal functions |
| munsell-value-to-y : | | Exported functions |
|
N | | |
| nearly-equal : | | Exported functions |
| nearly<= : | | Exported functions |
| nearly= : | | Exported functions |
|
O | | |
| observer-begin-wl : | | Exported functions |
| observer-cmf : | | Exported functions |
| observer-cmf-arr : | | Exported functions |
| observer-cmf-x : | | Exported functions |
| observer-cmf-y : | | Exported functions |
| observer-cmf-z : | | Exported functions |
| observer-end-wl : | | Exported functions |
| observer-p : | | Internal functions |
| optimal-spectrum : | | Exported functions |
|
Q | | |
| qrgb-deltae : | | Exported functions |
| qrgb-deltae00 : | | Exported functions |
| qrgb-deltae94 : | | Exported functions |
| qrgb-out-of-gamut-p : | | Exported functions |
| qrgb-to-hsl : | | Exported functions |
| qrgb-to-hsv : | | Exported functions |
| qrgb-to-int : | | Exported functions |
| qrgb-to-lrgb : | | Exported functions |
| qrgb-to-munsell-value : | | Internal functions |
| qrgb-to-rgb : | | Exported functions |
| qrgb-to-xyz : | | Exported functions |
| qrgba-to-int : | | Internal functions |
|
R | | |
| rgb-out-of-gamut-p : | | Exported functions |
| rgb-to-hsl : | | Exported functions |
| rgb-to-hsv : | | Exported functions |
| rgb-to-int : | | Exported functions |
| rgb-to-lrgb : | | Exported functions |
| rgb-to-qrgb : | | Exported functions |
| rgb-to-xyz : | | Exported functions |
| rgbspace-bit-per-channel : | | Exported functions |
| rgbspace-delinearizer : | | Internal functions |
| rgbspace-from-xyz-matrix : | | Exported functions |
| rgbspace-illuminant : | | Exported functions |
| rgbspace-len : | | Internal functions |
| rgbspace-len/qmax-float : | | Internal functions |
| rgbspace-linearizer : | | Internal functions |
| rgbspace-lmax : | | Exported functions |
| rgbspace-lmin : | | Exported functions |
| rgbspace-max : | | Exported functions |
| rgbspace-min : | | Exported functions |
| rgbspace-normal : | | Exported functions |
| rgbspace-p : | | Internal functions |
| rgbspace-qmax : | | Exported functions |
| rgbspace-qmax-float : | | Internal functions |
| rgbspace-qmax-float/len : | | Internal functions |
| rgbspace-to-xyz-matrix : | | Exported functions |
| rgbspace-xb : | | Exported functions |
| rgbspace-xg : | | Exported functions |
| rgbspace-xr : | | Exported functions |
| rgbspace-yb : | | Exported functions |
| rgbspace-yg : | | Exported functions |
| rgbspace-yr : | | Exported functions |
| rough-lchab-to-mhvc : | | Internal functions |
|
S | | |
| simple-time : | | Internal macros |
| spectrum-sum : | | Exported functions |
| spectrum-to-xyz : | | Exported functions |
| subseq-values : | | Internal macros |
| subtract-with-mod : | | Internal functions |
|
T | | |
| test-inverter : | | Internal functions |
| test-inverter2 : | | Internal functions |
| test-inverter3 : | | Internal functions |
| test-value-to-y : | | Internal functions |
| time-after-gc : | | Internal macros |
|
W | | |
| with-double-float : | | Internal macros |
| with-profile : | | Internal macros |
|
X | | |
| xyy-to-lab : | | Internal functions |
| xyy-to-lchab : | | Internal functions |
| xyy-to-xyz : | | Exported functions |
| xyz-deltae : | | Exported functions |
| xyz-deltae00 : | | Exported functions |
| xyz-deltae94 : | | Exported functions |
| xyz-to-hsl : | | Exported functions |
| xyz-to-hsv : | | Exported functions |
| xyz-to-int : | | Exported functions |
| xyz-to-lab : | | Exported functions |
| xyz-to-lchab : | | Exported functions |
| xyz-to-lchuv : | | Exported functions |
| xyz-to-lms : | | Exported functions |
| xyz-to-lrgb : | | Exported functions |
| xyz-to-luv : | | Exported functions |
| xyz-to-mhvc : | | Exported functions |
| xyz-to-munsell : | | Exported functions |
| xyz-to-qrgb : | | Exported functions |
| xyz-to-rgb : | | Exported functions |
| xyz-to-spectrum : | | Exported functions |
| xyz-to-xyy : | | Exported functions |
|
Y | | |
| y-to-lstar : | | Internal functions |
| y-to-munsell-value : | | Exported functions |
|
A.3 Variables
| Index Entry | | Section |
|
* | | |
| *bit-most-positive-fixnum* : | | Internal special variables |
| *maximum-chroma* : | | Exported special variables |
|
+ | | |
| +360/two-pi+ : | | Internal constants |
| +adobe+ : | | Exported special variables |
| +adobe-16+ : | | Exported special variables |
| +bg-srgb-10+ : | | Exported special variables |
| +bg-srgb-12+ : | | Exported special variables |
| +bg-srgb-16+ : | | Exported special variables |
| +bradford+ : | | Exported special variables |
| +cat02+ : | | Exported special variables |
| +cat97s-revised+ : | | Exported special variables |
| +cmccat2000+ : | | Exported special variables |
| +cmccat97+ : | | Exported special variables |
| +empty-matrix+ : | | Internal special variables |
| +identity-matrix+ : | | Internal special variables |
| +illum-a+ : | | Exported special variables |
| +illum-b+ : | | Internal special variables |
| +illum-c+ : | | Exported special variables |
| +illum-c-arr+ : | | Internal special variables |
| +illum-d50+ : | | Exported special variables |
| +illum-d65+ : | | Exported special variables |
| +illum-e+ : | | Exported special variables |
| +ntsc1953+ : | | Exported special variables |
| +obs-cie1931+ : | | Exported special variables |
| +obs-cie1964+ : | | Exported special variables |
| +pal/secam+ : | | Exported special variables |
| +prophoto+ : | | Exported special variables |
| +prophoto-12+ : | | Exported special variables |
| +prophoto-16+ : | | Exported special variables |
| +s0-arr+ : | | Internal special variables |
| +s0-func+ : | | Internal special variables |
| +s1-arr+ : | | Internal special variables |
| +s1-func+ : | | Internal special variables |
| +s2-arr+ : | | Internal special variables |
| +s2-func+ : | | Internal special variables |
| +scrgb-16+ : | | Exported special variables |
| +scrgb-nl+ : | | Exported special variables |
| +srgb+ : | | Exported special variables |
| +two-pi/360+ : | | Internal constants |
| +von-kries+ : | | Exported special variables |
| +wide-gamut+ : | | Exported special variables |
| +xyz-scaling+ : | | Exported special variables |
|
B | | |
| begin-wl : | | Exported structures |
| bit-per-channel : | | Exported structures |
|
C | | |
| chroma : | | Exported conditions |
| cmf : | | Exported structures |
| cmf-arr : | | Exported structures |
| cmf-arr-cie1931 : | | Internal special variables |
| cmf-arr-cie1964 : | | Internal special variables |
| cmf-x : | | Exported structures |
| cmf-y : | | Exported structures |
| cmf-z : | | Exported structures |
| Constant, +360/two-pi+ : | | Internal constants |
| Constant, +two-pi/360+ : | | Internal constants |
| Constant, two-pi : | | Internal constants |
|
D | | |
| delinearizer : | | Exported structures |
|
E | | |
| end-wl : | | Exported structures |
|
F | | |
| from-xyz-matrix : | | Exported structures |
|
I | | |
| illuminant : | | Exported conditions |
| illuminant : | | Exported structures |
| inv-matrix : | | Exported structures |
|
L | | |
| len : | | Exported structures |
| len/qmax-float : | | Exported structures |
| linearizer : | | Exported structures |
| lmax : | | Exported structures |
| lmin : | | Exported structures |
|
M | | |
| matrix : | | Exported structures |
| max : | | Exported structures |
| max-chroma-arr : | | Internal special variables |
| max-chroma-arr-dark : | | Internal special variables |
| message : | | Exported conditions |
| min : | | Exported structures |
| mrd-array-c-h : | | Internal special variables |
| mrd-array-c-h-dark : | | Internal special variables |
| mrd-array-l : | | Internal special variables |
| mrd-array-l-dark : | | Internal special variables |
|
N | | |
| normal : | | Exported structures |
|
O | | |
| observer : | | Exported structures |
|
Q | | |
| qmax : | | Exported structures |
| qmax-float : | | Exported structures |
| qmax-float/len : | | Exported structures |
|
S | | |
| Slot, begin-wl : | | Exported structures |
| Slot, bit-per-channel : | | Exported structures |
| Slot, chroma : | | Exported conditions |
| Slot, cmf : | | Exported structures |
| Slot, cmf-arr : | | Exported structures |
| Slot, cmf-x : | | Exported structures |
| Slot, cmf-y : | | Exported structures |
| Slot, cmf-z : | | Exported structures |
| Slot, delinearizer : | | Exported structures |
| Slot, end-wl : | | Exported structures |
| Slot, from-xyz-matrix : | | Exported structures |
| Slot, illuminant : | | Exported conditions |
| Slot, illuminant : | | Exported structures |
| Slot, inv-matrix : | | Exported structures |
| Slot, len : | | Exported structures |
| Slot, len/qmax-float : | | Exported structures |
| Slot, linearizer : | | Exported structures |
| Slot, lmax : | | Exported structures |
| Slot, lmin : | | Exported structures |
| Slot, matrix : | | Exported structures |
| Slot, max : | | Exported structures |
| Slot, message : | | Exported conditions |
| Slot, min : | | Exported structures |
| Slot, normal : | | Exported structures |
| Slot, observer : | | Exported structures |
| Slot, qmax : | | Exported structures |
| Slot, qmax-float : | | Exported structures |
| Slot, qmax-float/len : | | Exported structures |
| Slot, small-x : | | Exported structures |
| Slot, small-y : | | Exported structures |
| Slot, spec : | | Exported conditions |
| Slot, spectrum : | | Exported structures |
| Slot, to-spectrum-matrix : | | Exported structures |
| Slot, to-xyz-matrix : | | Exported structures |
| Slot, value : | | Exported conditions |
| Slot, x : | | Exported structures |
| Slot, xb : | | Exported structures |
| Slot, xg : | | Exported structures |
| Slot, xr : | | Exported structures |
| Slot, y : | | Exported structures |
| Slot, yb : | | Exported structures |
| Slot, yg : | | Exported structures |
| Slot, yr : | | Exported structures |
| Slot, z : | | Exported structures |
| small-x : | | Exported structures |
| small-y : | | Exported structures |
| spec : | | Exported conditions |
| Special Variable, *bit-most-positive-fixnum* : | | Internal special variables |
| Special Variable, *maximum-chroma* : | | Exported special variables |
| Special Variable, +adobe+ : | | Exported special variables |
| Special Variable, +adobe-16+ : | | Exported special variables |
| Special Variable, +bg-srgb-10+ : | | Exported special variables |
| Special Variable, +bg-srgb-12+ : | | Exported special variables |
| Special Variable, +bg-srgb-16+ : | | Exported special variables |
| Special Variable, +bradford+ : | | Exported special variables |
| Special Variable, +cat02+ : | | Exported special variables |
| Special Variable, +cat97s-revised+ : | | Exported special variables |
| Special Variable, +cmccat2000+ : | | Exported special variables |
| Special Variable, +cmccat97+ : | | Exported special variables |
| Special Variable, +empty-matrix+ : | | Internal special variables |
| Special Variable, +identity-matrix+ : | | Internal special variables |
| Special Variable, +illum-a+ : | | Exported special variables |
| Special Variable, +illum-b+ : | | Internal special variables |
| Special Variable, +illum-c+ : | | Exported special variables |
| Special Variable, +illum-c-arr+ : | | Internal special variables |
| Special Variable, +illum-d50+ : | | Exported special variables |
| Special Variable, +illum-d65+ : | | Exported special variables |
| Special Variable, +illum-e+ : | | Exported special variables |
| Special Variable, +ntsc1953+ : | | Exported special variables |
| Special Variable, +obs-cie1931+ : | | Exported special variables |
| Special Variable, +obs-cie1964+ : | | Exported special variables |
| Special Variable, +pal/secam+ : | | Exported special variables |
| Special Variable, +prophoto+ : | | Exported special variables |
| Special Variable, +prophoto-12+ : | | Exported special variables |
| Special Variable, +prophoto-16+ : | | Exported special variables |
| Special Variable, +s0-arr+ : | | Internal special variables |
| Special Variable, +s0-func+ : | | Internal special variables |
| Special Variable, +s1-arr+ : | | Internal special variables |
| Special Variable, +s1-func+ : | | Internal special variables |
| Special Variable, +s2-arr+ : | | Internal special variables |
| Special Variable, +s2-func+ : | | Internal special variables |
| Special Variable, +scrgb-16+ : | | Exported special variables |
| Special Variable, +scrgb-nl+ : | | Exported special variables |
| Special Variable, +srgb+ : | | Exported special variables |
| Special Variable, +von-kries+ : | | Exported special variables |
| Special Variable, +wide-gamut+ : | | Exported special variables |
| Special Variable, +xyz-scaling+ : | | Exported special variables |
| Special Variable, cmf-arr-cie1931 : | | Internal special variables |
| Special Variable, cmf-arr-cie1964 : | | Internal special variables |
| Special Variable, max-chroma-arr : | | Internal special variables |
| Special Variable, max-chroma-arr-dark : | | Internal special variables |
| Special Variable, mrd-array-c-h : | | Internal special variables |
| Special Variable, mrd-array-c-h-dark : | | Internal special variables |
| Special Variable, mrd-array-l : | | Internal special variables |
| Special Variable, mrd-array-l-dark : | | Internal special variables |
| Special Variable, y-to-munsell-value-arr : | | Internal special variables |
| spectrum : | | Exported structures |
|
T | | |
| to-spectrum-matrix : | | Exported structures |
| to-xyz-matrix : | | Exported structures |
| two-pi : | | Internal constants |
|
V | | |
| value : | | Exported conditions |
|
X | | |
| x : | | Exported structures |
| xb : | | Exported structures |
| xg : | | Exported structures |
| xr : | | Exported structures |
|
Y | | |
| y : | | Exported structures |
| y-to-munsell-value-arr : | | Internal special variables |
| yb : | | Exported structures |
| yg : | | Exported structures |
| yr : | | Exported structures |
|
Z | | |
| z : | | Exported structures |
|
A.4 Data types
| Index Entry | | Section |
|
C | | |
| cat : | | Exported structures |
| Condition, invalid-mhvc-error : | | Exported conditions |
| Condition, large-approximation-error : | | Exported conditions |
| Condition, munsellspec-parse-error : | | Exported conditions |
| Condition, no-spd-error : | | Exported conditions |
|
D | | |
| dufy : | | The dufy system |
| dufy : | | The dufy package |
| dufy.package.definition : | | The dufy<dot>package<dot>definition package |
|
I | | |
| illuminant : | | Exported structures |
| invalid-mhvc-error : | | Exported conditions |
|
L | | |
| large-approximation-error : | | Exported conditions |
|
M | | |
| matrix33 : | | Internal types |
| munsellspec-parse-error : | | Exported conditions |
|
N | | |
| no-spd-error : | | Exported conditions |
|
O | | |
| observer : | | Exported structures |
|
P | | |
| Package, dufy : | | The dufy package |
| Package, dufy.package.definition : | | The dufy<dot>package<dot>definition package |
|
R | | |
| rgbspace : | | Exported structures |
|
S | | |
| single-valued-function : | | Internal types |
| spectrum-function : | | Internal types |
| Structure, cat : | | Exported structures |
| Structure, illuminant : | | Exported structures |
| Structure, observer : | | Exported structures |
| Structure, rgbspace : | | Exported structures |
| System, dufy : | | The dufy system |
|
T | | |
| Type, matrix33 : | | Internal types |
| Type, single-valued-function : | | Internal types |
| Type, spectrum-function : | | Internal types |
|