Color Matrix for Saturation
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
Still loading...
ABCDEFGHIJKLMNOPQRSTU
1
RGB Type / Profile / Working SpaceWeight of R on Y (of XYZ)Weight of G on Y (of XYZ)Weight of B on Y (of XYZ)TotalReference:
2
HDTV (Rec.709), sRGB, PC, etc.0.212600000.715200000.072200001.00000000http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
3
Adobe RGB (1998)0.297376900.627349100.075274101.00000010http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
4
AppleRGB0.244652500.672028300.083319201.00000000http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
5
NTSC (Rec.601)0.299000000.587000000.114000001.00000000http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
6
CIE RGB0.176970000.812400000.010630001.00000000http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
7
Weights found on Web0.308600000.609400000.082000001.00000000http://www.opengl.org/archives/resources/code/samples/advanced/advanced97/notes/node140.html
8
9
*** It is WRONG to apply the color matrix on companded/non-linear RGB values (e.g. those stored in JPEG, PNG, etc.).
10
*** The choice of weights depends on the RGB type of the source image. (The results look very similar anyway.)
11
12
Chosen Weights0.212600000.715200000.07220000
13
Saturation Value1.200000001.200000001.20000000
14
Reference:
15
Color Matrix to increase saturation
1.15748000-0.14304000-0.014440001.00000000https://www.opengl.org/archives/resources/code/samples/advanced/advanced97/notes/node141.html
16
-0.042520001.05696000-0.014440001.00000000http://graficaobscura.com/matrix/index.html
17
-0.04252000-0.143040001.185560001.00000000
18
19
ImageMagick parameter-color-matrix "1.15748 -0.14304 -0.01444 -0.04252 1.05696 -0.01444 -0.04252 -0.14304 1.18556"
20
21
Sample Parameter to increase saturation of common sRGB images-colorspace RGB -color-matrix "1.15748 -0.14304 -0.01444 -0.04252 1.05696 -0.01444 -0.04252 -0.14304 1.18556" -colorspace sRGB
22
23
Sample Parameter to increase saturation of AdobeRGB images-gamma 0.4545454545 -color-matrix "1.14052462 -0.12546982 -0.01505482 -0.05947538 1.07453018 -0.01505482 -0.05947538 -0.12546982 1.18494518" -gamma 2.2
24
25
Sample Parameter to convert companded AdobeRGB to companded PC sRGB-gamma 0.4545454545 -color-matrix "1.398283 -0.398283 0 0 1 0 0 -0.042938 1.042938" -set colorspace RGB -colorspace sRGB
26
27
28
Note (20170602):http://en.wikipedia.org/wiki/YCbCr
29
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=16464
30
http://www.imagemagick.org/script/color-management.php
31
http://ninedegreesbelow.com/photography/xyz-rgb.html
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sample Params
calc
RGB-XYZ
Ref. White Adaptation