Uses of Class
com.google.zxing.common.BitMatrix
Packages that use BitMatrix
Package
Description
-
Uses of BitMatrix in com.google.zxing
Methods in com.google.zxing that return BitMatrixModifier and TypeMethodDescriptionMultiFormatWriter.encode
(String contents, BarcodeFormat format, int width, int height) MultiFormatWriter.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) Writer.encode
(String contents, BarcodeFormat format, int width, int height) Encode a barcode using the default settings.Writer.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) abstract BitMatrix
Binarizer.getBlackMatrix()
Converts a 2D array of luminance data to 1 bit data.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 BitMatrixModifier and TypeMethodDescriptionAztecWriter.encode
(String contents, BarcodeFormat format, int width, int height) AztecWriter.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) Constructors in com.google.zxing.aztec with parameters of type BitMatrixModifierConstructorDescriptionAztecDetectorResult
(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.detector
Constructors in com.google.zxing.aztec.detector with parameters of type BitMatrix -
Uses of BitMatrix in com.google.zxing.aztec.encoder
Methods in com.google.zxing.aztec.encoder that return BitMatrixMethods in com.google.zxing.aztec.encoder with parameters of type BitMatrix -
Uses of BitMatrix in com.google.zxing.client.j2se
Methods in com.google.zxing.client.j2se with parameters of type BitMatrixModifier and TypeMethodDescriptionstatic 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 BufferedImage
MatrixToImageWriter.toBufferedImage
(BitMatrix matrix, MatrixToImageConfig config) AsMatrixToImageWriter.toBufferedImage(BitMatrix)
, but allows customization of the output.static void
MatrixToImageWriter.writeToFile
(BitMatrix matrix, String format, File file) Deprecated.static void
MatrixToImageWriter.writeToFile
(BitMatrix matrix, String format, File file, MatrixToImageConfig config) static void
MatrixToImageWriter.writeToPath
(BitMatrix matrix, String format, Path file) Writes aBitMatrix
to a file with default configuration.static void
MatrixToImageWriter.writeToPath
(BitMatrix matrix, String format, Path file, MatrixToImageConfig config) AsMatrixToImageWriter.writeToPath(BitMatrix, String, Path)
, but allows customization of the output.static void
MatrixToImageWriter.writeToStream
(BitMatrix matrix, String format, OutputStream stream) Writes aBitMatrix
to a stream with default configuration.static void
MatrixToImageWriter.writeToStream
(BitMatrix matrix, String format, OutputStream stream, MatrixToImageConfig config) AsMatrixToImageWriter.writeToStream(BitMatrix, String, OutputStream)
, but allows customization of the output. -
Uses of BitMatrix in com.google.zxing.common
Methods in com.google.zxing.common that return BitMatrixModifier and TypeMethodDescriptionBitMatrix.clone()
final BitMatrix
DetectorResult.getBits()
GlobalHistogramBinarizer.getBlackMatrix()
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
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) 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 BitMatrixModifier and TypeMethodDescriptionprotected 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.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) 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) void
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 -
Uses of BitMatrix in com.google.zxing.common.detector
Constructors in com.google.zxing.common.detector with parameters of type BitMatrixModifierConstructorDescriptionDeprecated.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 BitMatrixModifier and TypeMethodDescriptionDataMatrixWriter.encode
(String contents, BarcodeFormat format, int width, int height) DataMatrixWriter.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) -
Uses of BitMatrix in com.google.zxing.datamatrix.decoder
Methods in com.google.zxing.datamatrix.decoder with parameters of type BitMatrix -
Uses of BitMatrix in com.google.zxing.datamatrix.detector
Constructors in com.google.zxing.datamatrix.detector with parameters of type BitMatrix -
Uses of BitMatrix in com.google.zxing.maxicode.decoder
Methods in com.google.zxing.maxicode.decoder with parameters of type BitMatrix -
Uses of BitMatrix in com.google.zxing.multi.qrcode.detector
Constructors in com.google.zxing.multi.qrcode.detector with parameters of type BitMatrixModifierConstructorDescriptionMultiDetector
(BitMatrix image) MultiFinderPatternFinder
(BitMatrix image, ResultPointCallback resultPointCallback) -
Uses of BitMatrix in com.google.zxing.oned
Methods in com.google.zxing.oned that return BitMatrixModifier and TypeMethodDescriptionfinal BitMatrix
OneDimensionalCodeWriter.encode
(String contents, BarcodeFormat format, int width, int height) OneDimensionalCodeWriter.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) Encode the contents following specified format.UPCAWriter.encode
(String contents, BarcodeFormat format, int width, int height) UPCAWriter.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) -
Uses of BitMatrix in com.google.zxing.pdf417
Methods in com.google.zxing.pdf417 that return BitMatrixModifier and TypeMethodDescriptionPDF417Writer.encode
(String contents, BarcodeFormat format, int width, int height) PDF417Writer.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) -
Uses of BitMatrix in com.google.zxing.pdf417.decoder
Methods in com.google.zxing.pdf417.decoder with parameters of type BitMatrixModifier and TypeMethodDescriptionstatic DecoderResult
PDF417ScanningDecoder.decode
(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth) -
Uses of BitMatrix in com.google.zxing.pdf417.detector
Methods in com.google.zxing.pdf417.detector that return BitMatrixConstructors in com.google.zxing.pdf417.detector with parameters of type BitMatrixModifierConstructorDescriptionPDF417DetectorResult
(BitMatrix bits, List<ResultPoint[]> points) PDF417DetectorResult
(BitMatrix bits, List<ResultPoint[]> points, int rotation) -
Uses of BitMatrix in com.google.zxing.qrcode
Methods in com.google.zxing.qrcode that return BitMatrixModifier and TypeMethodDescriptionQRCodeWriter.encode
(String contents, BarcodeFormat format, int width, int height) QRCodeWriter.encode
(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) -
Uses of BitMatrix in com.google.zxing.qrcode.decoder
Methods in com.google.zxing.qrcode.decoder with parameters of type BitMatrixModifier and TypeMethodDescriptionDecoder.decode
(BitMatrix bits, Map<DecodeHintType, ?> hints) Decodes a QR Code represented as aBitMatrix
. -
Uses of BitMatrix in com.google.zxing.qrcode.detector
Methods in com.google.zxing.qrcode.detector that return BitMatrixModifier and TypeMethodDescriptionprotected final BitMatrix
Detector.getImage()
protected final BitMatrix
FinderPatternFinder.getImage()
Constructors in com.google.zxing.qrcode.detector with parameters of type BitMatrixModifierConstructorDescriptionFinderPatternFinder
(BitMatrix image) Creates a finder that will search the image for three finder patterns.FinderPatternFinder
(BitMatrix image, ResultPointCallback resultPointCallback)
MatrixToImageWriter.writeToPath(BitMatrix, String, Path)