The formula is :
Y = (y - 128) * C /128 + (B - 128) + 128. //About add 128 is ture or error ?
Cb = [ (Cb - 128)*cos(H) + (Cr - 128)*sin(H)] * S/64 + 128.
Cr = [-(Cb - 128)*sin(H) + (Cr - 128)*cos(H)]* S/64 + 128.
If you have any question,you can leave a message for me.I will ask you at the first time.
时间: 2025-01-02 16:15:42