ImgEvaluateSkew |
Top Previous Next |
Prototype
floatAngle:=ImgEvaluateSkew(intImageHandle, intRange, floatResolution, intStep)
Description
Evaluates skew angle for the image.
Parameters
intImageHandle: integer value corresponding to the image handle.
intRange: integer value that specifies the range of deskewing (between -SpecifiedValue and +SpecifiedValue);
floatResolution: resolution used in deskew procedure.
intStep: rows step in the loop that reads and analyzes rows of the image (0: Automatic; 1:All the rows)
Returned value
Float value with calculated skew angle.
Notes
To evaluate and correct skew use ImgDeskew.
Example
// Find skew angle angle:=ImgEvaluateSkew(_CurrentImage, 5, 0.1, 0);
// Log a message ApplicationLog('Skew angle is: '+ FloatToStr(angle) +'°.');
|