Catalano.Imaging.Filters.Artistic
Class SpecularBloom
- java.lang.Object
-
- Catalano.Imaging.Filters.Artistic.SpecularBloom
-
- All Implemented Interfaces:
- IApplyInPlace
public class SpecularBloom extends java.lang.Object implements IApplyInPlace
Specular Bloom effect.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classSpecularBloom.AdaptiveThreshold
-
Constructor Summary
Constructors Constructor and Description SpecularBloom()Initialize a new instance of the SpecularBloom class.SpecularBloom(int threshold, int radius)Initialize a new instance of the SpecularBloom class.SpecularBloom(SpecularBloom.AdaptiveThreshold threshold, int radius)Initialize a new instance of the SpecularBloom class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetRadius()Get Radius.intgetThreshold()Get ThresholdvoidsetRadius(int radius)Set Radius.voidsetThreshold(int threshold)Set Threshold.
-
-
-
Constructor Detail
-
SpecularBloom
public SpecularBloom()
Initialize a new instance of the SpecularBloom class.
-
SpecularBloom
public SpecularBloom(int threshold, int radius)Initialize a new instance of the SpecularBloom class.- Parameters:
threshold- Threshold.radius- Radius.
-
SpecularBloom
public SpecularBloom(SpecularBloom.AdaptiveThreshold threshold, int radius)
Initialize a new instance of the SpecularBloom class.- Parameters:
threshold- Adaptive Threshold.radius- Radius.
-
-
Method Detail
-
getThreshold
public int getThreshold()
Get Threshold- Returns:
- Threshold.
-
setThreshold
public void setThreshold(int threshold)
Set Threshold.- Parameters:
threshold- Threshold.
-
getRadius
public double getRadius()
Get Radius.- Returns:
- Radius.
-
setRadius
public void setRadius(int radius)
Set Radius.- Parameters:
radius- Radius.
-
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