Click or drag to resize

IDocumentAlignerAlign Method

Finds the best transform from source to target based on a given pair of PageFingerprints and an initial alignment estimate.

Namespace:  Atalasoft.FormsProcessing.Alignment
Assembly:  Atalasoft.dotImage.FormsProcessing (in Atalasoft.dotImage.FormsProcessing.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
AlignmentResult Align(
	PageFingerprint sourceFingerprint,
	PageFingerprint targetFingerprint,
	ImmutableMatrix initialAlignment
)

Parameters

sourceFingerprint
Type: Atalasoft.FormsProcessing.AlignmentPageFingerprint
The source fingerprint
targetFingerprint
Type: Atalasoft.FormsProcessing.AlignmentPageFingerprint
The target fingerprint
initialAlignment
Type: Atalasoft.FormsProcessing.GeometryImmutableMatrix
The initial document alignment matrix

Return Value

Type: AlignmentResult
The result of the alignment process which includes a transformation matrix from the source to the target.
Remarks
Expects sourceFingerprint's image to have been previously modified to be the same size in pixels as the the template.
See Also