leandromoreira / digital_video_introduction

A hands-on introduction to video technology: image, video, codec (av1, vp9, h265) and more (ffmpeg encoding). Translations: 🇺🇸 🇨🇳 🇯🇵 🇮🇹 🇰🇷 🇷🇺 🇧🇷 🇪🇸
https://github.com/leandromoreira/introduction_video_technology
BSD 3-Clause "New" or "Revised" License
15.52k stars 1.33k forks source link

yuv question #80

Closed fawdlstty closed 5 years ago

fawdlstty commented 5 years ago

ycbcr Hi scientists, i want make the U and V image, what should i do? i have try: y, u, v <- r, g, b r, g, b <- 0, u, 0 and i failed

fawdlstty commented 5 years ago

R, G, B ∈ [0, 255] (y, u, v) = RGB2YUV (R, G, B); (R, G, B) = YUV2RGB (0, u, 0);