Color-0.3.3: Color spaces and conversions between them
Copyright(c) Alexey Kuleshevich 2019-2020
LicenseBSD3
MaintainerAlexey Kuleshevich <lehins@yandex.ru>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Graphics.Color.Illuminant.ITU.Rec601

Description

 
Synopsis

Documentation

data D65 Source #

Whitepoint D65 that is so commonly used for sRGB and other color spaces defined by ITU: Rec.601 (525 and 625) and Rec.709 standards. It is slightly different than D65 that is defined by CIE1931 and D65 specified in Rec.470.

>>> whitePoint :: WhitePoint D65 Float
WhitePoint (Chromaticity {chromaticityCIExyY = <CIExyY * D65:( 0.31270000, 0.32900000)>})
>>> whitePointTristimulus :: Color (XYZ D65) Float
<XYZ * D65:( 0.95045596, 1.00000000, 1.08905770)>
>>> colorTemperature :: CCT D65
CCT {unCCT = 6504.0}

Since: 0.1.0

Instances

Instances details
Illuminant D65 Source #

[x=0.3127, y=0.3290] - Rec. ITU-R BT.601-7, Rec. ITU-R BT.709-6, IEC 61966-2-1:1999

Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec601

Associated Types

type Temperature D65 :: n Source #

RedGreenBlue BT601_625 D65 Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

RedGreenBlue BT601_525 D65 Source #

ITU-R BT.601 (525) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

RedGreenBlue BT709 D65 Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Methods

gamut :: RealFloat e => Gamut BT709 D65 e Source #

transfer :: RealFloat e => e -> e Source #

itransfer :: RealFloat e => e -> e Source #

npm :: (ColorSpace (BT709 'Linear) D65 e, RealFloat e) => NPM BT709 e Source #

inpm :: (ColorSpace (BT709 'Linear) D65 e, RealFloat e) => INPM BT709 e Source #

mkColorRGB :: forall e (l :: Linearity). Color RGB e -> Color (BT709 l) e Source #

unColorRGB :: forall (l :: Linearity) e. Color (BT709 l) e -> Color RGB e Source #

RedGreenBlue AdobeRGB D65 Source #

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

RedGreenBlue SRGB D65 Source #

SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Methods

gamut :: RealFloat e => Gamut SRGB D65 e Source #

transfer :: RealFloat e => e -> e Source #

itransfer :: RealFloat e => e -> e Source #

npm :: (ColorSpace (SRGB 'Linear) D65 e, RealFloat e) => NPM SRGB e Source #

inpm :: (ColorSpace (SRGB 'Linear) D65 e, RealFloat e) => INPM SRGB e Source #

mkColorRGB :: forall e (l :: Linearity). Color RGB e -> Color (SRGB l) e Source #

unColorRGB :: forall (l :: Linearity) e. Color (SRGB l) e -> Color RGB e Source #

Elevator e => ColorSpace (BT601_625 'Linear) D65 e Source #

ITU-R BT.601 (625) linear color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Elevator e => ColorSpace (BT601_625 'NonLinear) D65 e Source #

ITU-R BT.601 (625) color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Elevator e => ColorSpace (BT601_525 'Linear) D65 e Source #

ITU-R BT.601 (525) linear color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Elevator e => ColorSpace (BT601_525 'NonLinear) D65 e Source #

ITU-R BT.601 (525) linear color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec601

Elevator e => ColorSpace (BT709 'Linear) D65 e Source #

ITU-R BT.709 linear color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Associated Types

type BaseModel (BT709 'Linear) Source #

type BaseSpace (BT709 'Linear) Source #

Elevator e => ColorSpace (BT709 'NonLinear) D65 e Source #

ITU-R BT.709 color space

Instance details

Defined in Graphics.Color.Space.RGB.ITU.Rec709

Associated Types

type BaseModel (BT709 'NonLinear) Source #

type BaseSpace (BT709 'NonLinear) Source #

Elevator e => ColorSpace (AdobeRGB 'Linear) D65 e Source #

AdobeRGB linear color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Associated Types

type BaseModel (AdobeRGB 'Linear) Source #

type BaseSpace (AdobeRGB 'Linear) Source #

Elevator e => ColorSpace (AdobeRGB 'NonLinear) D65 e Source #

AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.AdobeRGB

Elevator e => ColorSpace (SRGB 'Linear) D65 e Source #

SRGB linear color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Associated Types

type BaseModel (SRGB 'Linear) Source #

type BaseSpace (SRGB 'Linear) Source #

Elevator e => ColorSpace (SRGB 'NonLinear) D65 e Source #

SRGB linear color space

Instance details

Defined in Graphics.Color.Space.RGB.SRGB

Associated Types

type BaseModel (SRGB 'NonLinear) Source #

type BaseSpace (SRGB 'NonLinear) Source #

Elevator e => ColorSpace (Y'CbCr BT601_625) D65 e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Elevator e => ColorSpace (Y'CbCr BT601_525) D65 e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Elevator e => ColorSpace (Y'CbCr BT709) D65 e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Associated Types

type BaseModel (Y'CbCr BT709) Source #

type BaseSpace (Y'CbCr BT709) Source #

Elevator e => ColorSpace (Y'CbCr SRGB) D65 e Source # 
Instance details

Defined in Graphics.Color.Space.RGB.Alternative.YCbCr

Associated Types

type BaseModel (Y'CbCr SRGB) Source #

type BaseSpace (Y'CbCr SRGB) Source #

ColorSpace (BT470_625 l) D65 e => ColorSpace (CMYK (BT470_625 l)) D65 e Source #

CMYK representation for BT470_625 color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (BT470_625 l)) Source #

type BaseSpace (CMYK (BT470_625 l)) Source #

ColorSpace (BT470_525 l) D65 e => ColorSpace (CMYK (BT470_525 l)) D65 e Source #

CMYK representation for BT470_525 color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (BT470_525 l)) Source #

type BaseSpace (CMYK (BT470_525 l)) Source #

ColorSpace (BT601_625 l) D65 e => ColorSpace (CMYK (BT601_625 l)) D65 e Source #

CMYK representation for BT601_625 color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (BT601_625 l)) Source #

type BaseSpace (CMYK (BT601_625 l)) Source #

ColorSpace (BT601_525 l) D65 e => ColorSpace (CMYK (BT601_525 l)) D65 e Source #

CMYK representation for BT601_525 color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (BT601_525 l)) Source #

type BaseSpace (CMYK (BT601_525 l)) Source #

ColorSpace (BT709 l) D65 e => ColorSpace (CMYK (BT709 l)) D65 e Source #

CMYK representation for BT709 color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (BT709 l)) Source #

type BaseSpace (CMYK (BT709 l)) Source #

ColorSpace (AdobeRGB l) D65 e => ColorSpace (CMYK (AdobeRGB l)) D65 e Source #

CMYK representation for AdobeRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (AdobeRGB l)) Source #

type BaseSpace (CMYK (AdobeRGB l)) Source #

ColorSpace (SRGB l) D65 e => ColorSpace (CMYK (SRGB l)) D65 e Source #

CMYK representation for SRGB color space

Instance details

Defined in Graphics.Color.Space.RGB.Alternative.CMYK

Associated Types

type BaseModel (CMYK (SRGB l)) Source #

type BaseSpace (CMYK (SRGB l)) Source #

type Temperature D65 Source # 
Instance details

Defined in Graphics.Color.Illuminant.ITU.Rec601

type Temperature D65 = 6504