public class UnsharpFilter extends GaussianFilter
kernel, radiusalpha, 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, setRadiusconvolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlphaclone, getRGB, setRGB, stringToColorpublic 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.BufferedImageOpfilter in class GaussianFilterpublic java.lang.String toString()
toString in class GaussianFilter