Documentation of 'Catalano.Imaging.Texture.RunLengthFeatures' Java class
RunLengthFeatures
Catalano.Imaging.Texture

Class RunLengthFeatures



  • public final class RunLengthFeatures
    extends java.lang.Object
    Run-Length Metrics.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double GrayLevelDistribution(double[][] runMatrix, int numberPrimitives) 
      static double GrayLevelNonUniformity(double[][] runMatrix, int numberPrimitives)
      This metric increases when gray-level outliers dominate the histogram.
      static double HighGrayLevelEmphasis(double[][] runMatrix, int numberPrimitives)
      Emphasis is orthogonal to LRE, and the metric increases when the texture is dominated by many runs of high gray value.
      static double LongRunEmphasis(double[][] runMatrix, int numberPrimitives)
      This metric increases when long runs dominate, for example, in textures with large homogeneous areas or coarse textures.
      static double LongRunHighGrayLevelEmphasis(double[][] runMatrix, int numberPrimitives)
      This is the complementary metric to SRLGE and increases with a combination of long, high-gray value runs.
      static double LongRunLowGrayLevelEmphasis(double[][] runMatrix, int numberPrimitives)
      Complementary to SRHGE, it increases when the texture is dominated by long runs that have low gray levels.
      static double LowGrayLevelEmphasis(double[][] runMatrix, int numberPrimitives)
      Emphasis is orthogonal to SRE, and the metric increases when the texture is dominated by many runs of low gray value.
      static double RunLenghtDistribution(double[][] runMatrix, int numberPrimitives) 
      static double RunLengthNonUniformity(double[][] runMatrix, int numberPrimitives)
      This metric increases when few run-length outliers dominate the histogram.
      static double RunPercentage(double[][] runMatrix, int numberPossiblePrimitives)
      This metric provides information on the overall homogeneity of the histogram and is maximal when all runs are of unity length irrespective of the gray level.
      static double ShortRunEmphasis(double[][] runMatrix, int numberPrimitives)
      This metric increases when short runs dominate, for example, in fine-grained textures.
      static double ShortRunHighGrayLevelEmphasis(double[][] runMatrix, int numberPrimitives)
      This metric is orthogonal to SRLGE and LRHGE and increases when the texture is dominated by short runs with high intensity levels.
      static double ShortRunLowGrayLevelEmphasis(double[][] runMatrix, int numberPrimitives)
      This is a diagonal metric that combines SRE and LGRE.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ShortRunEmphasis

        public static double ShortRunEmphasis(double[][] runMatrix,
                                              int numberPrimitives)
        This metric increases when short runs dominate, for example, in fine-grained textures.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • LongRunEmphasis

        public static double LongRunEmphasis(double[][] runMatrix,
                                             int numberPrimitives)
        This metric increases when long runs dominate, for example, in textures with large homogeneous areas or coarse textures.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • LowGrayLevelEmphasis

        public static double LowGrayLevelEmphasis(double[][] runMatrix,
                                                  int numberPrimitives)
        Emphasis is orthogonal to SRE, and the metric increases when the texture is dominated by many runs of low gray value.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • HighGrayLevelEmphasis

        public static double HighGrayLevelEmphasis(double[][] runMatrix,
                                                   int numberPrimitives)
        Emphasis is orthogonal to LRE, and the metric increases when the texture is dominated by many runs of high gray value.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • ShortRunLowGrayLevelEmphasis

        public static double ShortRunLowGrayLevelEmphasis(double[][] runMatrix,
                                                          int numberPrimitives)
        This is a diagonal metric that combines SRE and LGRE. The metric increases when the texture is dominated by many short runs of low gray value.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • ShortRunHighGrayLevelEmphasis

        public static double ShortRunHighGrayLevelEmphasis(double[][] runMatrix,
                                                           int numberPrimitives)
        This metric is orthogonal to SRLGE and LRHGE and increases when the texture is dominated by short runs with high intensity levels.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • LongRunLowGrayLevelEmphasis

        public static double LongRunLowGrayLevelEmphasis(double[][] runMatrix,
                                                         int numberPrimitives)
        Complementary to SRHGE, it increases when the texture is dominated by long runs that have low gray levels.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • LongRunHighGrayLevelEmphasis

        public static double LongRunHighGrayLevelEmphasis(double[][] runMatrix,
                                                          int numberPrimitives)
        This is the complementary metric to SRLGE and increases with a combination of long, high-gray value runs.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • GrayLevelNonUniformity

        public static double GrayLevelNonUniformity(double[][] runMatrix,
                                                    int numberPrimitives)
        This metric increases when gray-level outliers dominate the histogram.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • RunLengthNonUniformity

        public static double RunLengthNonUniformity(double[][] runMatrix,
                                                    int numberPrimitives)
        This metric increases when few run-length outliers dominate the histogram.
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • GrayLevelDistribution

        public static double GrayLevelDistribution(double[][] runMatrix,
                                                   int numberPrimitives)
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • RunLenghtDistribution

        public static double RunLenghtDistribution(double[][] runMatrix,
                                                   int numberPrimitives)
        Parameters:
        runMatrix - Run length matrix.
        numberPrimitives - Number of primitives.
        Returns:
      • RunPercentage

        public static double RunPercentage(double[][] runMatrix,
                                           int numberPossiblePrimitives)
        This metric provides information on the overall homogeneity of the histogram and is maximal when all runs are of unity length irrespective of the gray level.
        Parameters:
        runMatrix - Run length matrix.
        numberPossiblePrimitives - Number of primitives.
        Returns:

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.