public class UnsharpFilter extends GaussianFilter
Modifier and Type | Field and Description |
---|---|
private float |
amount |
private int |
threshold |
kernel, radius
alpha, CLAMP_EDGES, premultiplyAlpha, WRAP_EDGES, ZERO_EDGES
Constructor and Description |
---|
UnsharpFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
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.
|
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
public UnsharpFilter()
public void setThreshold(int threshold)
threshold
- the threshold valuegetThreshold()
public int getThreshold()
setThreshold(int)
public void setAmount(float amount)
amount
- the amountgetAmount()
public float getAmount()
setAmount(float)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class GaussianFilter
public String toString()
toString
in class GaussianFilter
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses