public class SpecularBloom extends java.lang.Object implements IApplyInPlace
| Modifier and Type | Class and Description |
|---|---|
static class |
SpecularBloom.AdaptiveThreshold |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
double |
getRadius()
Get Radius.
|
int |
getThreshold()
Get Threshold
|
void |
setRadius(int radius)
Set Radius.
|
void |
setThreshold(int threshold)
Set Threshold.
|
public SpecularBloom()
public SpecularBloom(int threshold,
int radius)
threshold - Threshold.radius - Radius.public SpecularBloom(SpecularBloom.AdaptiveThreshold threshold, int radius)
threshold - Adaptive Threshold.radius - Radius.public int getThreshold()
public void setThreshold(int threshold)
threshold - Threshold.public double getRadius()
public void setRadius(int radius)
radius - Radius.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.