railo.runtime.img.filter
Class UnsharpFilter
java.lang.Object
railo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.ConvolveFilter
railo.runtime.img.filter.GaussianFilter
railo.runtime.img.filter.UnsharpFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable, DynFiltering
public class UnsharpFilter
- extends GaussianFilter
- implements DynFiltering
A filter which subtracts Gaussian blur from an image, sharpening it.
Methods inherited from class railo.runtime.img.filter.ConvolveFilter |
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha |
UnsharpFilter
public UnsharpFilter()
setThreshold
public void setThreshold(int threshold)
- Set the threshold value.
- Parameters:
threshold
- the threshold value- See Also:
getThreshold()
getThreshold
public int getThreshold()
- Get the threshold value.
- Returns:
- the threshold value
- See Also:
setThreshold(int)
setAmount
public void setAmount(float amount)
- Set the amount of sharpening.
- Parameters:
amount
- the amount- See Also:
getAmount()
getAmount
public float getAmount()
- Get the amount of sharpening.
- Returns:
- the amount
- See Also:
setAmount(float)
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- Specified by:
filter
in interface BufferedImageOp
- Overrides:
filter
in class GaussianFilter
toString
public String toString()
- Overrides:
toString
in class GaussianFilter
filter
public BufferedImage filter(BufferedImage src,
Struct parameters)
throws PageException
- Specified by:
filter
in interface DynFiltering
- Overrides:
filter
in class GaussianFilter
- Throws:
PageException
Copyright © 2012 Railo