public class PosterizeFilter extends PointFilter
canFilterIndexColorModel
filterListener
Constructor and Description |
---|
PosterizeFilter() |
Modifier and Type | Method and Description |
---|---|
int |
filterRGB(int x,
int y,
int rgb) |
ImageFilterOps |
getMetaData()
Bambi filter metadata.
|
int |
getNumLevels()
Get the number of levels in the output image.
|
protected void |
initialize()
Initialize the filter.
|
void |
setNumLevels(int numLevels)
Set the number of levels in the output image.
|
String |
toString() |
filter, setDimensions
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public void setNumLevels(int numLevels)
numLevels
- the number of levelsgetNumLevels()
public int getNumLevels()
setNumLevels(int)
protected void initialize()
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public ImageFilterOps getMetaData()
AbstractBufferedImageOp
getMetaData
in interface ImageFilterOpSupport
getMetaData
in class AbstractBufferedImageOp
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.