Catalano.Imaging.Filters
Class UnsharpMasking
- java.lang.Object
-
- Catalano.Imaging.Filters.UnsharpMasking
-
- All Implemented Interfaces:
- IApplyInPlace
public class UnsharpMasking extends java.lang.Object implements IApplyInPlace
Unsharp Filter.
-
-
Constructor Summary
Constructors Constructor and Description UnsharpMasking()Initialize a new instance of the UnsharpMasking class.UnsharpMasking(int radius, float weight)Initialize a new instance of the UnsharpMasking class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.intgetRadius()Get Radius.floatgetWeight()Get Weight.voidsetRadius(int radius)Set Radius.voidsetWeight(float weight)Set Weight.
-
-
-
Constructor Detail
-
UnsharpMasking
public UnsharpMasking()
Initialize a new instance of the UnsharpMasking class.
-
UnsharpMasking
public UnsharpMasking(int radius, float weight)Initialize a new instance of the UnsharpMasking class.- Parameters:
radius- Radius.weight- Weight.
-
-
Method Detail
-
getRadius
public int getRadius()
Get Radius.- Returns:
- Radius.
-
setRadius
public void setRadius(int radius)
Set Radius.- Parameters:
radius- Radius.
-
getWeight
public float getWeight()
Get Weight.- Returns:
- Weight.
-
setWeight
public void setWeight(float weight)
Set Weight.- Parameters:
weight- Weight.
-
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