Catalano.Imaging.Filters
Class Shrink
- java.lang.Object
-
- Catalano.Imaging.Filters.Shrink
-
- All Implemented Interfaces:
- IApply, IApplyInPlace
public class Shrink extends java.lang.Object implements IApply, IApplyInPlace
Shrink filter.
-
-
Constructor Summary
Constructors Constructor and Description Shrink()Initializes a new instance of the Shrink class.Shrink(boolean isBlackObject)Initializes a new instance of the Shrink class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FastBitmapapply(FastBitmap fastBitmap)Apply the filtervoidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.
-
-
-
Constructor Detail
-
Shrink
public Shrink()
Initializes a new instance of the Shrink class.
-
Shrink
public Shrink(boolean isBlackObject)
Initializes a new instance of the Shrink class. Only works in binary images.- Parameters:
isBlackObject- Object is black color.
-
-
Method Detail
-
apply
public FastBitmap apply(FastBitmap fastBitmap)
Description copied from interface:IApplyApply the filter
-
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