|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.SmartBlurFilter
public class SmartBlurFilter
A filter which performs a "smart blur". i.e. a blur which blurs smotth parts of the image while preserving edges.
Constructor Summary | |
---|---|
SmartBlurFilter()
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.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. |
java.lang.String |
toString()
|
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SmartBlurFilter()
Method Detail |
---|
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public void setHRadius(int hRadius)
hRadius
- the radius of the blur in the horizontal directiongetHRadius()
public int getHRadius()
setHRadius(int)
public void setVRadius(int vRadius)
vRadius
- the radius of the blur in the vertical directiongetVRadius()
public int getVRadius()
setVRadius(int)
public void setRadius(int radius)
radius
- the radiusgetRadius()
public int getRadius()
setRadius(int)
public void setThreshold(int threshold)
threshold
- the threshold valuegetThreshold()
public int getThreshold()
setThreshold(int)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |