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 |
---|---|
getBinarizationThreshold() | Gets or sets threshold value for fixed threshold binarization method. |
setBinarizationThreshold(int value) | Gets or sets threshold value for fixed threshold binarization method. |
getBinarizationMethod() | Gets or sets the binarization method. |
setBinarizationMethod(int value) | Gets or sets the binarization method. |
ImageBinarizationOptions()
public ImageBinarizationOptions()
Initializes a new instance of the ImageBinarizationOptions class.
getBinarizationThreshold()
public final int getBinarizationThreshold()
Gets or sets threshold value for fixed threshold binarization method. The default value is 128.
Returns: 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 |
getBinarizationMethod()
public final int getBinarizationMethod()
Gets or sets the binarization method. The default value is BinarizationMethod.FixedThreshold.
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 |