Class DetectionResult

java.lang.Object
com.google.zxing.pdf417.decoder.DetectionResult

final class DetectionResult extends Object
  • Field Details

    • ADJUST_ROW_NUMBER_SKIP

      private static final int ADJUST_ROW_NUMBER_SKIP
      See Also:
    • barcodeMetadata

      private final BarcodeMetadata barcodeMetadata
    • detectionResultColumns

      private final DetectionResultColumn[] detectionResultColumns
    • boundingBox

      private BoundingBox boundingBox
    • barcodeColumnCount

      private final int barcodeColumnCount
  • Constructor Details

  • Method Details

    • getDetectionResultColumns

      DetectionResultColumn[] getDetectionResultColumns()
    • adjustIndicatorColumnRowNumbers

      private void adjustIndicatorColumnRowNumbers(DetectionResultColumn detectionResultColumn)
    • adjustRowNumbers

      private int adjustRowNumbers()
      Returns:
      number of codewords which don't have a valid row number. Note that the count is not accurate as codewords will be counted several times. It just serves as an indicator to see when we can stop adjusting row numbers
    • adjustRowNumbersByRow

      private int adjustRowNumbersByRow()
    • adjustRowNumbersFromBothRI

      private void adjustRowNumbersFromBothRI()
    • adjustRowNumbersFromRRI

      private int adjustRowNumbersFromRRI()
    • adjustRowNumbersFromLRI

      private int adjustRowNumbersFromLRI()
    • adjustRowNumberIfValid

      private static int adjustRowNumberIfValid(int rowIndicatorRowNumber, int invalidRowCounts, Codeword codeword)
    • adjustRowNumbers

      private void adjustRowNumbers(int barcodeColumn, int codewordsRow, Codeword[] codewords)
    • adjustRowNumber

      private static boolean adjustRowNumber(Codeword codeword, Codeword otherCodeword)
      Returns:
      true, if row number was adjusted, false otherwise
    • getBarcodeColumnCount

      int getBarcodeColumnCount()
    • getBarcodeRowCount

      int getBarcodeRowCount()
    • getBarcodeECLevel

      int getBarcodeECLevel()
    • setBoundingBox

      void setBoundingBox(BoundingBox boundingBox)
    • getBoundingBox

      BoundingBox getBoundingBox()
    • setDetectionResultColumn

      void setDetectionResultColumn(int barcodeColumn, DetectionResultColumn detectionResultColumn)
    • getDetectionResultColumn

      DetectionResultColumn getDetectionResultColumn(int barcodeColumn)
    • toString

      public String toString()
      Overrides:
      toString in class Object