Structure for a unpacked YUV420 image.
More...
Structure for a unpacked YUV420 image.
- Parameters
-
width | image width in pixels |
height | image height in pixels |
pData | pointer to the array containing the data for the pixels |
- Returns
- The image is unpacked
- There are 3 planes : Y, U and V width and height are the dimensions of the image and not of the tensor (different from OpenCV for instance)
- Format details
- YUV = YCbCr
- ITU-R BT.601 full format.
- Resulting output range is
- Y=[16...235]
- Cb (U) =[16...240]
- Cr (V) =[16...240]