com.jhlabs.image
Class SmartBlurFilter
- BufferedImageOp, Cloneable
public class SmartBlurFilter
A filter which performs a "smart blur". i.e. a blur which blurs smotth parts of the image while preserving edges.
BufferedImage | filter(BufferedImage src, BufferedImage dst)
|
int | getHRadius() - Get the horizontal size of the blur.
|
int | getRadius() - Get the radius of the effect.
|
int | getThreshold() - Get the threshold value.
|
int | getVRadius() - Get the vertical size of the blur.
|
void | setHRadius(int hRadius) - Set the horizontal size of the blur.
|
void | setRadius(int radius) - Set the radius of the effect.
|
void | setThreshold(int threshold) - Set the threshold value.
|
void | setVRadius(int vRadius) - Set the vertical size of the blur.
|
String | toString()
|
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
getHRadius
public int getHRadius()
Get the horizontal size of the blur.
- the radius of the blur in the horizontal direction
getRadius
public int getRadius()
Get the radius of the effect.
getThreshold
public int getThreshold()
Get the threshold value.
getVRadius
public int getVRadius()
Get the vertical size of the blur.
- the radius of the blur in the vertical direction
setHRadius
public void setHRadius(int hRadius)
Set the horizontal size of the blur.
hRadius
- the radius of the blur in the horizontal direction
setRadius
public void setRadius(int radius)
Set the radius of the effect.
setThreshold
public void setThreshold(int threshold)
Set the threshold value.
threshold
- the threshold value
setVRadius
public void setVRadius(int vRadius)
Set the vertical size of the blur.
vRadius
- the radius of the blur in the vertical direction
toString
public String toString()