understanding unit8 [1*3]
4 views (last 30 days)
Show older comments
Accepted Answer
Walter Roberson
on 22 Oct 2020
Edited: Walter Roberson
on 22 Oct 2020
It is a 1 x 3 array (a vector) of values that are datatype uint8 . uint8 datatype is an 8 bit unsigned integer, so each entry can represent values that are 0, 1, 2, 3, 4, ... 254, 255
The first entry in the vector represents the Red contribution. The second entry in the vector represents the Green contribution. The third entry in the vector represents the Blue contribution.
I do not know what the pixelcontrol is about, unless you are using the VisionHDL toolbox, https://www.mathworks.com/help/visionhdl/ug/pixelcontrol-bus.html in which case we would expect that the block is being used as part of a hardware (VHDL or FPGA) conversion from RGB to YCrCb -- though I do not seem to find a block for that purpose at the moment.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!