类 SmartBlurFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.SmartBlurFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class SmartBlurFilter extends AbstractBufferedImageOp
A filter which performs a "smart blur". i.e. a blur which blurs smotth parts of the image while preserving edges.
-
-
构造器概要
构造器 构造器 说明 SmartBlurFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)intgetHRadius()Get the horizontal size of the blur.intgetRadius()Get the radius of the effect.intgetThreshold()Get the threshold value.intgetVRadius()Get the vertical size of the blur.voidsetHRadius(int hRadius)Set the horizontal size of the blur.voidsetRadius(int radius)Set the radius of the effect.voidsetThreshold(int threshold)Set the threshold value.voidsetVRadius(int vRadius)Set the vertical size of the blur.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
-
setHRadius
public void setHRadius(int hRadius)
Set the horizontal size of the blur.- 参数:
hRadius- the radius of the blur in the horizontal direction min-value 0- 另请参阅:
getHRadius()
-
getHRadius
public int getHRadius()
Get the horizontal size of the blur.- 返回:
- the radius of the blur in the horizontal direction
- 另请参阅:
setHRadius(int)
-
setVRadius
public void setVRadius(int vRadius)
Set the vertical size of the blur.- 参数:
vRadius- the radius of the blur in the vertical direction min-value 0- 另请参阅:
getVRadius()
-
getVRadius
public int getVRadius()
Get the vertical size of the blur.- 返回:
- the radius of the blur in the vertical direction
- 另请参阅:
setVRadius(int)
-
setRadius
public void setRadius(int radius)
Set the radius of the effect.- 参数:
radius- the radius min-value 0- 另请参阅:
getRadius()
-
getRadius
public int getRadius()
Get the radius of the effect.- 返回:
- the radius
- 另请参阅:
setRadius(int)
-
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)
-
-