Here are the examples of the csharp api class ZXing.PDF417.Internal.DetectionResultColumn.imageRowToCodewordIndex(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
4 Examples
0
1. Example
View licensepublic Codeword getCodeword(int imageRow) { return Codewords[imageRowToCodewordIndex(imageRow)]; }
0
2. Example
View licensepublic Codeword getCodeword(int imageRow) { return Codewords[imageRowToCodewordIndex(imageRow)]; }
0
3. Example
View licensepublic Codeword getCodewordNearby(int imageRow) { Codeword codeword = getCodeword(imageRow); if (codeword != null) { return codeword; } for (int i = 1; i < MAX_NEARBY_DISTANCE; i++) { int nearImageRow = imageRowToCodewordIndex(imageRow) - i; if (nearImageRow >= 0) { codeword = Codewords[nearImageRow]; if (codeword != null) { return codeword; } } nearImageRow = imageRowToCodewordIndex(imageRow) + i; if (nearImageRow < Codewords.Length) { codeword = Codewords[nearImageRow]; if (codeword != null) { return codeword; } } } return null; }
0
4. Example
View licensepublic Codeword getCodewordNearby(int imageRow) { Codeword codeword = getCodeword(imageRow); if (codeword != null) { return codeword; } for (int i = 1; i < MAX_NEARBY_DISTANCE; i++) { int nearImageRow = imageRowToCodewordIndex(imageRow) - i; if (nearImageRow >= 0) { codeword = Codewords[nearImageRow]; if (codeword != null) { return codeword; } } nearImageRow = imageRowToCodewordIndex(imageRow) + i; if (nearImageRow < Codewords.Length) { codeword = Codewords[nearImageRow]; if (codeword != null) { return codeword; } } } return null; }