public abstract class WholeImageFilter extends AbstractBufferedImageOp
| 限定符和类型 | 字段和说明 |
|---|---|
protected Rectangle |
originalSpace
The input image bounds.
|
protected Rectangle |
transformedSpace
The output image bounds.
|
| 构造器和说明 |
|---|
WholeImageFilter()
Construct a WholeImageFilter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBprotected Rectangle transformedSpace
protected Rectangle originalSpace
public BufferedImage filter(BufferedImage src, BufferedImage dst)
protected 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 © 2015. All rights reserved.