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,CurvesFilter,ExposureFilter,GainFilter,GammaFilter,RescaleFilter,SolarizeFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]protected int[]protected booleanprotected int[]Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(BufferedImage src, BufferedImage dst) intfilterRGB(int x, int y, int rgb) int[]getLUT()protected voidprotected int[]protected floattransferFunction(float v) Methods inherited from class com.jhlabs.image.PointFilter
setDimensionsMethods 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:
filterRGBin classPointFilter
-
filter
- Specified by:
filterin interfaceBufferedImageOp- Overrides:
filterin classPointFilter
-
initialize
protected void initialize() -
makeTable
protected int[] makeTable() -
transferFunction
protected float transferFunction(float v) -
getLUT
public int[] getLUT()
-