Packages

 

com.aspose.cad.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 or sets the BPP (bits per pixel) scale factor.

        Returns:
        The BPP scale.
      • setBppScale

        public void setBppScale(int value)

        Gets or sets the BPP (bits per pixel) scale factor.

        Parameters:
        value - The BPP scale.
      • getBppMax

        public double getBppMax()

        Gets or sets 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)

        Gets or 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 or sets the maximum quantization value.

        Returns:
        The maximum quantization value.
      • setMaxQ

        public void setMaxQ(int value)

        Gets or 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.
      • getMaxChannel_internalized

        public int getMaxChannel_internalized()

        Gets or sets the maximum color channel count to use.

        Returns:
        The maximum color channel index.
      • setMaxChannel_internalized

        public void setMaxChannel_internalized(int value)

        Gets or sets the maximum color channel count to use.

        Parameters:
        value - The maximum color channel index.
      • getDcClamp_internalized

        public int getDcClamp_internalized()

        Gets or sets the DC clamp value to restrict quantization values range for the first top-left pixel in the block.

        Returns:
        The DC clamp value.
      • create

        public static RdOptimizerSettings create()

        Creates this instance.

        Returns:
        returns RDOptimizerSettings class instance