public abstract class BaseFilter extends RGBImageFilter
canFilterIndexColorModel, newmodel, origmodelconsumerCOMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT| Constructor and Description |
|---|
BaseFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBlue(int rgb)
Gets the blue value out of the rgb value.
|
protected int |
getGreen(int rgb)
Gets the green value out of the rgb value.
|
protected int |
getNTSCValue(int rgb)
Converts the red green and blue values to one value.
|
protected int |
getRed(int rgb)
Gets the red value out of the rgb value.
|
protected int |
getRGB(int rgb,
int red,
int green,
int blue)
Returns the rgb value for the blue, red and green values.
|
filterIndexColorModel, filterRGB, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModelclone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setPropertiesprotected int getRed(int rgb)
rgb - the rgb value of the pixel.protected int getBlue(int rgb)
rgb - the rgb value of the pixel.protected int getGreen(int rgb)
rgb - the rgb value of the pixel.protected int getRGB(int rgb,
int red,
int green,
int blue)
rgb - the previous rgb value of the pixel, with alpha value.red - the red component value of the pixel.green - the green component value of the pixel.blue - the blue component value of the pixel.protected int getNTSCValue(int rgb)
rgb - the rgb value of the pixel.Copyright © 2002-2013 Edwin Dankert. All Rights Reserved.