Class YuvRGBConverter


(package private) class YuvRGBConverter
extends java.lang.Object

Field Summary

private int[][]
Bmatrix
private int[][]
Gmatrix
private int[][]
Rmatrix
private double[][]
Umatrix
private double[][]
Vmatrix
private double[][]
Ymatrix
private double[][]
mR2Y
private double[][]
mY2R

Constructor Summary

YuvRGBConverter()

Method Summary

double[][]
RGB2Yuv_U(int[][] Rin, int[][] Gin, int[][] Bin)
double[][]
RGB2Yuv_V(int[][] Rin, int[][] Gin, int[][] Bin)
double[][]
RGB2Yuv_Y(int[][] Rin, int[][] Gin, int[][] Bin)
RGB to YUV **************************
int[][]
Yuv2RGB_B(double[][] Yin, double[][] Uin, double[][] Vin)
int[][]
Yuv2RGB_G(double[][] Yin, double[][] Uin, double[][] Vin)
int[][]
Yuv2RGB_R(double[][] Yin, double[][] Uin, double[][] Vin)
YUV to RGB **************************

Field Details

Bmatrix

private int[][] Bmatrix

Gmatrix

private int[][] Gmatrix

Rmatrix

private int[][] Rmatrix

Umatrix

private double[][] Umatrix

Vmatrix

private double[][] Vmatrix

Ymatrix

private double[][] Ymatrix

mR2Y

private final double[][] mR2Y

mY2R

private final double[][] mY2R

Constructor Details

YuvRGBConverter

(package private)  YuvRGBConverter()

Method Details

RGB2Yuv_U

public double[][] RGB2Yuv_U(int[][] Rin,
                            int[][] Gin,
                            int[][] Bin)

RGB2Yuv_V

public double[][] RGB2Yuv_V(int[][] Rin,
                            int[][] Gin,
                            int[][] Bin)

RGB2Yuv_Y

public double[][] RGB2Yuv_Y(int[][] Rin,
                            int[][] Gin,
                            int[][] Bin)
RGB to YUV **************************

Yuv2RGB_B

public int[][] Yuv2RGB_B(double[][] Yin,
                         double[][] Uin,
                         double[][] Vin)

Yuv2RGB_G

public int[][] Yuv2RGB_G(double[][] Yin,
                         double[][] Uin,
                         double[][] Vin)

Yuv2RGB_R

public int[][] Yuv2RGB_R(double[][] Yin,
                         double[][] Uin,
                         double[][] Vin)
YUV to RGB **************************