public abstract class WholeImageFilter extends AbstractBufferedImageOp
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
originalSpace
The input image bounds.
|
protected Rectangle |
transformedSpace
The output image bounds.
|
filterListener| Constructor and Description |
|---|
WholeImageFilter()
Construct a WholeImageFilter.
|
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
protected abstract int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
|
protected void |
transformSpace(Rectangle rect)
Calculate output bounds for given input bounds.
|
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBprotected Rectangle transformedSpace
protected Rectangle originalSpace
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter in interface BufferedImageOpfilter in class AbstractBufferedImageOpprotected void transformSpace(Rectangle rect)
rect - input and output rectangleprotected abstract int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
width - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundsCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.