Package boofcv.alg.fiducial.qrcode
Class QrCode.VersionInfo
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCode.VersionInfo
- Enclosing class:
- QrCode
-
Field Summary
Modifier and TypeFieldDescriptionfinal int[]
final int
final Map<QrCode.ErrorLevel,
QrCode.BlockInfo> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-