Read YUV Videos and Extract the Frames

Extract Y, U and V components of a YUV 4:2:0 video
2.0K 次下载
更新时间 2016/10/5

You can find an example on how to use the code in "example.m".

YUVREAD returns the Y, U and V components of a video in separate matrices. Luma channel (Y) contains grayscale images for each frame. Chroma channels (U & V) have a lower sampling rate than the luma channel.

YUVREAD is able to read any common intermediate format with 4:2:0 chroma subsampling. You just need to enter the correct width and height information for the specific format:

Format Video Resolution (width x height)
------------------------------------------------------------
SQCIF 128 × 96
QCIF 176 × 144
SCIF 256 x 192
SIF(525) 352 x 240
CIF/SIF(625) 352 × 288
4SIF(525) 704 x 480
4CIF/4SIF(625) 704 × 576
16CIF 1408 × 1152
DCIF 528 × 384
A notation called the "A:B:C" notation is used to describe how often U
and V are sampled relative to Y:
4:2:0 means 2:1 horizontal downsampling, with 2:1 vertical downsampling.


(C) Mohammad Haghighat, University of Miami
haghighat@ieee.org

引用格式

Mohammad Haghighat (2024). Read YUV Videos and Extract the Frames (https://github.com/mhaghighat/yuvRead), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库