public class PhotometricInterpreterYCbCr extends PhotometricInterpreter
| Constructor and Description |
|---|
PhotometricInterpreterYCbCr(int samplesPerPixel,
int[] bitsPerSample,
int predictor,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
static int |
convertYCbCrtoRGB(int Y,
int Cb,
int Cr)
This method converts a YUV (aka YCbCr) colorspace to a RGB colorspace.
|
void |
interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
static int |
limit(int value,
int min,
int max) |
public PhotometricInterpreterYCbCr(int samplesPerPixel,
int[] bitsPerSample,
int predictor,
int width,
int height)
public static int limit(int value,
int min,
int max)
public static int convertYCbCrtoRGB(int Y,
int Cb,
int Cr)
Y - The Y component set.Cb - The Cb component set.Cr - The Cr component set.public void interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) throws ImageReadException, java.io.IOException
interpretPixel in class PhotometricInterpreterImageReadExceptionjava.io.IOException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"