DeconvolutionFilterOptions
Inheritance: java.lang.Object, com.aspose.imaging.imagefilters.filteroptions.FilterOptionsBase
All Implemented Interfaces: com.aspose.internal.imagefilters.convolution.IComplexConvolutionKernel
public class DeconvolutionFilterOptions extends FilterOptionsBase implements IComplexConvolutionKernel
Deconvolution Filter Options, abstract class
Constructors
| Constructor | Description |
|---|---|
| DeconvolutionFilterOptions(double[][] kernel) | Initializes a new instance of the DeconvolutionFilterOptions class. |
| DeconvolutionFilterOptions(Complex[][] kernel) | Initializes a new instance of the DeconvolutionFilterOptions class. |
Methods
| Method | Description |
|---|---|
| getKernel() | Gets the kernel. |
| getSnr() | Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007 |
| setSnr(double value) | Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007 |
| getBrightness() | Gets or sets the brightness. |
| setBrightness(double value) | Gets or sets the brightness. |
| getGrayscale() | Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale. |
| setGrayscale(boolean value) | Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale. |
| isPartialLoaded() | Gets a value indicating whether this instance is partial loaded. |
DeconvolutionFilterOptions(double[][] kernel)
public DeconvolutionFilterOptions(double[][] kernel)
Initializes a new instance of the DeconvolutionFilterOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| kernel | double[][] | The kernel. |
DeconvolutionFilterOptions(Complex[][] kernel)
public DeconvolutionFilterOptions(Complex[][] kernel)
Initializes a new instance of the DeconvolutionFilterOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| kernel | Complex[] | The kernel. |
getKernel()
public Complex[][] getKernel()
Gets the kernel.
Returns: com.aspose.imaging.imagefilters.complexutils.Complex[][] - the kernel.
getSnr()
public double getSnr()
Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007
Value: The SNR.
Returns: double
setSnr(double value)
public void setSnr(double value)
Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007
Value: The SNR.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
getBrightness()
public double getBrightness()
Gets or sets the brightness. recommended range 1 - 1.5 default value = 1.15
Value: The brightness.
Returns: double
setBrightness(double value)
public void setBrightness(double value)
Gets or sets the brightness. recommended range 1 - 1.5 default value = 1.15
Value: The brightness.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
getGrayscale()
public boolean getGrayscale()
Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale. Return grayscale mode or RGB mode.
Value: true if grayscale; otherwise, false.
Returns: boolean
setGrayscale(boolean value)
public void setGrayscale(boolean value)
Gets or sets a value indicating whether this DeconvolutionFilterOptions is grayscale. Return grayscale mode or RGB mode.
Value: true if grayscale; otherwise, false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
isPartialLoaded()
public boolean isPartialLoaded()
Gets a value indicating whether this instance is partial loaded.
Value: true if this instance is partially loaded; otherwise, false.
Returns: boolean