Quote:
|
Originally Posted by winners
I have some questions regarding CMUCam2's data packets, Type F data packet format,
well, first of, "RGB (CrYCb) ranges from 16 - 240" -> is it 1 number for the whole RGB or that R has a number that ranges from 16-240 and G has another one, and R has another one?
|
Each color has a number from 16-240.
Quote:
|
Originally Posted by winners
Secondly, can anyone please explain to me what is CrYCb and how it differs from YCbCr and is there any other type?
|
The diference is nothing but the order of the bytes that you receive. They are orcered that way so that the Chrominance (Cr being Red and Cb being Blue) and in the Red and Blue fields of the RGB. The leftover (Green) is used for the Luminance (Brightness).
Quote:
|
Originally Posted by winners
Last thing, "RGB (CrYCb) represents two pixels color values. Each pixel shares the red and blue." -> what does it mean: "shares"?
|
Meaning the G is the only independent color. So the first pixel is RGB, the next is BGR, the next is RGB, etc.
Code:
GBRGBRGBRGBR
BRGBRGBRG
i.e.:
GBR GBR GBR GBR
BRG BRG BRG
Good luck!
-Joe