HV7131GP
2004/10/29 V2.4 28
VCLK inversion
VCLK output polarity is inverted
Green Edge Threshold[EDGETH : 33h : 00h]
7
6
5
4
3
2
1
0
Green Edge Threshold
0
0
0
0
0
0
0
0
In 3x3 color interpolation mode, missing G pixel is interpolated with edge detection considering
neighbor G pixels, and this register controls edge threshold to select edge direction. The smaller value
means that the more patterns are recognized as edge, and image may get sharper, but not always.
Color Matrix Coefficients
Both of Color Correction and Color Space conversion are implemented by 3x3 matrix operation, so that
two stages may be merged into one matrix stage.
Color correction matrix may be resolved by measuring sensor’s color spread characteristics for primary
color source and calculating the inverse matrix of color spread matrix. For color space conversion
matrix, the equation from CCIR-601 standard is normally used. Therefore, the intended single matrix for
color correction and color space conversion may be resolved as below.
Intended single matrix = Color Space Conversion Matrix * Color Correction Matrix
Intended single matrix coefficients are programmable from –127/64 to 127/64. Programming register
value for intended single matrix coefficients should be resolved by the following equations.
For positive values, CMAxx = Integer(RealCoefficientValue x 64);
For negative values, CMAxx = TwoComplement(Integer(RealCoefficientValue x 64));
RealCoefficientValue values from –127/64 to 127/64 can be programmed.
CCIR-601 YCbCr color space conversion equation
< Conversion Equation >
Y = (77R + 150G + 29B)/256 Range: 16 ~ 235
Cb = (-44R –87G + 131B)/256 + 128 Range: 16 ~ 240
Cr = (131R – 110G – 21B)/256 + 128 Range: 16 ~ 240
< Reverse Conversion >
R = Y + 1.371(Cr – 128)
G = Y – 0.698(Cr – 128) – 0.336(Cb – 128)
B = Y + 1.732(Cb – 128)
In the above equations, R, G, and B are gamma-corrected values
Color Matrix Coefficient 11 [CMA11 : 34h : 2eh]
7
6
5
4
3
2
1
0