public class BlockFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
private int |
blockSize |
Constructor and Description |
---|
BlockFilter()
Construct a BlockFilter.
|
BlockFilter(int blockSize)
Construct a BlockFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
int |
getBlockSize()
Get the pixel block size.
|
void |
setBlockSize(int blockSize)
Set the pixel block size.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private int blockSize
public BlockFilter()
public BlockFilter(int blockSize)
blockSize
- the number of pixels along each block edgepublic void setBlockSize(int blockSize)
blockSize
- the number of pixels along each block edgegetBlockSize()
public int getBlockSize()
setBlockSize(int)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses