| TesseractOcrImageResizeSettings Class |
Namespace: DevScope.Ocr.Tesseract.Windows
The TesseractOcrImageResizeSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| TesseractOcrImageResizeSettings |
Initializes a new instance of the TesseractOcrImageResizeSettings class.
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ResizeOperationOrder |
The order of execution of the resize operation when the engine is pre-processing a document page image.
| |
| ScaleXFactor |
The horizontal resize scale factor
| |
| ScaleYFactor |
The vertical resize scale factor
|
| If ScaleXFactor and ScaleXFactor are both 0.0, no resize is done. |
| If ScaleXFactor is greater than 0.0 and ScaleYFactor equals 0.0, the image will be resized by multiplying the width by the ScaleXFactor and maintaining the original aspect ratio. |
| If ScaleXFactor is greater than 0.0 and ScaleYFactor equals 1.0, the image will be resized by multiplying the width by the ScaleXFactor and keeping the same height, streching or expanding horizontaly. |
| If ScaleYFactor is greater than 0.0 and ScaleXFactor equals 0.0, the image will be resized by multiplying the height by the ScaleYFactor and maintaining the original aspect ratio. |
| If ScaleYFactor is greater than 0.0 and ScaleXFactor equals 1.0, the image will be resized by multiplying the height by the ScaleYFactor and keeping the same width, streching or expanding vertically. |
| If ScaleXFactor is greater than 0.0 and ScaleYFactor greater than 0.0, the image will be resized by multiplying the width by the ScaleXFactor and the height by the ScaleYFactor. |