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

Class GradientMap

  • All Implemented Interfaces:
    IApplyInPlace


    public class GradientMap
    extends java.lang.Object
    implements IApplyInPlace
    Gradient Map.

    Apply LUTs in the image.

    • Constructor Summary

      Constructors 
      Constructor and Description
      GradientMap(FastBitmap gradient)
      Initialize a new instance of the GradientMap class.
      GradientMap(int[][] lut)
      Initialize a new instance of the GradientMap class.
      GradientMap(int[][] lut, boolean invert)
      Initialize a new instance of the GradientMap class.
    • Constructor Detail

      • GradientMap

        public GradientMap(FastBitmap gradient)
        Initialize a new instance of the GradientMap class.
        Parameters:
        gradient - Gradient image.
      • GradientMap

        public GradientMap(int[][] lut)
        Initialize a new instance of the GradientMap class.
        Parameters:
        lut - Gradient LUT.
      • GradientMap

        public GradientMap(int[][] lut,
                           boolean invert)
        Initialize a new instance of the GradientMap class.
        Parameters:
        lut - Gradient LUT.
    • Method Detail

      • getGradient

        public FastBitmap getGradient()
        Get Gradient image.
        Returns:
        Gradient image.
      • setGradient

        public void setGradient(FastBitmap gradient)
        Set Gradient image.
        Parameters:
        gradient - Gradient image.
      • getLut

        public int[][] getLut()
        Get Gradient LUT.
        Returns:
        Gradient LUT.
      • setLut

        public void setLut(int[][] lut)
        Set Gradient LUT.
        Parameters:
        lut - Gradient LUT.
      • isInvert

        public boolean isInvert()
        Verify if the lut is inverted.
        Returns:
        True if the lut is inverted, otherwise false.
      • setInvert

        public void setInvert(boolean invert)
        Invert LUT.
        Parameters:
        invert - Invert lut.
      • 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.