ImageBinarizationOptions
Contents
[
Hide
]Inheritance: java.lang.Object
public class ImageBinarizationOptions
Options for image’s binarization.
Constructors
| Constructor | Description |
|---|---|
| ImageBinarizationOptions() | Initializes a new instance of the ImageBinarizationOptions class. |
Methods
| Method | Description |
|---|---|
| getBinarizationMethod() | Gets or sets the binarization method. |
| getBinarizationThreshold() | Gets or sets threshold value for fixed threshold binarization method. |
| setBinarizationMethod(int value) | Gets or sets the binarization method. |
| setBinarizationThreshold(int value) | Gets or sets threshold value for fixed threshold binarization method. |
ImageBinarizationOptions()
public ImageBinarizationOptions()
Initializes a new instance of the ImageBinarizationOptions class.
getBinarizationMethod()
public final int getBinarizationMethod()
Gets or sets the binarization method. The default value is BinarizationMethod.FixedThreshold.
Returns: int
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)
public final void setBinarizationMethod(int value)
Gets or sets the binarization method. The default value is BinarizationMethod.FixedThreshold.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setBinarizationThreshold(int value)
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 |