TFinderPattern Class

Definition

Encapsulates a finder pattern, which are the three square patterns found in the corners of QR Codes. It also encapsulates a count of similar finder patterns, as a convenience to the finder's bookkeeping.

Delphi
type TFinderPattern = class(TResultPoint)
Inheritance
TInterfacedObject
TFinderPattern
Implements

Constructors

Properties

count
x (Inherited from TResultPoint)
y (Inherited from TResultPoint)

Methods

Equals(TObject)

Determines whether the specified System.TObject is equal to this instance.

(Inherited from TResultPoint)
GetCount
GetHashCode

Returns a hash code for this instance.

(Inherited from TResultPoint)
SetCount(Integer)
ToString

Returns a System.String that represents this instance.

(Inherited from TResultPoint)
aboutEquals(Single, Single, Single)

Determines if this finder pattern "about equals" a finder pattern at the stated position and size -- meaning, it is at nearly the same center with nearly the same size.

combineEstimate(Single, Single, Single)

Combines this object's current estimate of a finder pattern position and module size with a new estimate. It returns a new {@code FinderPattern} containing a weighted average based on count.

estimatedModuleSize

Gets the size of the estimated module.

Fields