Uses of Class
com.google.zxing.common.BitMatrix
-
-
Uses of BitMatrix in com.google.zxing
Fields in com.google.zxing declared as BitMatrix Modifier and Type Field Description private BitMatrix
BinaryBitmap. matrix
Methods in com.google.zxing that return BitMatrix Modifier and Type Method Description BitMatrix
MultiFormatWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)
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)
Encode a barcode using the default settings.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. -
Uses of BitMatrix in com.google.zxing.aztec
Methods in com.google.zxing.aztec that return BitMatrix Modifier and Type Method 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)
Constructors in com.google.zxing.aztec with parameters of type BitMatrix Constructor 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)
-
Uses of BitMatrix in com.google.zxing.aztec.decoder
Methods in com.google.zxing.aztec.decoder with parameters of type BitMatrix Modifier and Type Method Description private boolean[]
Decoder. extractBits(BitMatrix matrix)
Gets the array of bits from an Aztec Code matrix -
Uses of BitMatrix in com.google.zxing.aztec.detector
Fields in com.google.zxing.aztec.detector declared as BitMatrix Modifier and Type Field Description private BitMatrix
Detector. image
Methods in com.google.zxing.aztec.detector that return BitMatrix Modifier and Type Method Description private BitMatrix
Detector. sampleGrid(BitMatrix image, ResultPoint topLeft, ResultPoint topRight, ResultPoint bottomRight, ResultPoint bottomLeft)
Creates a BitMatrix by sampling the provided image.Methods in com.google.zxing.aztec.detector with parameters of type BitMatrix Modifier and Type Method Description private BitMatrix
Detector. sampleGrid(BitMatrix image, ResultPoint topLeft, ResultPoint topRight, ResultPoint bottomRight, ResultPoint bottomLeft)
Creates a BitMatrix by sampling the provided image.Constructors in com.google.zxing.aztec.detector with parameters of type BitMatrix Constructor Description Detector(BitMatrix image)
-
Uses of BitMatrix in com.google.zxing.aztec.encoder
Fields in com.google.zxing.aztec.encoder declared as BitMatrix Modifier and Type Field Description private BitMatrix
AztecCode. matrix
Methods in com.google.zxing.aztec.encoder that return BitMatrix Modifier and Type Method Description BitMatrix
AztecCode. getMatrix()
Methods in com.google.zxing.aztec.encoder with parameters of type BitMatrix Modifier and Type Method 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)
-
Uses of BitMatrix in com.google.zxing.client.j2se
Methods in com.google.zxing.client.j2se with parameters of type BitMatrix Modifier and Type Method Description static java.awt.image.BufferedImage
MatrixToImageWriter. toBufferedImage(BitMatrix matrix)
Renders aBitMatrix
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)
AsMatrixToImageWriter.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 aBitMatrix
to a file with default configuration.static void
MatrixToImageWriter. writeToPath(BitMatrix matrix, java.lang.String format, java.nio.file.Path file, MatrixToImageConfig config)
AsMatrixToImageWriter.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 aBitMatrix
to a stream with default configuration.static void
MatrixToImageWriter. writeToStream(BitMatrix matrix, java.lang.String format, java.io.OutputStream stream, MatrixToImageConfig config)
AsMatrixToImageWriter.writeToStream(BitMatrix, String, OutputStream)
, but allows customization of the output. -
Uses of BitMatrix in com.google.zxing.common
Fields in com.google.zxing.common declared as BitMatrix Modifier and Type Field Description private BitMatrix
DetectorResult. bits
private BitMatrix
HybridBinarizer. matrix
Methods in com.google.zxing.common that return BitMatrix Modifier and Type Method 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 aBitMatrix
, 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)
BitMatrix
DefaultGridSampler. sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)
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.abstract BitMatrix
GridSampler. sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)
Methods in com.google.zxing.common with parameters of type BitMatrix Modifier and Type Method 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)
BitMatrix
DefaultGridSampler. sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)
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.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 thisBitMatrix
if the corresponding mask bit is set.Constructors in com.google.zxing.common with parameters of type BitMatrix Constructor Description DetectorResult(BitMatrix bits, ResultPoint[] points)
-
Uses of BitMatrix in com.google.zxing.common.detector
Fields in com.google.zxing.common.detector declared as BitMatrix Modifier and Type Field Description private BitMatrix
MonochromeRectangleDetector. image
Deprecated.private BitMatrix
WhiteRectangleDetector. image
Constructors in com.google.zxing.common.detector with parameters of type BitMatrix Constructor Description MonochromeRectangleDetector(BitMatrix image)
Deprecated.WhiteRectangleDetector(BitMatrix image)
WhiteRectangleDetector(BitMatrix image, int initSize, int x, int y)
-
Uses of BitMatrix in com.google.zxing.datamatrix
Methods in com.google.zxing.datamatrix that return BitMatrix Modifier and Type Method 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.Methods in com.google.zxing.datamatrix with parameters of type BitMatrix Modifier and Type Method 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)
-
Uses of BitMatrix in com.google.zxing.datamatrix.decoder
Fields in com.google.zxing.datamatrix.decoder declared as BitMatrix Modifier and Type Field Description private BitMatrix
BitMatrixParser. mappingBitMatrix
private BitMatrix
BitMatrixParser. readMappingMatrix
Methods in com.google.zxing.datamatrix.decoder that return BitMatrix Modifier and Type Method Description private BitMatrix
BitMatrixParser. extractDataRegion(BitMatrix bitMatrix)
Extracts the data region from aBitMatrix
that contains alignment patterns.Methods in com.google.zxing.datamatrix.decoder with parameters of type BitMatrix Modifier and Type Method Description DecoderResult
Decoder. decode(BitMatrix bits)
Decodes a Data Matrix Code represented as aBitMatrix
.private BitMatrix
BitMatrixParser. extractDataRegion(BitMatrix bitMatrix)
Extracts the data region from aBitMatrix
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.Constructors in com.google.zxing.datamatrix.decoder with parameters of type BitMatrix Constructor Description BitMatrixParser(BitMatrix bitMatrix)
-
Uses of BitMatrix in com.google.zxing.datamatrix.detector
Fields in com.google.zxing.datamatrix.detector declared as BitMatrix Modifier and Type Field Description private BitMatrix
Detector. image
Methods in com.google.zxing.datamatrix.detector that return BitMatrix Modifier and Type Method Description private static BitMatrix
Detector. sampleGrid(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint bottomRight, ResultPoint topRight, int dimensionX, int dimensionY)
Methods in com.google.zxing.datamatrix.detector with parameters of type BitMatrix Modifier and Type Method Description private static BitMatrix
Detector. sampleGrid(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint bottomRight, ResultPoint topRight, int dimensionX, int dimensionY)
Constructors in com.google.zxing.datamatrix.detector with parameters of type BitMatrix Constructor Description Detector(BitMatrix image)
-
Uses of BitMatrix in com.google.zxing.maxicode
Methods in com.google.zxing.maxicode that return BitMatrix Modifier and Type Method 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.Methods in com.google.zxing.maxicode with parameters of type BitMatrix Modifier and Type Method 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. -
Uses of BitMatrix in com.google.zxing.maxicode.decoder
Fields in com.google.zxing.maxicode.decoder declared as BitMatrix Modifier and Type Field Description private BitMatrix
BitMatrixParser. bitMatrix
Methods in com.google.zxing.maxicode.decoder with parameters of type BitMatrix Modifier and Type Method Description DecoderResult
Decoder. decode(BitMatrix bits)
DecoderResult
Decoder. decode(BitMatrix bits, java.util.Map<DecodeHintType,?> hints)
Constructors in com.google.zxing.maxicode.decoder with parameters of type BitMatrix Constructor Description BitMatrixParser(BitMatrix bitMatrix)
-
Uses of BitMatrix in com.google.zxing.multi.qrcode.detector
Constructors in com.google.zxing.multi.qrcode.detector with parameters of type BitMatrix Constructor Description MultiDetector(BitMatrix image)
MultiFinderPatternFinder(BitMatrix image, ResultPointCallback resultPointCallback)
-
Uses of BitMatrix in com.google.zxing.oned
Methods in com.google.zxing.oned that return BitMatrix Modifier and Type Method Description BitMatrix
OneDimensionalCodeWriter. 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)
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)
-
Uses of BitMatrix in com.google.zxing.pdf417
Methods in com.google.zxing.pdf417 that return BitMatrix Modifier and Type Method Description private static BitMatrix
PDF417Writer. bitMatrixFromBitArray(byte[][] input, int margin)
This takes an array holding the values of the PDF 417private 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 matrixBitMatrix
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)
-
Uses of BitMatrix in com.google.zxing.pdf417.decoder
Fields in com.google.zxing.pdf417.decoder declared as BitMatrix Modifier and Type Field Description private BitMatrix
BoundingBox. image
Methods in com.google.zxing.pdf417.decoder with parameters of type BitMatrix Modifier and Type Method 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)
Constructors in com.google.zxing.pdf417.decoder with parameters of type BitMatrix Constructor Description BoundingBox(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight)
-
Uses of BitMatrix in com.google.zxing.pdf417.detector
Fields in com.google.zxing.pdf417.detector declared as BitMatrix Modifier and Type Field Description private BitMatrix
PDF417DetectorResult. bits
Methods in com.google.zxing.pdf417.detector that return BitMatrix Modifier and Type Method Description private static BitMatrix
Detector. applyRotation(BitMatrix matrix, int rotation)
Applies a rotation to the supplied BitMatrix.BitMatrix
PDF417DetectorResult. getBits()
Methods in com.google.zxing.pdf417.detector with parameters of type BitMatrix Modifier and Type Method 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.Constructors in com.google.zxing.pdf417.detector with parameters of type BitMatrix Constructor Description PDF417DetectorResult(BitMatrix bits, java.util.List<ResultPoint[]> points)
PDF417DetectorResult(BitMatrix bits, java.util.List<ResultPoint[]> points, int rotation)
-
Uses of BitMatrix in com.google.zxing.qrcode
Methods in com.google.zxing.qrcode that return BitMatrix Modifier and Type Method 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)
Methods in com.google.zxing.qrcode with parameters of type BitMatrix Modifier and Type Method 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)
-
Uses of BitMatrix in com.google.zxing.qrcode.decoder
Fields in com.google.zxing.qrcode.decoder declared as BitMatrix Modifier and Type Field Description private BitMatrix
BitMatrixParser. bitMatrix
Methods in com.google.zxing.qrcode.decoder that return BitMatrix Modifier and Type Method Description (package private) BitMatrix
Version. buildFunctionPattern()
See ISO 18004:2006 Annex EMethods in com.google.zxing.qrcode.decoder with parameters of type BitMatrix Modifier and Type Method Description DecoderResult
Decoder. decode(BitMatrix bits)
DecoderResult
Decoder. decode(BitMatrix bits, java.util.Map<DecodeHintType,?> hints)
Decodes a QR Code represented as aBitMatrix
.(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.Constructors in com.google.zxing.qrcode.decoder with parameters of type BitMatrix Constructor Description BitMatrixParser(BitMatrix bitMatrix)
-
Uses of BitMatrix in com.google.zxing.qrcode.detector
Fields in com.google.zxing.qrcode.detector declared as BitMatrix Modifier and Type Field Description private BitMatrix
AlignmentPatternFinder. image
private BitMatrix
Detector. image
private BitMatrix
FinderPatternFinder. image
Methods in com.google.zxing.qrcode.detector that return BitMatrix Modifier and Type Method Description protected BitMatrix
Detector. getImage()
protected BitMatrix
FinderPatternFinder. getImage()
private static BitMatrix
Detector. sampleGrid(BitMatrix image, PerspectiveTransform transform, int dimension)
Methods in com.google.zxing.qrcode.detector with parameters of type BitMatrix Modifier and Type Method Description private static BitMatrix
Detector. sampleGrid(BitMatrix image, PerspectiveTransform transform, int dimension)
Constructors in com.google.zxing.qrcode.detector with parameters of type BitMatrix Constructor 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)
-