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