**Inheritance:**
java.lang.Object, [com.aspose.imaging.imagefilters.filteroptions.FilterOptionsBase](../../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)](#DeconvolutionFilterOptions-double-----) | Initializes a new instance of the [DeconvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/deconvolutionfilteroptions) class. |
| [DeconvolutionFilterOptions(Complex[][] kernel)](#DeconvolutionFilterOptions-com.aspose.imaging.imagefilters.complexutils.Complex-----) | Initializes a new instance of the [DeconvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/deconvolutionfilteroptions) class. |
## Methods

| Method | Description |
| --- | --- |
| [getKernel()](#getKernel--) | Gets the kernel. |
| [getSnr()](#getSnr--) | Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007 |
| [setSnr(double value)](#setSnr-double-) | Gets or sets the SNR(signal-to-noise ratio) recommended range 0.002 - 0.009, default value = 0.007 |
| [getBrightness()](#getBrightness--) | Gets or sets the brightness. |
| [setBrightness(double value)](#setBrightness-double-) | Gets or sets the brightness. |
| [getGrayscale()](#getGrayscale--) | Gets or sets a value indicating whether this `DeconvolutionFilterOptions` is grayscale. |
| [setGrayscale(boolean value)](#setGrayscale-boolean-) | Gets or sets a value indicating whether this `DeconvolutionFilterOptions` is grayscale. |
| [isPartialLoaded()](#isPartialLoaded--) | Gets a value indicating whether this instance is partial loaded. |
### DeconvolutionFilterOptions(double[][] kernel) {#DeconvolutionFilterOptions-double-----}
```
public DeconvolutionFilterOptions(double[][] kernel)
```


Initializes a new instance of the [DeconvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/deconvolutionfilteroptions) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| kernel | double[][] | The kernel. |

### DeconvolutionFilterOptions(Complex[][] kernel) {#DeconvolutionFilterOptions-com.aspose.imaging.imagefilters.complexutils.Complex-----}
```
public DeconvolutionFilterOptions(Complex[][] kernel)
```


Initializes a new instance of the [DeconvolutionFilterOptions](../../com.aspose.imaging.imagefilters.filteroptions/deconvolutionfilteroptions) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| kernel | [Complex\[\]](../../com.aspose.imaging.imagefilters.complexutils/complex) | The kernel. |

### getKernel() {#getKernel--}
```
public Complex[][] getKernel()
```


Gets the kernel.

**Returns:**
com.aspose.imaging.imagefilters.complexutils.Complex[][] - the kernel.
### getSnr() {#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) {#setSnr-double-}
```
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() {#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) {#setBrightness-double-}
```
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() {#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) {#setGrayscale-boolean-}
```
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() {#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
