Package boofcv.alg.fiducial.aztec
Class AztecEncoderAutomatic
java.lang.Object
boofcv.alg.fiducial.aztec.AztecEncoderAutomatic
- All Implemented Interfaces:
VerbosePrint
Automatic encoding algorithm as described in [1] which seeks to encode text in a format which minimizes the amount
of storage required.
- latch = switching into a mode until it switches out of it
- shift = switching into a mode for a single then going back into the source mode
[1] ISO/IEC 24778:2008(E)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPunctuation
(int c) void
process
(String message, AztecEncoder encoder) Processes and encodes the stringvoid
setVerbose
(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Field Details
-
modes
-
-
Constructor Details
-
AztecEncoderAutomatic
public AztecEncoderAutomatic()
-
-
Method Details
-
process
Processes and encodes the string- Parameters:
message
- (Input) String that's to be encodedencoder
- (Input/Output) Encoder for parses segments
-
isPunctuation
public boolean isPunctuation(int c) -
setVerbose
public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration) - Specified by:
setVerbose
in interfaceVerbosePrint
-