Packages

 

com.aspose.imaging.imageoptions

Class RdOptimizerSettings



  • public class RdOptimizerSettings
    extends Object

    RD optimizer settings class

    • Constructor Detail

      • RdOptimizerSettings

        public RdOptimizerSettings()

        Initializes a new instance of the RdOptimizerSettings class.

    • Method Detail

      • getBppScale

        public int getBppScale()

        Gets the BPP (bits per pixel) scale factor.

        Returns:
        The BPP scale.
      • setBppScale

        public void setBppScale(int value)

        Sets the BPP (bits per pixel) scale factor.

        Parameters:
        value - The BPP scale.
      • getBppMax

        public double getBppMax()

        Gets the maximum R value for consideration in in bits per pixel

        Returns:
        The maximum R value for consideration in bits per pixel.
      • setBppMax

        public void setBppMax(double value)

        Sets the maximum R value for consideration in in bits per pixel

        Parameters:
        value - The maximum R value for consideration in bits per pixel.
      • getMaxQ

        public int getMaxQ()

        Gets the maximum quantization value.

        Returns:
        The maximum quantization value.
      • setMaxQ

        public void setMaxQ(int value)

        Sets the maximum quantization value.

        Parameters:
        value - The maximum quantization value.
      • getMinQ

        public int getMinQ()

        Gets the minimum allowed quantization value.

        Returns:
        The minimum minimum allowed quantization value.
      • getMaxPixelValue

        public int getMaxPixelValue()

        Gets the maximum pixel value.

        Returns:
        The maximum maximum pixel value.
      • getPsnrMax

        public int getPsnrMax()

        Gets the PSNR maximum expected value.

        Returns:
        The maximum maximum pixel value.
      • getDiscretizedBppMax

        public int getDiscretizedBppMax()

        Gets the maximum R value for consideration.

        Returns:
        The maximum R value for consideration.
      • create

        public static RdOptimizerSettings create()

        Creates this instance.

        Returns:
        returns RDOptimizerSettings class instance