public class AlphaTrimmedMean extends java.lang.Object implements IApplyInPlace
The alpha trimmed mean filter is normally used to reduce noise in an image, somewhat like the mean and median filter. However, it often does a better job than the mean filter of preserving useful detail in the image.
Properties:
| Constructor and Description |
|---|
AlphaTrimmedMean()
Initializes a new instance of the AlphaTrimmedMean class.
|
AlphaTrimmedMean(int radius)
Initializes a new instance of the AlphaTrimmedMean class.
|
AlphaTrimmedMean(int radius,
int t)
Initializes a new instance of the AlphaTrimmedMean class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
getRadius()
Get Radius.
|
int |
getT()
Get trimmed value.
|
void |
setRadius(int radius)
Set Radius.
|
void |
setT(int t)
Set trimmed value.
|
public AlphaTrimmedMean()
public AlphaTrimmedMean(int radius)
radius - Radius.public AlphaTrimmedMean(int radius,
int t)
radius - Radius.t - Trimmed value.public int getRadius()
public void setRadius(int radius)
radius - Radius.public int getT()
public void setT(int t)
t - Trimmed value.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.