Extension to color data


When considering RGB color data, we first apply a transformation to
a luminance-chrominance color space.

In particular, here we consider the “opponent” and the YUV color spaces.
Transformation to these spaces can be obtained using the following matrices:




Often the data is already given in YUV (or similar) format.

continue...