|
||||||||||
| 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.WholeImageFilter
com.jhlabs.image.OilFilter
public class OilFilter
A filter which produces a "oil-painting" effect.
| Field Summary |
|---|
| Fields inherited from class com.jhlabs.image.WholeImageFilter |
|---|
originalSpace, transformedSpace |
| Constructor Summary | |
|---|---|
OilFilter()
|
|
| Method Summary | |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels. |
int |
getLevels()
Get the number of levels for the effect. |
int |
getRange()
Get the range of the effect in pixels. |
void |
setLevels(int levels)
Set the number of levels for the effect. |
void |
setRange(int range)
Set the range of the effect in pixels. |
String |
toString()
|
| Methods inherited from class com.jhlabs.image.WholeImageFilter |
|---|
filter, transformSpace |
| 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 OilFilter()
| Method Detail |
|---|
public void setRange(int range)
range - the rangegetRange()public int getRange()
setRange(int)public void setLevels(int levels)
levels - the number of levelsgetLevels()public int getLevels()
setLevels(int)
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
WholeImageFilter
filterPixels in class WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output bounds
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||