Packages

 

com.aspose.cad.imagefilters.filteroptions

Class DeconvolutionFilterOptions

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      double getBrightness()
      Gets or sets the brightness.
      boolean getGrayscale()
      Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale.
      double getSnr()
      Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007
      void setBrightness(double value)
      Gets or sets the brightness.
      void setGrayscale(boolean value)
      Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale.
      void setSnr(double value)
      Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007
    • Method Detail

      • getSnr

        public double getSnr()

        Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007

        Returns:
        The SNR.
      • setSnr

        public void setSnr(double value)

        Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007

        Parameters:
        value - The SNR.
      • getBrightness

        public double getBrightness()

        Gets or sets the brightness. recommended range 1 - 1.5 default value = 1.15

        Returns:
        The brightness.
      • setBrightness

        public void setBrightness(double value)

        Gets or sets the brightness. recommended range 1 - 1.5 default value = 1.15

        Parameters:
        value - The brightness.
      • getGrayscale

        public boolean getGrayscale()

        Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale. Return grayscale mode or RGB mode.

        Returns:
        true if grayscale; otherwise, false.
      • setGrayscale

        public void setGrayscale(boolean value)

        Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale. Return grayscale mode or RGB mode.

        Parameters:
        value - true if grayscale; otherwise, false.