Color Space: Ycc

  在进行图像扫描时,有一种重要的扫描输入设备PhotoCd,由于PhotoCd在存储图像的时候要经过一种模式压缩,所以PhotoCd采用了Ycc颜色空间,此空间将亮度作由它的主要组件,具有两个单独的颜色通道,采用Ycc颜色空间来保存图像,可以节约存储空间,从RGB颜色空间转换到Ycc颜色空间的转换公式如下:

 

 

 

 

Ycc color(YCrCb JPEG)

C# EmguCV中的结构:

public struct Ycc: IColor,IEquatable<Ycc>

public Ycc(

      double y,

      double cr,

      double cb

)

Properties

Cb       Get or set the intensity of the Cb color channel

Cr       Get or set the intensity of the Cr color channel

Dimension   Get the dimension of this color

MCvScalar   Get or set the equivalent MCvScalar value

Y        Get or set the intensity of the Y color channel

转载于:https://www.cnblogs.com/alsofly/p/3373912.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值