RGB to YUV conversion is and YUV to RGB conversion is so simple.There are two different formulas for these two operation:-
RGB to YUV Conversion
Y =ceil ( (0.257 * R) + (0.504 * G) + (0.098 * B) + 16) V = ceil ((0.439 * R) - (0.368 * G) - (0.071 * B) + 128) U = ceil(-(0.148 * R) - (0.291 * G) + (0.439 * B) + 128)
No comments:
Post a Comment