C# Class BitMiracle.LibTiff.Classic.Internal.TiffYCbCrToRGB

Convert color value from the YCbCr space to CIE XYZ. The colorspace conversion algorithm comes from the IJG v5a code; see below for more information on how it works.
Show file Open project: Core-Techs/TiffLibrary Class Usage Examples

Public Methods

Method Description
Init ( float luma, float refBlackWhite ) : void
TiffYCbCrToRGB ( ) : System
YCbCrtoRGB ( int Y, int Cb, int Cr, int &r, int &g, int &b ) : void

Private Methods

Method Description
clamp ( int f, int min, int max ) : int
code2V ( int c, float RB, float RW, float CR ) : int
fix ( float x ) : int
hiClamp ( int f, int max ) : int

Method Details

Init() public method

public Init ( float luma, float refBlackWhite ) : void
luma float
refBlackWhite float
return void

TiffYCbCrToRGB() public method

public TiffYCbCrToRGB ( ) : System
return System

YCbCrtoRGB() public method

public YCbCrtoRGB ( int Y, int Cb, int Cr, int &r, int &g, int &b ) : void
Y int
Cb int
Cr int
r int
g int
b int
return void