
**Inheritance:**
java.lang.Object
```
public class ImageBinarizationOptions
```

Options for image's binarization.
## Constructors

| Constructor | Description |
| --- | --- |
| [ImageBinarizationOptions()](#ImageBinarizationOptions--) | Initializes a new instance of the [ImageBinarizationOptions](../../com.aspose.note/imagebinarizationoptions) class. |
## Methods

| Method | Description |
| --- | --- |
| [getBinarizationMethod()](#getBinarizationMethod--) | Gets or sets the binarization method. |
| [getBinarizationThreshold()](#getBinarizationThreshold--) | Gets or sets threshold value for fixed threshold binarization method. |
| [setBinarizationMethod(int value)](#setBinarizationMethod-int-) | Gets or sets the binarization method. |
| [setBinarizationThreshold(int value)](#setBinarizationThreshold-int-) | Gets or sets threshold value for fixed threshold binarization method. |
### ImageBinarizationOptions() {#ImageBinarizationOptions--}
```
public ImageBinarizationOptions()
```


Initializes a new instance of the [ImageBinarizationOptions](../../com.aspose.note/imagebinarizationoptions) class.

### getBinarizationMethod() {#getBinarizationMethod--}
```
public final int getBinarizationMethod()
```


Gets or sets the binarization method. The default value is [BinarizationMethod.FixedThreshold](../../com.aspose.note/binarizationmethod\#FixedThreshold).

**Returns:**
int
### getBinarizationThreshold() {#getBinarizationThreshold--}
```
public final int getBinarizationThreshold()
```


Gets or sets threshold value for fixed threshold binarization method. The default value is 128.

**Returns:**
int
### setBinarizationMethod(int value) {#setBinarizationMethod-int-}
```
public final void setBinarizationMethod(int value)
```


Gets or sets the binarization method. The default value is [BinarizationMethod.FixedThreshold](../../com.aspose.note/binarizationmethod\#FixedThreshold).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setBinarizationThreshold(int value) {#setBinarizationThreshold-int-}
```
public final void setBinarizationThreshold(int value)
```


Gets or sets threshold value for fixed threshold binarization method. The default value is 128.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

