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

Class GradientMap

  • All Implemented Interfaces:
    IApplyInPlace


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

    The Gradient image needs contains at least one row and 256 columns.

    • 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.
    • 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.
      • 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.