Package boofcv.alg.fiducial.qrcode
Class QrCode.VersionInfo
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCode.VersionInfo
- Enclosing class:
- QrCode
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int[]final intfinal Map<QrCode.ErrorLevel,QrCode.BlockInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(QrCode.ErrorLevel level, int codeWords, int dataCodewords, int eccBlocks) inttotalDataBytes(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.
-