Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.PosterizeFilter
public class PosterizeFilter
extends PointFilter
Field Summary |
Fields inherited from class com.jhlabs.image.PointFilter | |
canFilterIndexColorModel |
Constructor Summary | |
Method Summary | |
int |
|
int |
|
protected void |
|
void |
|
String |
|
Methods inherited from class com.jhlabs.image.PointFilter | |
filter , filterRGB , setDimensions |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone , createCompatibleDestImage , getBounds2D , getPoint2D , getRGB , getRenderingHints , setRGB |
public int getNumLevels()
Get the number of levels in the output image.
- Returns:
- the number of levels
- See Also:
setNumLevels(int)
protected void initialize()
Initialize the filter.
public void setNumLevels(int numLevels)
Set the number of levels in the output image.
- Parameters:
numLevels
- the number of levels
- See Also:
getNumLevels()
public String toString()