Modifier and Type | Field and Description |
---|---|
private BitMatrix |
BinaryBitmap.matrix |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
MultiFormatWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
Writer.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height)
Encode a barcode using the default settings.
|
BitMatrix |
MultiFormatWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
BitMatrix |
Writer.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
abstract BitMatrix |
Binarizer.getBlackMatrix()
Converts a 2D array of luminance data to 1 bit data.
|
BitMatrix |
BinaryBitmap.getBlackMatrix()
Converts a 2D array of luminance data to 1 bit.
|
Modifier and Type | Method and Description |
---|---|
BitMatrix |
AztecWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
private static BitMatrix |
AztecWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.nio.charset.Charset charset,
int eccPercent,
int layers) |
BitMatrix |
AztecWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
private static BitMatrix |
AztecWriter.renderResult(AztecCode code,
int width,
int height) |
Constructor and Description |
---|
AztecDetectorResult(BitMatrix bits,
ResultPoint[] points,
boolean compact,
int nbDatablocks,
int nbLayers) |
AztecDetectorResult(BitMatrix bits,
ResultPoint[] points,
boolean compact,
int nbDatablocks,
int nbLayers,
int errorsCorrected) |
Modifier and Type | Method and Description |
---|---|
private boolean[] |
Decoder.extractBits(BitMatrix matrix)
Gets the array of bits from an Aztec Code matrix
|
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
Detector.image |
Modifier and Type | Method and Description |
---|---|
private BitMatrix |
Detector.sampleGrid(BitMatrix image,
ResultPoint topLeft,
ResultPoint topRight,
ResultPoint bottomRight,
ResultPoint bottomLeft)
Creates a BitMatrix by sampling the provided image.
|
Modifier and Type | Method and Description |
---|---|
private BitMatrix |
Detector.sampleGrid(BitMatrix image,
ResultPoint topLeft,
ResultPoint topRight,
ResultPoint bottomRight,
ResultPoint bottomLeft)
Creates a BitMatrix by sampling the provided image.
|
Constructor and Description |
---|
Detector(BitMatrix image) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
AztecCode.matrix |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
AztecCode.getMatrix() |
Modifier and Type | Method and Description |
---|---|
private static void |
Encoder.drawBullsEye(BitMatrix matrix,
int center,
int size) |
private static void |
Encoder.drawModeMessage(BitMatrix matrix,
boolean compact,
int matrixSize,
BitArray modeMessage) |
void |
AztecCode.setMatrix(BitMatrix matrix) |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
MatrixToImageWriter.toBufferedImage(BitMatrix matrix)
Renders a
BitMatrix as an image, where "false" bits are rendered
as white, and "true" bits are rendered as black. |
static java.awt.image.BufferedImage |
MatrixToImageWriter.toBufferedImage(BitMatrix matrix,
MatrixToImageConfig config)
As
MatrixToImageWriter.toBufferedImage(BitMatrix) , but allows customization of the output. |
static void |
MatrixToImageWriter.writeToFile(BitMatrix matrix,
java.lang.String format,
java.io.File file)
Deprecated.
|
static void |
MatrixToImageWriter.writeToFile(BitMatrix matrix,
java.lang.String format,
java.io.File file,
MatrixToImageConfig config)
|
static void |
MatrixToImageWriter.writeToPath(BitMatrix matrix,
java.lang.String format,
java.nio.file.Path file)
Writes a
BitMatrix to a file with default configuration. |
static void |
MatrixToImageWriter.writeToPath(BitMatrix matrix,
java.lang.String format,
java.nio.file.Path file,
MatrixToImageConfig config)
As
MatrixToImageWriter.writeToPath(BitMatrix, String, Path) , but allows customization of the output. |
static void |
MatrixToImageWriter.writeToStream(BitMatrix matrix,
java.lang.String format,
java.io.OutputStream stream)
Writes a
BitMatrix to a stream with default configuration. |
static void |
MatrixToImageWriter.writeToStream(BitMatrix matrix,
java.lang.String format,
java.io.OutputStream stream,
MatrixToImageConfig config)
As
MatrixToImageWriter.writeToStream(BitMatrix, String, OutputStream) , but allows customization of the output. |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
DetectorResult.bits |
private BitMatrix |
HybridBinarizer.matrix |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
BitMatrix.clone() |
BitMatrix |
DetectorResult.getBits() |
BitMatrix |
GlobalHistogramBinarizer.getBlackMatrix() |
BitMatrix |
HybridBinarizer.getBlackMatrix()
Calculates the final BitMatrix once for all requests.
|
static BitMatrix |
BitMatrix.parse(boolean[][] image)
Interprets a 2D array of booleans as a
BitMatrix , where "true" means an "on" bit. |
static BitMatrix |
BitMatrix.parse(java.lang.String stringRepresentation,
java.lang.String setString,
java.lang.String unsetString) |
BitMatrix |
DefaultGridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
float p1ToX,
float p1ToY,
float p2ToX,
float p2ToY,
float p3ToX,
float p3ToY,
float p4ToX,
float p4ToY,
float p1FromX,
float p1FromY,
float p2FromX,
float p2FromY,
float p3FromX,
float p3FromY,
float p4FromX,
float p4FromY) |
abstract BitMatrix |
GridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
float p1ToX,
float p1ToY,
float p2ToX,
float p2ToY,
float p3ToX,
float p3ToY,
float p4ToX,
float p4ToY,
float p1FromX,
float p1FromY,
float p2FromX,
float p2FromY,
float p3FromX,
float p3FromY,
float p4FromX,
float p4FromY)
Samples an image for a rectangular matrix of bits of the given dimension.
|
BitMatrix |
DefaultGridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
abstract BitMatrix |
GridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
Modifier and Type | Method and Description |
---|---|
private static void |
HybridBinarizer.calculateThresholdForBlock(byte[] luminances,
int subWidth,
int subHeight,
int width,
int height,
int[][] blackPoints,
BitMatrix matrix)
For each block in the image, calculate the average black point using a 5x5 grid
of the blocks around it.
|
protected static void |
GridSampler.checkAndNudgePoints(BitMatrix image,
float[] points)
Checks a set of points that have been transformed to sample points on an image against
the image's dimensions to see if the point are even within the image.
|
BitMatrix |
DefaultGridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
float p1ToX,
float p1ToY,
float p2ToX,
float p2ToY,
float p3ToX,
float p3ToY,
float p4ToX,
float p4ToY,
float p1FromX,
float p1FromY,
float p2FromX,
float p2FromY,
float p3FromX,
float p3FromY,
float p4FromX,
float p4FromY) |
abstract BitMatrix |
GridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
float p1ToX,
float p1ToY,
float p2ToX,
float p2ToY,
float p3ToX,
float p3ToY,
float p4ToX,
float p4ToY,
float p1FromX,
float p1FromY,
float p2FromX,
float p2FromY,
float p3FromX,
float p3FromY,
float p4FromX,
float p4FromY)
Samples an image for a rectangular matrix of bits of the given dimension.
|
BitMatrix |
DefaultGridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
abstract BitMatrix |
GridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
private static void |
HybridBinarizer.thresholdBlock(byte[] luminances,
int xoffset,
int yoffset,
int threshold,
int stride,
BitMatrix matrix)
Applies a single threshold to a block of pixels.
|
void |
BitMatrix.xor(BitMatrix mask)
Exclusive-or (XOR): Flip the bit in this
BitMatrix if the corresponding
mask bit is set. |
Constructor and Description |
---|
DetectorResult(BitMatrix bits,
ResultPoint[] points) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
MonochromeRectangleDetector.image
Deprecated.
|
private BitMatrix |
WhiteRectangleDetector.image |
Constructor and Description |
---|
MonochromeRectangleDetector(BitMatrix image)
Deprecated.
|
WhiteRectangleDetector(BitMatrix image) |
WhiteRectangleDetector(BitMatrix image,
int initSize,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
DataMatrixWriter.convertByteMatrixToBitMatrix(ByteMatrix matrix,
int reqWidth,
int reqHeight)
Convert the ByteMatrix to BitMatrix.
|
BitMatrix |
DataMatrixWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
DataMatrixWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
private static BitMatrix |
DataMatrixWriter.encodeLowLevel(DefaultPlacement placement,
SymbolInfo symbolInfo,
int width,
int height)
Encode the given symbol info to a bit matrix.
|
private static BitMatrix |
DataMatrixReader.extractPureBits(BitMatrix image)
This method detects a code in a "pure" image -- that is, pure monochrome image
which contains only an unrotated, unskewed, image of a code, with some white border
around it.
|
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
DataMatrixReader.extractPureBits(BitMatrix image)
This method detects a code in a "pure" image -- that is, pure monochrome image
which contains only an unrotated, unskewed, image of a code, with some white border
around it.
|
private static int |
DataMatrixReader.moduleSize(int[] leftTopBlack,
BitMatrix image) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
BitMatrixParser.mappingBitMatrix |
private BitMatrix |
BitMatrixParser.readMappingMatrix |
Modifier and Type | Method and Description |
---|---|
private BitMatrix |
BitMatrixParser.extractDataRegion(BitMatrix bitMatrix)
Extracts the data region from a
BitMatrix that contains
alignment patterns. |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits)
Decodes a Data Matrix Code represented as a
BitMatrix . |
private BitMatrix |
BitMatrixParser.extractDataRegion(BitMatrix bitMatrix)
Extracts the data region from a
BitMatrix that contains
alignment patterns. |
private static Version |
BitMatrixParser.readVersion(BitMatrix bitMatrix)
Creates the version object based on the dimension of the original bit matrix from
the datamatrix code.
|
Constructor and Description |
---|
BitMatrixParser(BitMatrix bitMatrix) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
Detector.image |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
Detector.sampleGrid(BitMatrix image,
ResultPoint topLeft,
ResultPoint bottomLeft,
ResultPoint bottomRight,
ResultPoint topRight,
int dimensionX,
int dimensionY) |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
Detector.sampleGrid(BitMatrix image,
ResultPoint topLeft,
ResultPoint bottomLeft,
ResultPoint bottomRight,
ResultPoint topRight,
int dimensionX,
int dimensionY) |
Constructor and Description |
---|
Detector(BitMatrix image) |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
MaxiCodeReader.extractPureBits(BitMatrix image)
This method detects a code in a "pure" image -- that is, pure monochrome image
which contains only an unrotated, unskewed, image of a code, with some white border
around it.
|
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
MaxiCodeReader.extractPureBits(BitMatrix image)
This method detects a code in a "pure" image -- that is, pure monochrome image
which contains only an unrotated, unskewed, image of a code, with some white border
around it.
|
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
BitMatrixParser.bitMatrix |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits) |
DecoderResult |
Decoder.decode(BitMatrix bits,
java.util.Map<DecodeHintType,?> hints) |
Constructor and Description |
---|
BitMatrixParser(BitMatrix bitMatrix) |
Constructor and Description |
---|
MultiDetector(BitMatrix image) |
MultiFinderPatternFinder(BitMatrix image,
ResultPointCallback resultPointCallback) |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
OneDimensionalCodeWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
UPCAWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
OneDimensionalCodeWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints)
Encode the contents following specified format.
|
BitMatrix |
UPCAWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
private static BitMatrix |
OneDimensionalCodeWriter.renderResult(boolean[] code,
int width,
int height,
int sidesMargin) |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
PDF417Writer.bitMatrixFromBitArray(byte[][] input,
int margin)
This takes an array holding the values of the PDF 417
|
private static BitMatrix |
PDF417Writer.bitMatrixFromEncoder(PDF417 encoder,
java.lang.String contents,
int errorCorrectionLevel,
int width,
int height,
int margin,
boolean autoECI)
Takes encoder, accounts for width/height, and retrieves bit matrix
|
BitMatrix |
PDF417Writer.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
PDF417Writer.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
BoundingBox.image |
Modifier and Type | Method and Description |
---|---|
private static int |
PDF417ScanningDecoder.adjustCodewordStartColumn(BitMatrix image,
int minColumn,
int maxColumn,
boolean leftToRight,
int codewordStartColumn,
int imageRow) |
static DecoderResult |
PDF417ScanningDecoder.decode(BitMatrix image,
ResultPoint imageTopLeft,
ResultPoint imageBottomLeft,
ResultPoint imageTopRight,
ResultPoint imageBottomRight,
int minCodewordWidth,
int maxCodewordWidth) |
private static Codeword |
PDF417ScanningDecoder.detectCodeword(BitMatrix image,
int minColumn,
int maxColumn,
boolean leftToRight,
int startColumn,
int imageRow,
int minCodewordWidth,
int maxCodewordWidth) |
private static int[] |
PDF417ScanningDecoder.getModuleBitCount(BitMatrix image,
int minColumn,
int maxColumn,
boolean leftToRight,
int startColumn,
int imageRow) |
private static DetectionResultRowIndicatorColumn |
PDF417ScanningDecoder.getRowIndicatorColumn(BitMatrix image,
BoundingBox boundingBox,
ResultPoint startPoint,
boolean leftToRight,
int minCodewordWidth,
int maxCodewordWidth) |
Constructor and Description |
---|
BoundingBox(BitMatrix image,
ResultPoint topLeft,
ResultPoint bottomLeft,
ResultPoint topRight,
ResultPoint bottomRight) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
PDF417DetectorResult.bits |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
Detector.applyRotation(BitMatrix matrix,
int rotation)
Applies a rotation to the supplied BitMatrix.
|
BitMatrix |
PDF417DetectorResult.getBits() |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
Detector.applyRotation(BitMatrix matrix,
int rotation)
Applies a rotation to the supplied BitMatrix.
|
private static java.util.List<ResultPoint[]> |
Detector.detect(boolean multiple,
BitMatrix bitMatrix)
Detects PDF417 codes in an image.
|
private static int[] |
Detector.findGuardPattern(BitMatrix matrix,
int column,
int row,
int width,
int[] pattern,
int[] counters) |
private static ResultPoint[] |
Detector.findRowsWithPattern(BitMatrix matrix,
int height,
int width,
int startRow,
int startColumn,
int minHeight,
int[] pattern) |
private static ResultPoint[] |
Detector.findVertices(BitMatrix matrix,
int startRow,
int startColumn)
Locate the vertices and the codewords area of a black blob using the Start
and Stop patterns as locators.
|
Constructor and Description |
---|
PDF417DetectorResult(BitMatrix bits,
java.util.List<ResultPoint[]> points) |
PDF417DetectorResult(BitMatrix bits,
java.util.List<ResultPoint[]> points,
int rotation) |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
QRCodeWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
QRCodeWriter.encode(java.lang.String contents,
BarcodeFormat format,
int width,
int height,
java.util.Map<EncodeHintType,?> hints) |
private static BitMatrix |
QRCodeReader.extractPureBits(BitMatrix image)
This method detects a code in a "pure" image -- that is, pure monochrome image
which contains only an unrotated, unskewed, image of a code, with some white border
around it.
|
private static BitMatrix |
QRCodeWriter.renderResult(QRCode code,
int width,
int height,
int quietZone) |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
QRCodeReader.extractPureBits(BitMatrix image)
This method detects a code in a "pure" image -- that is, pure monochrome image
which contains only an unrotated, unskewed, image of a code, with some white border
around it.
|
private static float |
QRCodeReader.moduleSize(int[] leftTopBlack,
BitMatrix image) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
BitMatrixParser.bitMatrix |
Modifier and Type | Method and Description |
---|---|
(package private) BitMatrix |
Version.buildFunctionPattern()
See ISO 18004:2006 Annex E
|
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits) |
DecoderResult |
Decoder.decode(BitMatrix bits,
java.util.Map<DecodeHintType,?> hints)
Decodes a QR Code represented as a
BitMatrix . |
(package private) void |
DataMask.unmaskBitMatrix(BitMatrix bits,
int dimension)
Implementations of this method reverse the data masking process applied to a QR Code and
make its bits ready to read.
|
Constructor and Description |
---|
BitMatrixParser(BitMatrix bitMatrix) |
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
AlignmentPatternFinder.image |
private BitMatrix |
Detector.image |
private BitMatrix |
FinderPatternFinder.image |
Modifier and Type | Method and Description |
---|---|
protected BitMatrix |
Detector.getImage() |
protected BitMatrix |
FinderPatternFinder.getImage() |
private static BitMatrix |
Detector.sampleGrid(BitMatrix image,
PerspectiveTransform transform,
int dimension) |
Modifier and Type | Method and Description |
---|---|
private static BitMatrix |
Detector.sampleGrid(BitMatrix image,
PerspectiveTransform transform,
int dimension) |
Constructor and Description |
---|
AlignmentPatternFinder(BitMatrix image,
int startX,
int startY,
int width,
int height,
float moduleSize,
ResultPointCallback resultPointCallback)
Creates a finder that will look in a portion of the whole image.
|
Detector(BitMatrix image) |
FinderPatternFinder(BitMatrix image)
Creates a finder that will search the image for three finder patterns.
|
FinderPatternFinder(BitMatrix image,
ResultPointCallback resultPointCallback) |