Package com.twelvemonkeys.imageio.color
Class YCbCrConverter
java.lang.Object
com.twelvemonkeys.imageio.color.YCbCrConverter
Fast YCbCr to RGB conversion.
- Author:
- Harald Kuhr, Original code by Werner Randelshofer (used by permission).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
convertJPEGYCbCr2RGB
(byte[] yCbCr, byte[] rgb, int offset) static void
convertRec601YCbCr2RGB
(byte[] yCbCr, byte[] rgb, int offset) static void
convertYCbCr2RGB
(byte[] yCbCr, byte[] rgb, double[] coefficients, double[] referenceBW, int offset)
-
Constructor Details
-
YCbCrConverter
public YCbCrConverter()
-
-
Method Details
-
convertYCbCr2RGB
public static void convertYCbCr2RGB(byte[] yCbCr, byte[] rgb, double[] coefficients, double[] referenceBW, int offset) -
convertJPEGYCbCr2RGB
public static void convertJPEGYCbCr2RGB(byte[] yCbCr, byte[] rgb, int offset) -
convertRec601YCbCr2RGB
public static void convertRec601YCbCr2RGB(byte[] yCbCr, byte[] rgb, int offset)
-