Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

imager.colourspaces

Colour space conversions in imager


Description

All functions listed here assume the input image has three colour channels (spectrum(im) == 3)

Usage

RGBtoHSL(im)

RGBtoXYZ(im)

XYZtoRGB(im)

HSLtoRGB(im)

RGBtoHSV(im)

HSVtoRGB(im)

RGBtoHSI(im)

HSItoRGB(im)

RGBtosRGB(im)

sRGBtoRGB(im)

RGBtoYCbCr(im)

YCbCrtoRGB(im)

RGBtoYUV(im)

YUVtoRGB(im)

LabtoRGB(im)

RGBtoLab(im)

LabtoXYZ(im)

XYZtoLab(im)

LabtosRGB(im)

sRGBtoLab(im)

Arguments

im

an image

Functions

  • RGBtoHSL: RGB to HSL conversion

  • RGBtoXYZ: CIE RGB to CIE XYZ (1931) conversion, D65 white point

  • XYZtoRGB: CIE XYZ to CIE RGB (1931) conversion, D65 white point

  • HSLtoRGB: HSL to RGB conversion

  • RGBtoHSV: RGB to HSV conversion

  • HSVtoRGB: HSV to RGB conversion

  • RGBtoHSI: RGB to HSI conversion

  • HSItoRGB: HSI to RGB conversion

  • RGBtosRGB: RGB to sRGB conversion

  • sRGBtoRGB: sRGB to RGB conversion

  • RGBtoYCbCr: RGB to YCbCr conversion

  • YCbCrtoRGB: YCbCr to RGB conversion

  • RGBtoYUV: RGB to YUV conversion

  • YUVtoRGB: YUV to RGB conversion

  • LabtoRGB: Lab to RGB (linear)

  • RGBtoLab: RGB (linear) to Lab

  • LabtoXYZ: Lab to XYZ

  • XYZtoLab: XYZ to Lab

  • LabtosRGB: Lab to sRGB

  • sRGBtoLab: sRGB to Lab


imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.