Package boofcv.alg.fiducial.qrcode
Class QrCode.BlockInfo
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCode.BlockInfo
- Enclosing class:
- QrCode
Specifies the format for a data block. Storage for data and ECC plus the number of blocks of each size.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
Number of error data blocks of this size.final int
Code words per blockfinal int
Number of data codewords -
Constructor Summary
-
Method Summary
-
Field Details
-
codewords
public final int codewordsCode words per block -
dataCodewords
public final int dataCodewordsNumber of data codewords -
blocks
public final int blocksNumber 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)
-