Documentation of 'Catalano.Imaging.Filters.GaborFilter' Java class
GaborFilter
Catalano.Imaging.Filters

Class GaborFilter

  • All Implemented Interfaces:
    IApplyInPlace


    public class GaborFilter
    extends java.lang.Object
    implements IApplyInPlace
    Gabor Filter. In image processing, a Gabor filter, named after Dennis Gabor, is a linear filter used for edge detection. Frequency and orientation representations of Gabor filters are similar to those of the human visual system, and they have been found to be particularly appropriate for texture representation and discrimination. In the spatial domain, a 2D Gabor filter is a Gaussian kernel function modulated by a sinusoidal plane wave.
    See Also:
    http://en.wikipedia.org/wiki/Gabor_filter
    • Constructor Summary

      Constructors 
      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.
    • Constructor Detail

      • GaborFilter

        public GaborFilter()
        Initializes a new instance of the GaborFilterFinal class.
      • GaborFilter

        public GaborFilter(double wavelength)
        Initializes a new instance of the GaborFilterFinal class.
        Parameters:
        wavelength - Wavelength.
      • GaborFilter

        public GaborFilter(double wavelength,
                           double orientation)
        Initializes a new instance of the GaborFilterFinal class.
        Parameters:
        wavelength - Wavelength.
        orientation - Orientation.
      • GaborFilter

        public GaborFilter(double wavelength,
                           double orientation,
                           double phaseOffset)
        Initializes a new instance of the GaborFilterFinal class.
        Parameters:
        wavelength - Wavelength.
        orientation - Orientation.
        phaseOffset - Phase offset.
      • GaborFilter

        public GaborFilter(double wavelength,
                           double orientation,
                           double phaseOffset,
                           double gaussianVar)
        Initializes a new instance of the GaborFilterFinal class.
        Parameters:
        wavelength - Wavelength.
        orientation - Orientation.
        phaseOffset - Phase offset.
        gaussianVar - Gaussian variance.
      • GaborFilter

        public GaborFilter(double wavelength,
                           double orientation,
                           double phaseOffset,
                           double gaussianVar,
                           double aspectRatio)
        Initializes a new instance of the GaborFilterFinal class.
        Parameters:
        wavelength - Wavelength.
        orientation - Orientation.
        phaseOffset - Phase offset.
        gaussianVar - Gaussian variance.
        aspectRatio - Aspect ratio.
      • GaborFilter

        public GaborFilter(double wavelength,
                           double orientation,
                           double phaseOffset,
                           double gaussianVar,
                           double aspectRatio,
                           Gabor.Config config)
        Initializes a new instance of the GaborFilterFinal class.
        Parameters:
        wavelength - Wavelength.
        orientation - Orientation.
        phaseOffset - Phase offset.
        gaussianVar - Gaussian variance.
        aspectRatio - Aspect ratio.
        config - Gabor configuration.
    • Method Detail

      • getSize

        public int getSize()
        Get size of Gabor kernel.
        Returns:
        Size.
      • setSize

        public void setSize(int size)
        Set size of Gabor kernel.
        Parameters:
        size - Size.
      • getWavelength

        public double getWavelength()
        Get Wavelength (Lambda).
        Returns:
        Lambda value.
      • setWavelength

        public void setWavelength(double lambda)
        Set Wavelength (Lambda).
        Parameters:
        lambda - Lambda value.
      • getOrientation

        public double getOrientation()
        Get Orientation (Theta).
        Returns:
        Theta value.
      • setOrientation

        public void setOrientation(double theta)
        Set Orientation (Theta).
        Parameters:
        theta - Theta value.
      • getPhaseOffset

        public double getPhaseOffset()
        Get Phase offset (Psi).
        Returns:
        Phi value.
      • setPhaseOffset

        public void setPhaseOffset(double psi)
        Set Phase offset (Psi).
        Parameters:
        phi -
      • getGaussianVar

        public double getGaussianVar()
        Get Gaussian variance (Sigma).
        Returns:
        Sigma value.
      • setGaussianVar

        public void setGaussianVar(double sigma)
        Set Gaussian variance (Sigma).
        Parameters:
        sigma - Sigma value.
      • getAspectRatio

        public double getAspectRatio()
        Get Aspect ratio (Gamma).
        Returns:
        gamma.
      • setAspectRatio

        public void setAspectRatio(double gamma)
        Set Aspect ratio (Gamma).
        Parameters:
        gamma - Gamma.
      • getConfig

        public Gabor.Config getConfig()
        Get Gabor function configuration.
        Returns:
        Configuration.
      • setConfig

        public void setConfig(Gabor.Config config)
        Set Gabor function configuration.
        Parameters:
        config - Configuration.
      • isSigned

        public boolean isSigned()
        Verify if the image is signed.
        Returns:
        True if the image is signed, otherwise false.
      • setSigned

        public void setSigned(boolean signed)
        Set signed image. If true, image will be converted to RGB.
        Parameters:
        signed - True for signed image, false for grayscale image.
      • applyInPlace

        public void applyInPlace(FastBitmap fastBitmap)
        Description copied from interface: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        fastBitmap - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.