Package boofcv.alg.fiducial.qrcode
Class QrCode.VersionInfo
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCode.VersionInfo
- Enclosing class:
- QrCode
public static class QrCode.VersionInfo extends Object
-
Field Summary
Fields Modifier and Type Field Description int[]
alignment
int
codewords
Map<QrCode.ErrorLevel,QrCode.BlockInfo>
levels
-
Constructor Summary
Constructors Constructor Description VersionInfo(int codewords, int[] alignment)
-
Method Summary
Modifier and Type Method Description void
add(QrCode.ErrorLevel level, int codeWords, int dataCodewords, int eccBlocks)
int
totalDataBytes(QrCode.ErrorLevel error)
Returns the total number of bytes in the data area that can be stored in at this version and error correction level.
-
Field Details
-
codewords
public final int codewords -
alignment
public final int[] alignment -
levels
-
-
Constructor Details
-
VersionInfo
public VersionInfo(int codewords, int[] alignment)
-
-
Method Details
-
add
-
totalDataBytes
Returns the total number of bytes in the data area that can be stored in at this version and error correction level.- Parameters:
error
- Error correction level- Returns:
- total bytes that can be stored.
-