public class UnsharpFilter extends GaussianFilter
kernel, radius
alpha, CLAMP_EDGES, premultiplyAlpha, WRAP_EDGES, ZERO_EDGES
Constructor and Description |
---|
UnsharpFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
float |
getAmount()
Get the amount of sharpening.
|
int |
getThreshold()
Get the threshold value.
|
void |
setAmount(float amount)
Set the amount of sharpening.
|
void |
setThreshold(int threshold)
Set the threshold value.
|
java.lang.String |
toString() |
convolveAndTranspose, getRadius, makeKernel, setRadius
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha
clone, getRGB, setRGB, stringToColor
public void setThreshold(int threshold)
threshold
- the threshold valuegetThreshold()
public int getThreshold()
setThreshold(int)
public void setAmount(float amount)
amount
- the amount. Minimum value: 0, maximum value: 1getAmount()
public float getAmount()
setAmount(float)
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class GaussianFilter
public java.lang.String toString()
toString
in class GaussianFilter