Search code examples
imagematlabcolorstransformationyuv

YUV to XYZ conversion


I would like to convert 10 bit, bt.2020 YUV color image to XYZ color components. Are there anybody help me for this?

Also, is Y components in YUV and L component in Lab same?


Solution

  • According to this document, Y in YUV is same as Y in CIE XYZ space. However, L in CIE LAB space has a nonlinear relation with Y. You can check the relation in the same document, equation 19.

    So the short answer to your question is no. Also, for colorspace conversion, I prefer this library.