com.jhlabs.image
Class TransferFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.PointFilter
          extended by 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
protected  int[] bTable
           
protected  int[] gTable
           
protected  boolean initialized
           
protected  int[] rTable
           
 
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
 
Constructor Summary
TransferFilter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rTable

protected int[] rTable

gTable

protected int[] gTable

bTable

protected int[] bTable

initialized

protected boolean initialized
Constructor Detail

TransferFilter

public TransferFilter()
Method Detail

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class PointFilter

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)
Specified by:
filter in interface java.awt.image.BufferedImageOp
Overrides:
filter in class PointFilter

initialize

protected void initialize()

makeTable

protected int[] makeTable()

transferFunction

protected float transferFunction(float v)

getLUT

public int[] getLUT()