Table of Contents

Class ImageBuffer.DeskewResult

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

Result of a Deskew(DeskewParameters) operation.

public sealed class ImageBuffer.DeskewResult
Inheritance
ImageBuffer.DeskewResult
Inherited Members

Remarks

The Angle is the CORRECTION in degrees, in the engine's own frame: passing it to RotateByDegrees(float, bool) straightens the page. A positive value means the page leans clockwise as displayed and the correction turns it counter-clockwise (the mathematical positive on a top-down raster). A canvas or CSS caller, whose positive rotation is clockwise, takes the SCREEN-frame value from DetectSkew(byte[], int, int) instead of negating this one by hand.

Properties

Angle

Gets the measured skew angle in degrees.

Image

Gets the deskewed image buffer, or null when no deskew was performed (e.g., the measured angle was not significant or could not be estimated).

Share