【问题标题】:2592x1944 YUV422 one frame image size calculation issue2592x1944 YUV422一帧图像尺寸计算问题
【发布时间】:2016-11-16 09:26:32
【问题描述】:

我想从相机计算 2592x1944 YUV422 一帧图像大小。 我已经看到了https://en.wikipedia.org/wiki/YUV

但我不确定下面的计算是否正确。 和

YUV444    3 bytes per pixel     (12 bytes per 4 pixels)
YUV422    4 bytes per 2 pixels  ( 8 bytes per 4 pixels)
YUV411    6 bytes per 4 pixels
YUV420p   6 bytes per 4 pixels, reordered

具有hsync长度的含义。

据我所知,2592x1944 YUV422 一帧图像大小可以这样计算

一帧中的总像素数 = 2592*1944 = 5038848 像素

一帧中的总字节数 = 5038848 *2=10077696 字节

这是否意味着 1 hsync real size(length)@ YUV422 是 2592*2 并且可以被 YUV444、YUV422、YUV411、YUV420 改变?

【问题讨论】:

    标签: image-processing


    【解决方案1】:

    如果我们假设 8 位颜色深度,您的计算是正确的。

    Y needs 2592x1944 x8bits    = 5038848 bytes
    U needs 2592x1944 /2 x8bits = 2519424 bytes
    V needs 2592x1944 /2 x8bits = 2519424 bytes
    TOTAL = 10077696 bytes for YUV422, 8bits color
    

    我没有得到关于 hsync 的问题。

    对YUV422的一个很好的解释https://www.youtube.com/watch?v=7JYZDnenaGc, 和颜色深度https://www.youtube.com/watch?v=bKjSox0uwnk

    【讨论】:

      猜你喜欢
      • 2012-06-17
      • 2019-01-25
      • 1970-01-01
      • 2019-02-02
      • 1970-01-01
      • 1970-01-01
      • 2017-05-05
      • 2013-01-17
      • 2012-12-16
      相关资源
      最近更新 更多