Catalano.Math.Functions
Class Gabor
- java.lang.Object
-
- Catalano.Math.Functions.Gabor
-
public final class Gabor extends java.lang.ObjectGabor function.- See Also:
http://en.wikipedia.org/wiki/Gabor_filter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classGabor.ConfigGabor configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubleFunction1D(double x, double mean, double amplitude, double position, double width, double phase, double frequency)1-D Gabor function.static ComplexNumberFunction2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Complex Gabor function.static doubleImaginaryFunction2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Gabor function.static double[][]Kernel2D(int size, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Gabor kernel.static double[][]Kernel2D(int size, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio, Gabor.Config config)2-D Gabor kernel.static doubleRealFunction2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Gabor function.
-
-
-
Method Detail
-
Function1D
public static double Function1D(double x, double mean, double amplitude, double position, double width, double phase, double frequency)1-D Gabor function.- Parameters:
x- Value.mean- Mean.amplitude- Amplitude.position- Position.width- Width.phase- Phase.frequency- Frequency.- Returns:
- Gabor response.
-
Function2D
public static ComplexNumber Function2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)
2-D Complex Gabor function.- Parameters:
x- X axis coordinate.y- Y axis coordinate.wavelength- Wavelength.orientation- Orientation.phaseOffset- Phase offset.gaussVariance- Gaussian variance.aspectRatio- Aspect ratio.- Returns:
- Gabor response.
-
RealFunction2D
public static double RealFunction2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Gabor function. Compute only real part.- Parameters:
x- X axis coordinate.y- Y axis coordinate.wavelength- Wavelength.orientation- Orientation.phaseOffset- Phase offset.gaussVariance- Gaussian variance.aspectRatio- Aspect ratio.- Returns:
- Gabor response.
-
ImaginaryFunction2D
public static double ImaginaryFunction2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Gabor function. Compute only imaginary part.- Parameters:
x- X axis coordinate.y- Y axis coordinate.wavelength- Wavelength.orientation- Orientation.phaseOffset- Phase offset.gaussVariance- Gaussian variance.aspectRatio- Aspect ratio.- Returns:
- Gabor response.
-
Kernel2D
public static double[][] Kernel2D(int size, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio)2-D Gabor kernel.- Parameters:
size- Kernel size (should be odd).wavelength- Wavelength.orientation- Orientation.phaseOffset- Phase offset.gaussVariance- Gaussian variance.aspectRatio- Aspect ratio.- Returns:
- Gabor kernel.
-
Kernel2D
public static double[][] Kernel2D(int size, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio, Gabor.Config config)2-D Gabor kernel.- Parameters:
size- Kernel size (should be odd).wavelength- Wavelength.orientation- Orientation.phaseOffset- Phase offset.gaussVariance- Gaussian variance.aspectRatio- Aspect ratio.config- Gabor configuration.- Returns:
- Gabor kernel.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG