TAlignmentPatternFinder.centerFromEnd Method

Definition

Given a count of black/white/black pixels just seen and an end position, figures the location of the center of this black/white/black run.

Delphi
function centerFromEnd(const stateCount: TArray<Integer>; const pEnd: Integer): Single

Parameters

stateCount
TArray<Integer>
pEnd
Integer

Returns

Single