Interface IGradientCalculator

  • All Known Implementing Classes:
    GradientCalculator

    public interface IGradientCalculator
    The interface for classes that calculate the gradient of pixel intensities on source images.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Gradient calculateGradientCart​(double[][] input)
      Calculates the gradient of pixel intensities on the input image and returns the results in the original Cartesian coordinate system.
      Gradient calculateGradientPolar​(double[][] input)
      Calculates the gradient of pixel intensities on the input image and returns the results in a Polar coordinate system
    • Method Detail

      • calculateGradientCart

        Gradient calculateGradientCart​(double[][] input)
        Calculates the gradient of pixel intensities on the input image and returns the results in the original Cartesian coordinate system.
        Parameters:
        input - The input image in the form of a 2D array of doubles
        Returns:
        The gradient in x and y direction
      • calculateGradientPolar

        Gradient calculateGradientPolar​(double[][] input)
        Calculates the gradient of pixel intensities on the input image and returns the results in a Polar coordinate system
        Parameters:
        input - The input image in the form of a 2D array of doubles
        Returns:
        The gradient as gx=theta and gy=r
        The range of theta is (-3.14, +3.14)