Package com.jhlabs.image
Class TransferFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.TransferFilter
- All Implemented Interfaces:
BufferedImageOp
,Cloneable
- Direct Known Subclasses:
ContrastFilter
,ExposureFilter
,GainFilter
,GammaFilter
,RescaleFilter
,SolarizeFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]
protected int[]
protected boolean
protected int[]
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(BufferedImage src, BufferedImage dst) int
filterRGB
(int x, int y, int rgb) int[]
getLUT()
protected void
protected int[]
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
-
Field Details
-
rTable
protected int[] rTable -
gTable
protected int[] gTable -
bTable
protected int[] bTable -
initialized
protected boolean initialized
-
-
Constructor Details
-
TransferFilter
public TransferFilter()
-
-
Method Details
-
filterRGB
public int filterRGB(int x, int y, int rgb) - Specified by:
filterRGB
in classPointFilter
-
filter
- Specified by:
filter
in interfaceBufferedImageOp
- Overrides:
filter
in classPointFilter
-
initialize
protected void initialize() -
makeTable
protected int[] makeTable() -
transferFunction
protected float transferFunction(float v) -
getLUT
public int[] getLUT()
-