(Created page with 'Bli !') |
|||
Line 1: | Line 1: | ||
− | + | As seen in the [[Colorimetry]] page, it's important to understand the difference between [[Colorimetry#Absolute_Color_Space|Absolute (or device-independent) Color Space]] (''.e.g.'' CIEXYZ, CIExyY, CIELAB) and device-dependent colors spaces (''e.g.'' RGB, HSL, HSB, HSV). | |
+ | |||
+ | For example, it makes sense to convert from a device-dependent [[Colorimetry#RGB|RGB]] space to a [[Colorimetry#HSL_and_HSV|HSL]] space since, even though they are both device-dependent, they are defined in the same "dependent space". | ||
+ | |||
+ | Also, it makes sense to convert from 2 device-independent spaces like CIEXYZ and CIELAB. | ||
+ | |||
+ | Most importantly, the conversions between device-dependent color spaces and device-independent color spaces must '''always''' be accompanied by a [[Color_Profile|Color Profile]] that appropriately describes the ''dependence to the device''. | ||
+ | |||
+ | |||
+ | =Device-Dependent Color Space Conversions= | ||
+ | Here, we will list the different conversions between device-dependent color spaces. | ||
+ | |||
+ | ==RGB / HSL== | ||
+ | |||
+ | ==RGB / HSV== | ||
+ | |||
+ | ==RGB / YUV== | ||
+ | |||
+ | |||
+ | =Device-Independent Color Space Conversions= | ||
+ | Here, we will list the different conversions between device-independent color spaces. | ||
+ | |||
+ | ==XYZ / xyY== | ||
+ | |||
+ | ==XYZ / Lab== | ||
+ | |||
+ | |||
+ | =Device-dependent / Device-independent Color Space Conversions= | ||
+ | |||
+ | ==RGB (in sRGB) / XYZ== | ||
+ | |||
+ | ==RGB (in Adobe RGB) / XYZ== | ||
+ | |||
+ | ==RGB (with custom profile) / XYZ== |
Revision as of 17:18, 1 January 2012
As seen in the Colorimetry page, it's important to understand the difference between Absolute (or device-independent) Color Space (.e.g. CIEXYZ, CIExyY, CIELAB) and device-dependent colors spaces (e.g. RGB, HSL, HSB, HSV).
For example, it makes sense to convert from a device-dependent RGB space to a HSL space since, even though they are both device-dependent, they are defined in the same "dependent space".
Also, it makes sense to convert from 2 device-independent spaces like CIEXYZ and CIELAB.
Most importantly, the conversions between device-dependent color spaces and device-independent color spaces must always be accompanied by a Color Profile that appropriately describes the dependence to the device.
Contents
Device-Dependent Color Space Conversions
Here, we will list the different conversions between device-dependent color spaces.
RGB / HSL
RGB / HSV
RGB / YUV
Device-Independent Color Space Conversions
Here, we will list the different conversions between device-independent color spaces.