Package com.jhlabs.image
Class TransferFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.PointFilter
-
- com.jhlabs.image.TransferFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.lang.Cloneable
- Direct Known Subclasses:
ContrastFilter
,CurvesFilter
,ExposureFilter
,GainFilter
,GammaFilter
,RescaleFilter
,SolarizeFilter
public abstract class TransferFilter extends PointFilter
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]
bTable
protected int[]
gTable
protected boolean
initialized
protected int[]
rTable
-
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
-
Constructor Summary
Constructors Constructor Description TransferFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
int
filterRGB(int x, int y, int rgb)
int[]
getLUT()
protected void
initialize()
protected int[]
makeTable()
protected float
transferFunction(float v)
-
Methods inherited from class com.jhlabs.image.PointFilter
setDimensions
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
Method Detail
-
filterRGB
public int filterRGB(int x, int y, int rgb)
- Specified by:
filterRGB
in classPointFilter
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
- Specified by:
filter
in interfacejava.awt.image.BufferedImageOp
- Overrides:
filter
in classPointFilter
-
initialize
protected void initialize()
-
makeTable
protected int[] makeTable()
-
transferFunction
protected float transferFunction(float v)
-
getLUT
public int[] getLUT()
-
-