public class UnsharpFilter extends GaussianFilter implements DynFiltering
CLAMP_EDGES, WRAP_EDGES, ZERO_EDGES
Constructor and Description |
---|
UnsharpFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
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
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class GaussianFilter
PageException
Copyright © 2015 Lucee