Class QrCode.BlockInfo

java.lang.Object
boofcv.alg.fiducial.qrcode.QrCode.BlockInfo
Enclosing class:
QrCode

public static class QrCode.BlockInfo
extends Object
Specifies the format for a data block. Storage for data and ECC plus the number of blocks of each size.
  • Field Details

    • codewords

      public final int codewords
      Code words per block
    • dataCodewords

      public final int dataCodewords
      Number of data codewords
    • blocks

      public final int blocks
      Number of error data blocks of this size. There can be one other set of blocks which will store codewords + 1 and dataCodewords + 1.
  • Constructor Details

    • BlockInfo

      public BlockInfo​(int codewords, int dataCodewords, int blocks)