diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-09-23 21:57:45 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-09-23 21:57:45 +0200 |
| commit | 4154609e5de76bc8858d3f86e0af09ba2700c488 (patch) | |
| tree | 853583f99e97895a51db57d0e66672672d20c2f9 /TODO | |
| parent | Fix conversion of Y value (diff) | |
| download | blind-4154609e5de76bc8858d3f86e0af09ba2700c488.tar.gz blind-4154609e5de76bc8858d3f86e0af09ba2700c488.tar.bz2 blind-4154609e5de76bc8858d3f86e0af09ba2700c488.tar.xz | |
Fix colour distortion
This matrices are not convert to or from the proper YUV colour space both
rather the ones used in videos. srgb_to_yuv was created by converting the
image [sRGB(100%, 0, 0); sRGB(0, 100%, 0); sRGB(0, 0, 100%)] to YUV with
FFmpeg and transposing the matrix. yuv_to_srgb is the inversion of that
matrix, the values in the first column should all be 1 but are not due to
rounding/truncation error.
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'TODO')
| -rw-r--r-- | TODO | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1,5 +1,3 @@ -Conversion either from or to video changes the brightness of the primitives (but not greys) - blind-transform affine transformation by matrix multiplication, -[xy] for tiling, -s for improve quality on downscaling (pixels' neighbours must not change) blind-apply-map remap pixels (distortion) using the X and Y values, -[xy] for tiling, -s for |
