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

Class LawsTextureEnergy



  • public class LawsTextureEnergy
    extends java.lang.Object
    Laws Texture Energy Masks works by finding the average gray: Level, Edges, Spots, Ripples, and Waves in the image.
    • Field Detail

      • Level

        public static final int[] Level
        Level
      • Edges

        public static final int[] Edges
        Edges
      • Spots

        public static final int[] Spots
        Spots
      • Ripples

        public static final int[] Ripples
        Ripples
      • Waves

        public static final int[] Waves
        Waves
    • Constructor Detail

      • LawsTextureEnergy

        public LawsTextureEnergy()
        Initialize a new instance of the LawsTextureEnergy class.
      • LawsTextureEnergy

        public LawsTextureEnergy(int[] vector1,
                                 int[] vector2)
        Initialize a new instance of the LawsTextureEnergy class.
        Parameters:
        vector1 - Vector1.
        vector2 - Vector2.
      • LawsTextureEnergy

        public LawsTextureEnergy(int[][] mask)
        Initialize a new instance of the LawsTextureEnergy class.
        Parameters:
        mask - Mask.
    • Method Detail

      • getVector1

        public int[] getVector1()
        Get vector1.
        Returns:
        Vector1.
      • setVector1

        public void setVector1(int[] vector1)
        Set vector1.
        Parameters:
        vector1 - Vector1.
      • getVector2

        public int[] getVector2()
        Get vector2.
        Returns:
        Vector2.
      • setVector2

        public void setVector2(int[] vector2)
        Set vector2.
        Parameters:
        vector2 - Vector2.
      • ProcessImage

        public void ProcessImage(FastBitmap fastBitmap)
        Process image to produce the texture filtered images.
        Parameters:
        fastBitmap - Image to be processed.
      • toFastBitmap

        public FastBitmap toFastBitmap()
        Returns image processed.
        Returns:
        Image processed.
      • getTextureEnergyMap

        public long getTextureEnergyMap()
        Compute texture energy map. (Entire image)
        Returns:
        Texture energy map.
      • getTextureEnergyMap

        public long getTextureEnergyMap(int x,
                                        int y,
                                        int width,
                                        int height)
        Compute texture energy map.
        Parameters:
        x - X axis coordinate.
        y - Y axis coordinate.
        width - Width.
        height - Height.
        Returns:
        Texture energy map.
      • getTextureEnergyMap

        public long getTextureEnergyMap(IntPoint point,
                                        int width,
                                        int height)
        Compute texture energy map.
        Parameters:
        point - Point contains X and Y axis coordinates.
        width - Width.
        height - Height.
        Returns:
        Texture energy map.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.