📄 rgb2yuv.m
字号:
function [Y,U,V] = RGB2YUV(translation_image)
R=translation_image(:,:,1);
G=translation_image(:,:,2);
B=translation_image(:,:,3);
Y=0.299*R+0.587*G+0.114*B;
U=0.492*(B-Y);
V=0.877*(R-Y);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -