📄 yuv.htm
字号:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>yuv4</title>
<meta name="generator" content="microsoft frontpage 3.0">
</head>
<body background="../jpg/di1.JPG">
<p align="center"><font size="6" color="#0000ff">yuv4:1:1 </font></p>
<div align="center"><center>
<table border="0" width="88%">
<tr>
<td width="100%">this reffers to common terms for y'cbcr format<br>
which separates the 'luminance' information in an<br>
image from the chroma information, allowing the resolution of<br>
chroma information to be reduced, exploiting the lack of color<br>
acuity inherent in the human visual system.<br>
<br>
there are a couple of issues with the terms in this description<br>
as explained to me by charles poynton. firstly the common use of<br>
the term luminance for y' is a misrepresentation and a distinction<br>
should be drawn between this term and true cie luminance, for<br>
example by using the term "luma", secondly the u v terms for<br>
historical reasons are associated with adjusted levels as<br>
broadcast from television transmitters and digital systems<br>
actually use y'cbcr.<br>
<br>
so yuv should more accurately mean y'cbcr.<br>
<br>
the 4:1:1 denotes the degree of compression of chroma information<br>
and makes less sense with newer formats, suffice to say that 4:1:1<br>
stores full resolution y'(luma) but 1/4 resolution of cb and cr<br>
information sampled along the horizontal axis or line.<br>
<br>
y'cbcr 4:2:2 is actually a more commonly used professional<br>
format where chroma components are only halved along the<br>
horizontal axis or line.<br>
<br>
y'cbcr 4:2:0 is used for 1/4 resolution chroma but with half<br>
resolution horizontally and half resolution vertically.<br>
<br>
4:4:4 denotes equal resolution of luminance and chroma.<br>
<br>
to generate the standard cie luminance term, from an rgb triplet<br>
y = .2125r + .7154g + .0721b, this is *different* from the y'<br>
described above.<br>
<br>
luma as stored in these video formats is actually<br>
y' = .299r'+.587g'+.114b' where the r' g' and b' terms<br>
represent scalar values which are non linear and represent<br>
gamma corrected perceptually uniform values when represented<br>
by an integer (gamma == .45).<br>
<br>
chroma terms can then be produced from these valuse:<br>
cb = b'-y'<br>
cr = r'-y'<br>
<br>
to reconstruct an rgb image from a 'yuv4:1:1' you must<br>
first resample the single cbcr sample to 4 cbcr samples<br>
to match the luminance, once this is done you should<br>
regenerate rgb triplets by reversing the above arithmetic:<br>
<br>
b' = cb +y'<br>
r' = cr +y'<br>
g' = (y'-.299r'-.114b')/.587<br>
<br>
r' b' g' represent an rgb triplet with a built in gamma<br>
correction of .45, this should look perfect when displayed<br>
on a machine with no gamma correction and a crt display<br>
(which typically have gamma transfer functions of around<br>
2.5-3.0)<br>
<br>
note that because chroma information may be negative, the<br>
cb cr values stored in any file format mey have to be adjusted<br>
accordingly. for example you would subtract 127 from an 8 bit<br>
chroma value stored in a file.<br>
<br>
don't use the luminance equation above, it is included to show<br>
the difference between luminance and luma or y' which is<br>
actually stored in the file.<br>
<br>
for more in depth information read charles a. poyntons<br>
excellent book "a technical introduction to digital video"<br>
pub, john wiley & sons, inc. isbn 0-471-12253-x<br>
<br>
cheers,angus.</td>
</tr>
</table>
</center></div>
<p align="center"><a href="../index.htm">返回</a></p>
</body>
</html>
<center>
<script type="text/javascript">
var arrBaiduCproConfig=new Array();
arrBaiduCproConfig['uid'] = 43125;
arrBaiduCproConfig['n'] = 'williamlongcpr';
arrBaiduCproConfig['tm'] = 20;
arrBaiduCproConfig['cm'] = 76;
arrBaiduCproConfig['um'] = 26;
arrBaiduCproConfig['rad'] = 1;
arrBaiduCproConfig['w'] = 728;
arrBaiduCproConfig['h'] = 90;
arrBaiduCproConfig['bd'] = '#24581B';
arrBaiduCproConfig['bg'] = '#E1FDE8';
arrBaiduCproConfig['tt'] = '#0000CC';
arrBaiduCproConfig['ct'] = '#006600';
arrBaiduCproConfig['url'] = '#666666';
arrBaiduCproConfig['bdl'] = '#ffffff';
arrBaiduCproConfig['wn'] = 4;
arrBaiduCproConfig['hn'] = 1;
arrBaiduCproConfig['ta'] = 'right';
arrBaiduCproConfig['tl'] = 'bottom';
arrBaiduCproConfig['bu'] = 0;
</script>
<script type="text/javascript"
src="http://cpro.baidu.com/cpro/ui/ui.js">
</script>
<script type="text/javascript">
<!--
document.write(baiduCproIFrame());
-->
</script>
</center>
<br><br><br>
<div align="center"><center>
<table cellspacing="0" cellpadding="1" border="0" width="770" style="font-size: 9pt;" >
<tr><td width="770" bgcolor="#000000" height="1"></td></tr>
<tr><td width="770" height="5"></td></tr>
<tr>
<td align="center" width="770">
<a href="/" target="_top">月光软件</a>┊<a href="/download/" target="_top">程序下载</a>┊<a href="/doc/" target="_top">编程文档</a>┊<a href="/book/" target="_top">电脑教程</a>┊<a href="/web/" target="_top">网站设计</a>┊<a href="/site/" target="_top">网址导航</a>┊<a href="/art/" target="_top">网络文学</a>┊<a href="/game/" target="_top">游戏天地</a>┊<a href="/joke/" target="_top">幽默笑话</a>┊<a href="/life/" target="_top">生活休闲</a>┊<a href="/picture/" target="_top">美女图片</a>┊<a href="/guestbook/" target="_top">意见反馈</a><br>
<a href="/program/doc/docelite1105.htm">电脑技术</a>┊<a href="/program/doc/docelite405353.htm">编程开发</a>┊<a href="/program/doc/docelite25188.htm">网络专区</a>┊<a href="/program/doc/docelite10811.htm">谈天说地</a>┊<a href="/program/doc/docelite113108.htm">情感世界</a>┊<a href="/program/doc/docelite872697.htm">游戏元素</a>┊<a href="/program/doc/docelite50820.htm">分类游戏</a>┊<a href="/program/doc/docelite166458.htm">热门游戏</a>┊<a href="/program/doc/docelite42994.htm">体育运动</a>┊<a href="/program/doc/docelite872698.htm">手机专区</a>┊<a href="/program/doc/docelite28075.htm">业余爱好</a>┊<a href="/program/doc/docelite34403.htm">影视沙龙</a>
<br>
<a href="/program/doc/docelite872701.htm">音乐天地</a>┊<a href="/program/doc/docelite872702.htm">数码广场</a>┊<a href="/program/doc/docelite121902.htm">教育园地</a>┊<a href="/program/doc/docelite872703.htm">科学大观</a>┊<a href="/program/doc/docelite991826.htm">古今纵横</a>┊<a href="/program/doc/docelite49868.htm">谈股论金</a>┊<a href="/program/doc/docelite55064.htm">人文艺术</a>┊<a href="/program/doc/docelite165391.htm">医学保健</a>┊<a href="/program/doc/docelite115338.htm">动漫图酷</a>┊<a href="/program/doc/docelite872704.htm">二手专区</a>┊<a href="/program/doc/docelite112364.htm">地方风情</a>┊<a href="/program/doc/docelite165368.htm">各行各业</a>
<br><br>
<a href="http://www.moon-soft.com/">月光软件站</a>·<a href="/sitemap.htm" target="_blank">版权所有</a>
</td></tr>
</table>
</center></div>
<!-- */ //-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -