|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
public abstract class WholeImageFilter
A filter which acts as a superclass for filters which need to have the whole image in memory to do their stuff.
| Field Summary | |
|---|---|
protected Rectangle |
originalSpace
The input image bounds. |
protected Rectangle |
transformedSpace
The output image bounds. |
| Constructor Summary | |
|---|---|
WholeImageFilter()
Construct a WholeImageFilter. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
|---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Rectangle transformedSpace
protected Rectangle originalSpace
| Constructor Detail |
|---|
public WholeImageFilter()
| Method Detail |
|---|
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
protected void transformSpace(Rectangle rect)
rect - input and output rectangle
protected abstract int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
width - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output bounds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||