Click or drag to resize

DocumentAlignerAlign Method (PageFingerprint, PageFingerprint, ImmutableMatrix)

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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public 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.

Implements

IDocumentAlignerAlign(PageFingerprint, PageFingerprint, ImmutableMatrix)
Remarks
Expects sourceFingerprint's image to have been previously modified to be the same size in pixels as the the template.
See Also