BufferedImageOp, Cloneablepublic class UnsharpFilter extends GaussianFilter
alpha, CLAMP_EDGES, premultiplyAlpha, WRAP_EDGES, ZERO_EDGESkernel, radius| 构造器 | 说明 |
|---|---|
UnsharpFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, getRGB, setRGBconvolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlphaconvolveAndTranspose, getRadius, makeKernel, setRadiuspublic void setThreshold(int threshold)
threshold - the threshold valuegetThreshold()public int getThreshold()
setThreshold(int)public void setAmount(float amount)
amount - the amount min-value 0 max-value 1getAmount()public float getAmount()
setAmount(float)public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter 在接口中 BufferedImageOpfilter 在类中 GaussianFilterpublic String toString()
toString 在类中 GaussianFilterCopyright © 2019. All rights reserved.