com.jhlabs.image
Class UnsharpFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.ConvolveFilter
com.jhlabs.image.GaussianFilter
com.jhlabs.image.UnsharpFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable
public class UnsharpFilter
- extends GaussianFilter
A filter which subtracts Gaussian blur from an image, sharpening it.
- Author:
- Jerry Huxtable
| Methods inherited from class com.jhlabs.image.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
Copyright © 2012. All Rights Reserved.