public class RescaleFilter extends TransferFilter
bTable, gTable, initialized, rTable
canFilterIndexColorModel
Constructor and Description |
---|
RescaleFilter() |
RescaleFilter(float scale) |
Modifier and Type | Method and Description |
---|---|
float |
getScale()
Returns the scale factor.
|
void |
setScale(float scale)
Specifies the scale factor.
|
java.lang.String |
toString() |
protected float |
transferFunction(float v) |
filter, filterRGB, getLUT, initialize, makeTable
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public RescaleFilter()
public RescaleFilter(float scale)
protected float transferFunction(float v)
transferFunction
in class TransferFilter
public void setScale(float scale)
scale
- the scale factor. min-value: 1, maximum value: 5+getScale()
public float getScale()
setScale(float)
public java.lang.String toString()
toString
in class java.lang.Object