TAlignmentPatternFinder.crossCheckVertical Method
Definition
After a horizontal scan finds a potential alignment pattern, this method "cross-checks" by scanning down vertically through the center of the possible alignment pattern to see if the same proportion is detected.
Delphi
function crossCheckVertical(const startI: Integer; const centerJ: Integer; const maxCount: Integer; const originalStateCountTotal: Integer): Single
Parameters
- startI
- Integer
row where an alignment pattern was detected
- centerJ
- Integer
center of the section that appears to cross an alignment pattern
- maxCount
- Integer
maximum reasonable number of modules that should be observed in any reading state, based on the results of the horizontal scan
- originalStateCountTotal
- Integer
The original state count total.
Returns
Single
vertical center of alignment pattern, or null if not found