public class SelfQuocientImage extends java.lang.Object implements IPhotometricFilter
| Constructor and Description |
|---|
SelfQuocientImage()
Initializes a new instance of the SelfQuocientImage class.
|
SelfQuocientImage(int size)
Initializes a new instance of the SelfQuocientImage class.
|
SelfQuocientImage(int size,
double sigma)
Initializes a new instance of the SelfQuocientImage class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap) |
double |
getSigma()
Get bandwidth of the gaussian filter.
|
int |
getSize()
Get the size of the kernel.
|
double[][] |
Process(double[][] image,
boolean normalize)
Process the filter.
|
void |
setSigma(double sigma)
Set bandwidth of the gaussian filter.
|
void |
setSize(int size)
Set the size of the kernel.
|
public SelfQuocientImage()
public SelfQuocientImage(int size)
size - Size of the kernel.public SelfQuocientImage(int size,
double sigma)
size - Size of the kernel.sigma - Sigma value.public double getSigma()
public void setSigma(double sigma)
sigma - Sigma value.public int getSize()
public void setSize(int size)
size - Size of the kernel.public void applyInPlace(FastBitmap fastBitmap)
applyInPlace in interface IPhotometricFilterpublic double[][] Process(double[][] image,
boolean normalize)
image - Image as matrix.normalize - Normalize the image.