public class MedianCut extends java.lang.Object implements IApplyInPlace
| Constructor and Description |
|---|
MedianCut()
Initialize a new instance of the MedianCut class.
|
MedianCut(int nCubes)
Initialize a new instance of the MedianCut class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
getNumberOfCubes()
Get Number of maximum cubes.
|
void |
setNumberOfCubes(int nCubes)
Set Number of cubes.
|
public MedianCut()
public MedianCut(int nCubes)
public int getNumberOfCubes()
public void setNumberOfCubes(int nCubes)
nCubes - Number of cubes.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.