public class GaborFilter extends java.lang.Object implements IApplyInPlace
http://en.wikipedia.org/wiki/Gabor_filter| Constructor and Description |
|---|
GaborFilter()
Initializes a new instance of the GaborFilterFinal class.
|
GaborFilter(double wavelength)
Initializes a new instance of the GaborFilterFinal class.
|
GaborFilter(double wavelength,
double orientation)
Initializes a new instance of the GaborFilterFinal class.
|
GaborFilter(double wavelength,
double orientation,
double phaseOffset)
Initializes a new instance of the GaborFilterFinal class.
|
GaborFilter(double wavelength,
double orientation,
double phaseOffset,
double gaussianVar)
Initializes a new instance of the GaborFilterFinal class.
|
GaborFilter(double wavelength,
double orientation,
double phaseOffset,
double gaussianVar,
double aspectRatio)
Initializes a new instance of the GaborFilterFinal class.
|
GaborFilter(double wavelength,
double orientation,
double phaseOffset,
double gaussianVar,
double aspectRatio,
Gabor.Config config)
Initializes a new instance of the GaborFilterFinal class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
double |
getAspectRatio()
Get Aspect ratio (Gamma).
|
Gabor.Config |
getConfig()
Get Gabor function configuration.
|
double |
getGaussianVar()
Get Gaussian variance (Sigma).
|
double |
getOrientation()
Get Orientation (Theta).
|
double |
getPhaseOffset()
Get Phase offset (Psi).
|
int |
getSize()
Get size of Gabor kernel.
|
double |
getWavelength()
Get Wavelength (Lambda).
|
boolean |
isSigned()
Verify if the image is signed.
|
void |
setAspectRatio(double gamma)
Set Aspect ratio (Gamma).
|
void |
setConfig(Gabor.Config config)
Set Gabor function configuration.
|
void |
setGaussianVar(double sigma)
Set Gaussian variance (Sigma).
|
void |
setOrientation(double theta)
Set Orientation (Theta).
|
void |
setPhaseOffset(double psi)
Set Phase offset (Psi).
|
void |
setSigned(boolean signed)
Set signed image.
|
void |
setSize(int size)
Set size of Gabor kernel.
|
void |
setWavelength(double lambda)
Set Wavelength (Lambda).
|
public GaborFilter()
public GaborFilter(double wavelength)
wavelength - Wavelength.public GaborFilter(double wavelength,
double orientation)
wavelength - Wavelength.orientation - Orientation.public GaborFilter(double wavelength,
double orientation,
double phaseOffset)
wavelength - Wavelength.orientation - Orientation.phaseOffset - Phase offset.public GaborFilter(double wavelength,
double orientation,
double phaseOffset,
double gaussianVar)
wavelength - Wavelength.orientation - Orientation.phaseOffset - Phase offset.gaussianVar - Gaussian variance.public GaborFilter(double wavelength,
double orientation,
double phaseOffset,
double gaussianVar,
double aspectRatio)
wavelength - Wavelength.orientation - Orientation.phaseOffset - Phase offset.gaussianVar - Gaussian variance.aspectRatio - Aspect ratio.public GaborFilter(double wavelength,
double orientation,
double phaseOffset,
double gaussianVar,
double aspectRatio,
Gabor.Config config)
wavelength - Wavelength.orientation - Orientation.phaseOffset - Phase offset.gaussianVar - Gaussian variance.aspectRatio - Aspect ratio.config - Gabor configuration.public int getSize()
public void setSize(int size)
size - Size.public double getWavelength()
public void setWavelength(double lambda)
lambda - Lambda value.public double getOrientation()
public void setOrientation(double theta)
theta - Theta value.public double getPhaseOffset()
public void setPhaseOffset(double psi)
phi - public double getGaussianVar()
public void setGaussianVar(double sigma)
sigma - Sigma value.public double getAspectRatio()
public void setAspectRatio(double gamma)
gamma - Gamma.public Gabor.Config getConfig()
public void setConfig(Gabor.Config config)
config - Configuration.public boolean isSigned()
public void setSigned(boolean signed)
signed - True for signed image, false for grayscale image.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.