Commit f975dce
committed
Use ROMM RGB -> XYZ(D50) matrix and adapt
Add the published ROMM RGB to XYZ(D50) 4x4 matrix and D50 whitepoint offsets. Replace the previous direct conversion to XYZ D65 with a two-step process: apply the ROMM->XYZ(D50) matrix, then perform a Bradford (von Kries) adaptation from D50 to D65. This aligns the transform with the published ROMM spec and makes the chromatic adaptation explicit.
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>1 parent 006c53b commit f975dce
1 file changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
35 | 49 | | |
36 | 50 | | |
37 | 51 | | |
| |||
113 | 127 | | |
114 | 128 | | |
115 | 129 | | |
116 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
117 | 134 | | |
118 | | - | |
| 135 | + | |
| 136 | + | |
119 | 137 | | |
120 | 138 | | |
121 | 139 | | |
| |||
0 commit comments