Method | Description | |
---|---|---|
AlignmentPatternFinder ( |
Creates a finder that will look in a portion of the whole image.
|
|
centerFromEnd ( int stateCount, int end ) : float? |
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.
|
|
crossCheckVertical ( int startI, int centerJ, int maxCount, int originalStateCountTotal ) : float? |
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.
|
|
find ( ) : ZXing.QrCode.Internal.AlignmentPattern |
This method attempts to find the bottom-right alignment pattern in the image. It is a bit messy since it's pretty performance-critical and so is written to be fast foremost.
|
|
foundPatternCross ( int stateCount ) : bool | ||
handlePossibleCenter ( int stateCount, int i, int j ) : ZXing.QrCode.Internal.AlignmentPattern |
This is called when a horizontal scan finds a possible alignment pattern. It will cross check with a vertical scan, and if successful, will see if this pattern had been found on a previous horizontal scan. If so, we consider it confirmed and conclude we have found the alignment pattern.
|