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

Class GrayLevelRunLengthMatrix



  • public class GrayLevelRunLengthMatrix
    extends java.lang.Object
    Gray Level Run Length Matrix (GLRLM).
    • Constructor Detail

      • GrayLevelRunLengthMatrix

        public GrayLevelRunLengthMatrix(GrayLevelRunLengthMatrix.Degree degree)
        Initialize a new instance of the GrayLevelRunLengthMatrix class.
        Parameters:
        degree - Degree.
      • GrayLevelRunLengthMatrix

        public GrayLevelRunLengthMatrix(GrayLevelRunLengthMatrix.Degree degree,
                                        boolean autoGray)
        Initialize a new instance of the GrayLevelRunLengthMatrix class.
        Parameters:
        degree - Degree.
        autoGray - Automatic gray.
    • Method Detail

      • isAutoGray

        public boolean isAutoGray()
        Verify Automatic gray.
        Returns:
        True if need to find maximum gray in current image, otherwise is set 255.
      • setAutoGray

        public void setAutoGray(boolean autoGray)
        Set Automatic gray.
        Parameters:
        autoGray - True if need to find maximum gray in current image, otherwise is set 255.
      • getNumberPrimitives

        public int getNumberPrimitives()
        Get number of primitives.
        Returns:
        Number of primitives.
      • setNumberPrimitives

        public void setNumberPrimitives(int numberPrimitives)
        Set number of primitives.
        Parameters:
        numberPrimitives - Number of primitives.
      • Compute

        public double[][] Compute(FastBitmap fastBitmap)
        Compute GLRLM.
        Parameters:
        fastBitmap - Image to be processed.
        Returns:
        GLRLM.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.