Method | Description | |
---|---|---|
ToString ( ZXing.PDF417.Internal.BarcodeValue barcodeMatrix ) : String |
Returns a System.String that represents the ZXing.PDF417.Internal.BarcodeValue jagged array.
|
|
decode ( |
Decode the specified image, imageTopLeft, imageBottomLeft, imageTopRight, imageBottomRight, minCodewordWidth and maxCodewordWidth. TODO: don't pass in minCodewordWidth and maxCodewordWidth, pass in barcode columns for start and stop pattern columns. That way width can be deducted from the pattern column. This approach also allows to detect more details about the barcode, e.g. if a bar type (white or black) is wider than it should be. This can happen if the scanner used a bad blackpoint.
|
Method | Description | |
---|---|---|
adjustBoundingBox ( |
Adjusts the bounding box.
|
|
adjustCodewordCount ( ZXing.PDF417.Internal.DetectionResult detectionResult, ZXing.PDF417.Internal.BarcodeValue barcodeMatrix ) : bool |
Adjusts the codeword count.
|
|
adjustCodewordStartColumn ( |
Adjusts the codeword start column.
|
|
checkCodewordSkew ( int codewordSize, int minCodewordWidth, int maxCodewordWidth ) : bool |
Checks the codeword for any skew.
|
|
correctErrors ( int codewords, int erasures, int numECCodewords ) : int |
Given data and error-correction codewords received, possibly corrupted by errors, attempts to correct the errors in-place.
|
|
createBarcodeMatrix ( ZXing.PDF417.Internal.DetectionResult detectionResult ) : ZXing.PDF417.Internal.BarcodeValue[][] |
Creates the barcode matrix.
|
|
createDecoderResult ( ZXing.PDF417.Internal.DetectionResult detectionResult ) : ZXing.Common.DecoderResult |
Creates the decoder result.
|
|
createDecoderResultFromAmbiguousValues ( int ecLevel, int codewords, int erasureArray, int ambiguousIndexes, int ambiguousIndexValues ) : ZXing.Common.DecoderResult |
This method deals with the fact, that the decoding process doesn't always yield a single most likely value. The current error correction implementation doesn't deal with erasures very well, so it's better to provide a value for these ambiguous codewords instead of treating it as an erasure. The problem is that we don't know which of the ambiguous values to choose. We try decode using the first value, and if that fails, we use another of the ambiguous values and try to decode again. This usually only happens on very hard to read and decode barcodes, so decoding the normal barcodes is not affected by this.
|
|
decodeCodewords ( int codewords, int ecLevel, int erasures ) : ZXing.Common.DecoderResult |
Decodes the codewords.
|
|
detectCodeword ( |
Detects the codeword.
|
|
getBarcodeMetadata ( |
Gets the barcode metadata.
|
|
getBitCountForCodeword ( int codeword ) : int[] |
Gets the bit count for codeword.
|
|
getCodewordBucketNumber ( int codeword ) : int |
Gets the codeword bucket number.
|
|
getMax ( int values ) : int | ||
getModuleBitCount ( |
Gets the module bit count.
|
|
getNumberOfECCodeWords ( int barcodeECLevel ) : int |
Gets the number of EC code words.
|
|
getRowIndicatorColumn ( |
Gets the row indicator column.
|
|
getStartColumn ( ZXing.PDF417.Internal.DetectionResult detectionResult, int barcodeColumn, int imageRow, bool leftToRight ) : int |
Gets the start column.
|
|
isValidBarcodeColumn ( ZXing.PDF417.Internal.DetectionResult detectionResult, int barcodeColumn ) : bool |
Tests to see if the Barcode Column is Valid
|
|
merge ( |
Merge the specified leftRowIndicatorColumn and rightRowIndicatorColumn.
|
|
verifyCodewordCount ( int codewords, int numECCodewords ) : bool |
Verifies that all is well with the the codeword array.
|
public static ToString ( ZXing.PDF417.Internal.BarcodeValue barcodeMatrix ) : String | ||
barcodeMatrix | ZXing.PDF417.Internal.BarcodeValue | Barcode matrix as a jagged array. |
return | String |
public static decode ( |
||
image | Image. | |
imageTopLeft | ResultPoint | Image top left. |
imageBottomLeft | ResultPoint | Image bottom left. |
imageTopRight | ResultPoint | Image top right. |
imageBottomRight | ResultPoint | Image bottom right. |
minCodewordWidth | int | Minimum codeword width. |
maxCodewordWidth | int | Max codeword width. |
return | ZXing.Common.DecoderResult |