public class GrayFilter
extends java.awt.image.RGBImageFilter
| Constructor and Description |
|---|
GrayFilter()
Constructs a GrayFilter using ITU color-conversion.
|
GrayFilter(float pLow,
float pHigh)
Constructs a GrayFilter using ITU color-conversion, and a dynamic range between
pLow and pHigh.
|
GrayFilter(int pLow,
int pHigh)
Constructs a GrayFilter using ITU color-conversion, and a dynamic
range between pLow and pHigh.
|
| Modifier and Type | Method and Description |
|---|---|
int |
filterRGB(int pX,
int pY,
int pARGB)
Filters one pixel using ITU color-conversion.
|
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModelpublic GrayFilter()
public GrayFilter(float pLow,
float pHigh)
pLow - float in the range 0..1pHigh - float in the range 0..1 and >= pLowpublic GrayFilter(int pLow,
int pHigh)
pLow - integer in the range 0..255pHigh - inteeger in the range 0..255 and >= pLowpublic int filterRGB(int pX,
int pY,
int pARGB)
filterRGB in class java.awt.image.RGBImageFilterpX - xpY - ypARGB - pixel value in default color spaceCopyright © 2018. All Rights Reserved.