common library

common lib

Classes

BitArray
A simple, fast array of bits, represented compactly by an array of ints internally.
BitMatrix
Represents a 2D matrix of bits.
BitSource
This provides an easy abstraction to read bits at a time from a sequence of bytes, where the number of bits read is not often a multiple of 8.
CharacterSetECI
Encapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1 of ISO 18004.
DecoderResult
Encapsulates the result of decoding a matrix of bits.
DefaultGridSampler
@author Sean Owen
DetectorResult
Encapsulates the result of detecting a barcode in an image.
ECIInput
Interface to navigate a sequence of ECIs and bytes.
GenericGF
This class contains utility methods for performing mathematical operations over the Galois Fields. Operations use a given primitive polynomial in calculations.
GenericGFPoly
Represents a polynomial whose coefficients are elements of a GF. Instances of this class are immutable.
GlobalHistogramBinarizer
This Binarizer implementation uses the old ZXing global histogram approach.
GridSampler
Implementations of this class can, given locations of finder patterns for a QR code in an image, sample the right points in the image to reconstruct the QR code, accounting for perspective distortion.
HybridBinarizer
This class implements a local thresholding algorithm, which while slower than the GlobalHistogramBinarizer, is fairly efficient for what it does.
InputEdge
MathUtils
General math-related and numeric utility functions.
MinimalECIInput
Class that converts a character string into a sequence of ECIs and bytes
MonochromeRectangleDetector
A somewhat generic detector that looks for a barcode-like rectangular region within an image.
PerspectiveTransform
This class implements a perspective transform in two dimensions. Given four source and four destination points, it will compute the transformation implied between them. The code is based directly upon section 3.4.2 of George Wolberg's "Digital Image Warping"; see pages 54-56.
ReedSolomonDecoder
Implements Reed-Solomon decoding, as the name implies.
ReedSolomonEncoder
Implements Reed-Solomon encoding, as the name implies.
StringBuilder
A StringBuilder extends StringBuffer. methods like StringBuilder from Java
StringUtils
Common string-related functions.
Utils
Any utils
WhiteRectangleDetector
Detects a candidate barcode-like rectangular region within an image.

Exceptions / Errors

ReedSolomonException
Thrown when an exception occurs during Reed-Solomon decoding, such as when there are too many errors to correct.