首页 > 其他 > 详细

Adjust color space Constrast,Brightness,Hue,Saturation in YCbCr format.

时间:2015-07-24 20:43:01      阅读:513      评论:0      收藏:0      [点我收藏+]

The formula is :

  Y   = (y - 128) * C /128   + (B - 128)                        + 128. //About add 128 is ture or error ?

  Cb = [ (Cb - 128)*cos(H) + (Cr - 128)*sin(H)] * S/64 + 128.

      Cr = [-(Cb - 128)*sin(H)  + (Cr - 128)*cos(H)]* S/64 + 128.

 

  If you have any question,you can leave a message for me.I will ask you at the first time.

Adjust color space Constrast,Brightness,Hue,Saturation in YCbCr format.

原文:http://www.cnblogs.com/artestlove/p/4674345.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!