Threshold
Contents
[
Hide
]Threshold(int)
Create a binary image based on setting a threshold value on the pixel intensity of the original image.
public static PreprocessingFilter Threshold(int value)
Parameter | Type | Description |
---|---|---|
value | Int32 | The max value. |
Return Value
BinarizeFilter object.
See Also
- class PreprocessingFilter
- namespace Aspose.OCR.Models.PreprocessingFilters
- assembly Aspose.OCR
Threshold(int, Rectangle)
Create a binary part of the image based on setting a threshold value on the pixel intensity of the original image part.
public static PreprocessingFilter Threshold(int value, Rectangle area)
Parameter | Type | Description |
---|---|---|
value | Int32 | The max value. |
area | Rectangle | Coordinates of the part of the image to be corrected. |
Return Value
BinarizeFilter object.
See Also
- class PreprocessingFilter
- namespace Aspose.OCR.Models.PreprocessingFilters
- assembly Aspose.OCR