public class UnsharpFilter extends GaussianFilter
kernel, radius
alpha, CLAMP_EDGES, premultiplyAlpha, WRAP_EDGES, ZERO_EDGES
filterListener
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, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getMetaData, getRGB, setFilterListener, setRGB
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
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.