Catalano.Imaging.Filters
Class ImageQuantization
- java.lang.Object
-
- Catalano.Imaging.Filters.ImageQuantization
-
- All Implemented Interfaces:
- IApplyInPlace
public class ImageQuantization extends java.lang.Object implements IApplyInPlace
Also called Gray level reduction. Image quantization is the process of reducing the image data by removing some of the detail information by mapping groups of data points to a single point.
-
-
Constructor Summary
Constructors Constructor and Description ImageQuantization()Initialize a new instance of the ImageQuantization class.ImageQuantization(int level)Initialize a new instance of the ImageQuantization class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.
-
-
-
Constructor Detail
-
ImageQuantization
public ImageQuantization()
Initialize a new instance of the ImageQuantization class.
-
ImageQuantization
public ImageQuantization(int level)
Initialize a new instance of the ImageQuantization class.- Parameters:
level-
-
-
Method Detail
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG