The YCbCr to RGB formula
2015-07-24 19:01
597 查看
RGB2YCbCrconversions,therangeisRGB[0,255]toYCbCr[0,255]: Y=R*0.301+G*0.586+B*0.113 Cb=R*-0.168+G*-0.332+B*0.500+128 Cr=R*0.500+G*-0.417+B*-0.082+128 WhentheYrangeof[0,255],UVrangeof[0,255],theYCbCrtoRGBformulais: R=Y++(Cr-128)*1.40200 G=Y+(Cb-128)*-0.34414+(Cr-128)*-0.71414 B=Y+(Cb-128)*1.77200 WhentheYrangeof[16,235],UVrangeof[16,240],theYCbCrtoRGBformulais: R=(Y-16)*1.164+(Cr-128)*1.596 G=(Y-16)*1.164-(Cr-128)*0.813-(Cb-128)*0.391 B=(Y-16)*1.164+(Cb-128)*2.081 Ifyouhaveanyquestion,youcanleaveamessageforme.
相关文章推荐
- Objective-C学习笔记(二十四)——成员变量的访问修饰符学习
- PAT (Advanced Level) 1035. Password (20) 简单的字符串替换
- POJ 3074 Sudoku
- Convolutional Patch Networks with Spatial Prior for Road Detection and Urban Scene Understanding
- 关于IOS9
- 高仿苹果通讯录布局
- hdu5305 Friends
- 在Linux系统中使用iptraf进行网络监控
- C语言下,获取文件信息 http://qimo601.iteye.com/blog/1517413
- JSON解析
- linux 文件描述符
- scrollView嵌套listview的问题
- Docker命令详解
- LINK - Windows Azure Storage - 跨域访问策略 CROS
- 手机改 user模式为debug模式
- Jakarta-Common-BeanUtils研究心得 (转)
- 检测iOS WebApp是否运行在全屏模式
- 基于jQuery的判断iPad、iPhone、Android是横屏还是竖屏的代码
- MySQL数据类型中DECIMAL的作用和用法
- 【剑指offer】二进制中1的个数