public class WeberFaces extends java.lang.Object implements IPhotometricFilter
| Constructor and Description |
|---|
WeberFaces()
Initializes a new instance of the WeberFaces class.
|
WeberFaces(double sigma,
double alpha,
int size)
Initializes a new instance of the WeberFaces class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap) |
double |
getAlpha()
Get parameter balancing the range of the input values of the atan function.
|
double |
getSigma()
Get standard deviation of the Gaussian filter.
|
int |
getSize()
Get the size of the neighborhood.
|
double[][] |
Process(double[][] image,
boolean normalize)
Process the weberface filter.
|
void |
setAlpha(double alpha)
Set parameter balancing the range of the input values of the atan function.
|
void |
setSigma(double sigma)
Set standard deviation of the Gaussian filter.
|
void |
setSize(int size)
Set the size of the neighborhood.
|
public WeberFaces()
public WeberFaces(double sigma,
double alpha,
int size)
sigma - Smoothing value.alpha - Parameter balancing.size - Size of the neighborhood.public double getSigma()
public void setSigma(double sigma)
sigma - Sigma value.public double getAlpha()
public void setAlpha(double alpha)
alpha - Parameter balancing.public int getSize()
public void setSize(int size)
size - Size of the neighborhood.public void applyInPlace(FastBitmap fastBitmap)
applyInPlace in interface IPhotometricFilterpublic double[][] Process(double[][] image,
boolean normalize)
image - Image as matrix.normalize - Normalization.