类 UnsharpFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.ConvolveFilter
-
- org.meteoinfo.image.filter.GaussianFilter
-
- org.meteoinfo.image.filter.UnsharpFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class UnsharpFilter extends GaussianFilter
A filter which subtracts Gaussian blur from an image, sharpening it.- 作者:
- Jerry Huxtable
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.GaussianFilter
kernel, radius
-
从类继承的字段 org.meteoinfo.image.filter.ConvolveFilter
alpha, CLAMP_EDGES, premultiplyAlpha, WRAP_EDGES, ZERO_EDGES
-
-
构造器概要
构造器 构造器 说明 UnsharpFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)floatgetAmount()Get the amount of sharpening.intgetThreshold()Get the threshold value.voidsetAmount(float amount)Set the amount of sharpening.voidsetThreshold(int threshold)Set the threshold value.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.GaussianFilter
convolveAndTranspose, getRadius, makeKernel, setRadius
-
从类继承的方法 org.meteoinfo.image.filter.ConvolveFilter
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, getRGB, setRGB
-
-
-
-
方法详细资料
-
setThreshold
public void setThreshold(int threshold)
Set the threshold value.- 参数:
threshold- the threshold value- 另请参阅:
getThreshold()
-
getThreshold
public int getThreshold()
Get the threshold value.- 返回:
- the threshold value
- 另请参阅:
setThreshold(int)
-
setAmount
public void setAmount(float amount)
Set the amount of sharpening.- 参数:
amount- the amount min-value 0 max-value 1- 另请参阅:
getAmount()
-
getAmount
public float getAmount()
Get the amount of sharpening.- 返回:
- the amount
- 另请参阅:
setAmount(float)
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
- 指定者:
filter在接口中BufferedImageOp- 覆盖:
filter在类中GaussianFilter
-
toString
public String toString()
- 覆盖:
toString在类中GaussianFilter
-
-