Click or drag to resize

DocumentAligner Class

The DocumentAligner class attempts to find the best possible alignment transform between two images.
Inheritance Hierarchy
SystemObject
  Atalasoft.FormsProcessing.AlignmentDocumentAligner

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 class DocumentAligner : IDocumentAligner

The DocumentAligner type exposes the following members.

Constructors
  NameDescription
Public methodDocumentAligner
Creates a new instance of DocumentAligner with the default property values.
Top
Properties
  NameDescription
Public propertyTargetObjectSize

Gets or sets the approximate size (in pixels) of the primary feature to be considered for alignment. In the case of OMR this would be the size of the marks.

Default: 35, 35

Top
Methods
  NameDescription
Public methodAlign(PageFingerprint, PageFingerprint)
Finds the best transform from template to sourceImage based on the given document's fingerprints.
Public methodAlign(PageFingerprint, PageFingerprint, ImmutableMatrix)

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

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventIntermediateResultFound
This event is fired at the end of each alignment step. Its primary use is to visualize how the alignment algorithm is working for debugging purposes.
Top
See Also

Reference

AlignmentRejector Class
AlignmentResult Class