ChromaticAdaptation: Chromatic adaptation algorithms

Description Usage Format Author(s) Source References Examples

Description

ChromaticAdaptation chromatic adaptation algorithms implemented as a linear transformation (XYZ Scaling, Bradford and Von Kries).

Usage

1

Format

This array frame contains the following dimensions:

1

rows transformation matrix 3x3

2

columns transformation matrix 3x3

3

linear transformation (XYZ Scaling, Bradford or Von Kries)

4

transformation "direct" or "inverse"

Author(s)

Jose Gama

Source

Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com/

References

Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com/

Examples

1
2

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: munsellinterpol
Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: pracma

Attaching package: 'pracma'

The following object is masked from 'package:munsellinterpol':

    hypot

The following objects are masked from 'package:geometry':

    dot, polyarea

The following object is masked from 'package:magic':

    magic

The following object is masked from 'package:Hmisc':

    ceil

Loading required package: sp

Attaching package: 'colorscience'

The following objects are masked from 'package:munsellinterpol':

    XYZ2xyY, xyY2XYZ

, , XYZScaling, direct

     [,1] [,2] [,3]
[1,]    1    0    0
[2,]    0    1    0
[3,]    0    0    1

, , Bradford, direct

        [,1]    [,2]    [,3]
[1,]  0.8951  0.2664 -0.1614
[2,] -0.7502  1.7135  0.0367
[3,]  0.0389 -0.0685  1.0296

, , VonKries, direct

         [,1]    [,2]     [,3]
[1,]  0.40024 0.70760 -0.08081
[2,] -0.22630 1.16532  0.04570
[3,]  0.00000 0.00000  0.91822

, , XYZScaling, inverse

     [,1] [,2] [,3]
[1,]    1    0    0
[2,]    0    1    0
[3,]    0    0    1

, , Bradford, inverse

           [,1]       [,2]      [,3]
[1,]  0.9869929 -0.1470543 0.1599627
[2,]  0.4323053  0.5183603 0.0492912
[3,] -0.0085287  0.0400428 0.9684867

, , VonKries, inverse

          [,1]       [,2]       [,3]
[1,] 1.8599364 -1.1293816  0.2198974
[2,] 0.3611914  0.6388125 -0.0000064
[3,] 0.0000000  0.0000000  1.0890636

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.