RGB to YUV format

バージョン 1.0.0.0 (1.97 KB) 作成者: Santhana Raj
Converts an image in RGB to YUV with 4:2:2 chroma sampling
ダウンロード: 1.1K
更新 2014/9/10

ライセンスの表示

The function rgb2yuv converts the RGB matrix of an image to an YUV format matrix for the image. It plots the images, if Plot Flag is equal to 1.
It uses the RGB conversion formula available in Wikipedia. It gives the YUV format in 4:2:2 chroma sampling
Example
file=('<image file path>');
plotflag=1;
RGB = imread(file);
imshow(RGB);
YUV=rgb2yuv(RGB,plot_flag);

Author:Santhana Raj.A
https://sites.google.com/site/santhanarajarunachalam/

引用

Santhana Raj (2025). RGB to YUV format (https://www.mathworks.com/matlabcentral/fileexchange/47786-rgb-to-yuv-format), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersImage Filtering and Enhancement についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0