Lab2RGB: Lab2RGB

Description Usage Arguments Value Author(s) References See Also Examples

Description

Convert a matrix of points in Lab color space to RGB points.

Usage

1
Lab2RGB(mat)

Arguments

mat

matrix of row-elements (points in Lab color space, L should scale in [0,100], and (a,b) in [-110,110]).

Value

matrix of row-elements (points with R, G and B values in [0,1]).

Author(s)

Pierrick Bruneau

References

This transform is based on ITU-R BT 709, using the D65 white point reference. See http://fr.wikipedia.org/wiki/Rec.(underscore)709 for details. also see http://www.easyrgb.com/index.php?X=MATH

See Also

Lab2RGB

Examples

1
2
3
dat <- matrix(runif(30), ncol=3)
labdat <- RGB2Lab(dat)
rgbdat <- Lab2RGB(labdat)

Example output

Loading required package: grid
Loading required package: datautils
Loading required package: deldir
deldir 0.1-14
Loading required package: gplots

Attaching package: 'gplots'

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

    lowess

patchPlot documentation built on May 1, 2019, 8:20 p.m.

Related to Lab2RGB in patchPlot...