Uses of Class
com.google.zxing.common.BitMatrix
Packages that use BitMatrix
Package
Description
-
Uses of BitMatrix in com.google.zxing
Fields in com.google.zxing declared as BitMatrixMethods 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 BitMatrixBinarizer.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) private static BitMatrixAztecWriter.encode(String contents, BarcodeFormat format, int width, int height, Charset charset, int eccPercent, int layers) AztecWriter.encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) private static BitMatrixAztecWriter.renderResult(AztecCode code, int width, int height) 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.decoder
Methods in com.google.zxing.aztec.decoder with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate 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 BitMatrixMethods in com.google.zxing.aztec.detector that return BitMatrixModifier and TypeMethodDescriptionprivate BitMatrixDetector.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 BitMatrixModifier and TypeMethodDescriptionprivate BitMatrixDetector.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 -
Uses of BitMatrix in com.google.zxing.aztec.encoder
Fields in com.google.zxing.aztec.encoder declared as BitMatrixMethods in com.google.zxing.aztec.encoder that return BitMatrixMethods in com.google.zxing.aztec.encoder with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate static voidEncoder.drawBullsEye(BitMatrix matrix, int center, int size) private static voidEncoder.drawModeMessage(BitMatrix matrix, boolean compact, int matrixSize, BitArray modeMessage) void -
Uses of BitMatrix in com.google.zxing.client.j2se
Methods in com.google.zxing.client.j2se with parameters of type BitMatrixModifier and TypeMethodDescriptionstatic BufferedImageMatrixToImageWriter.toBufferedImage(BitMatrix matrix) Renders aBitMatrixas an image, where "false" bits are rendered as white, and "true" bits are rendered as black.static BufferedImageMatrixToImageWriter.toBufferedImage(BitMatrix matrix, MatrixToImageConfig config) AsMatrixToImageWriter.toBufferedImage(BitMatrix), but allows customization of the output.static voidMatrixToImageWriter.writeToFile(BitMatrix matrix, String format, File file) Deprecated.static voidMatrixToImageWriter.writeToFile(BitMatrix matrix, String format, File file, MatrixToImageConfig config) static voidMatrixToImageWriter.writeToPath(BitMatrix matrix, String format, Path file) Writes aBitMatrixto a file with default configuration.static voidMatrixToImageWriter.writeToPath(BitMatrix matrix, String format, Path file, MatrixToImageConfig config) AsMatrixToImageWriter.writeToPath(BitMatrix, String, Path), but allows customization of the output.static voidMatrixToImageWriter.writeToStream(BitMatrix matrix, String format, OutputStream stream) Writes aBitMatrixto a stream with default configuration.static voidMatrixToImageWriter.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
Fields in com.google.zxing.common declared as BitMatrixModifier and TypeFieldDescriptionprivate final BitMatrixDetectorResult.bitsprivate BitMatrixHybridBinarizer.matrixMethods in com.google.zxing.common that return BitMatrixModifier and TypeMethodDescriptionBitMatrix.clone()final BitMatrixDetectorResult.getBits()GlobalHistogramBinarizer.getBlackMatrix()HybridBinarizer.getBlackMatrix()Calculates the final BitMatrix once for all requests.static BitMatrixBitMatrix.parse(boolean[][] image) Interprets a 2D array of booleans as aBitMatrix, where "true" means an "on" bit.static BitMatrixDefaultGridSampler.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 BitMatrixGridSampler.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 BitMatrixGridSampler.sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform) Methods in com.google.zxing.common with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate static voidHybridBinarizer.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 voidGridSampler.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 BitMatrixGridSampler.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 BitMatrixGridSampler.sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform) private static voidHybridBinarizer.thresholdBlock(byte[] luminances, int xoffset, int yoffset, int threshold, int stride, BitMatrix matrix) Applies a single threshold to a block of pixels.voidExclusive-or (XOR): Flip the bit in thisBitMatrixif 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
Fields in com.google.zxing.common.detector declared as BitMatrixModifier and TypeFieldDescriptionprivate final BitMatrixMonochromeRectangleDetector.imageDeprecated.private final BitMatrixWhiteRectangleDetector.imageConstructors 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 TypeMethodDescriptionprivate static BitMatrixDataMatrixWriter.convertByteMatrixToBitMatrix(ByteMatrix matrix, int reqWidth, int reqHeight) Convert the ByteMatrix to BitMatrix.DataMatrixWriter.encode(String contents, BarcodeFormat format, int width, int height) DataMatrixWriter.encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType, ?> hints) private static BitMatrixDataMatrixWriter.encodeLowLevel(DefaultPlacement placement, SymbolInfo symbolInfo, int width, int height) Encode the given symbol info to a bit matrix.private static BitMatrixDataMatrixReader.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 BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixDataMatrixReader.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 intDataMatrixReader.moduleSize(int[] leftTopBlack, BitMatrix image) -
Uses of BitMatrix in com.google.zxing.datamatrix.decoder
Fields in com.google.zxing.datamatrix.decoder declared as BitMatrixModifier and TypeFieldDescriptionprivate final BitMatrixBitMatrixParser.mappingBitMatrixprivate final BitMatrixBitMatrixParser.readMappingMatrixMethods in com.google.zxing.datamatrix.decoder that return BitMatrixModifier and TypeMethodDescriptionprivate BitMatrixBitMatrixParser.extractDataRegion(BitMatrix bitMatrix) Extracts the data region from aBitMatrixthat contains alignment patterns.Methods in com.google.zxing.datamatrix.decoder with parameters of type BitMatrixModifier and TypeMethodDescriptionDecodes a Data Matrix Code represented as aBitMatrix.private BitMatrixBitMatrixParser.extractDataRegion(BitMatrix bitMatrix) Extracts the data region from aBitMatrixthat contains alignment patterns.private static VersionBitMatrixParser.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 -
Uses of BitMatrix in com.google.zxing.datamatrix.detector
Fields in com.google.zxing.datamatrix.detector declared as BitMatrixMethods in com.google.zxing.datamatrix.detector that return BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixDetector.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 BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixDetector.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 -
Uses of BitMatrix in com.google.zxing.maxicode
Methods in com.google.zxing.maxicode that return BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixMaxiCodeReader.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 BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixMaxiCodeReader.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 BitMatrixMethods in com.google.zxing.maxicode.decoder with parameters of type BitMatrixConstructors 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 BitMatrixOneDimensionalCodeWriter.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) private static BitMatrixOneDimensionalCodeWriter.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 BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixPDF417Writer.bitMatrixFromBitArray(byte[][] input, int margin) This takes an array holding the values of the PDF 417private static BitMatrixPDF417Writer.bitMatrixFromEncoder(PDF417 encoder, String contents, int errorCorrectionLevel, int width, int height, int margin, boolean autoECI) Takes encoder, accounts for width/height, and retrieves bit matrixPDF417Writer.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
Fields in com.google.zxing.pdf417.decoder declared as BitMatrixMethods in com.google.zxing.pdf417.decoder with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate static intPDF417ScanningDecoder.adjustCodewordStartColumn(BitMatrix image, int minColumn, int maxColumn, boolean leftToRight, int codewordStartColumn, int imageRow) static DecoderResultPDF417ScanningDecoder.decode(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth) private static CodewordPDF417ScanningDecoder.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 DetectionResultRowIndicatorColumnPDF417ScanningDecoder.getRowIndicatorColumn(BitMatrix image, BoundingBox boundingBox, ResultPoint startPoint, boolean leftToRight, int minCodewordWidth, int maxCodewordWidth) Constructors in com.google.zxing.pdf417.decoder with parameters of type BitMatrixModifierConstructorDescription(package private)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 BitMatrixMethods in com.google.zxing.pdf417.detector that return BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixDetector.applyRotation(BitMatrix matrix, int rotation) Applies a rotation to the supplied BitMatrix.PDF417DetectorResult.getBits()Methods in com.google.zxing.pdf417.detector with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixDetector.applyRotation(BitMatrix matrix, int rotation) Applies a rotation to the supplied BitMatrix.private static List<ResultPoint[]> 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 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) private static BitMatrixQRCodeReader.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 BitMatrixQRCodeWriter.renderResult(QRCode code, int width, int height, int quietZone) Methods in com.google.zxing.qrcode with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixQRCodeReader.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 floatQRCodeReader.moduleSize(int[] leftTopBlack, BitMatrix image) -
Uses of BitMatrix in com.google.zxing.qrcode.decoder
Fields in com.google.zxing.qrcode.decoder declared as BitMatrixMethods in com.google.zxing.qrcode.decoder that return BitMatrixModifier and TypeMethodDescription(package private) BitMatrixVersion.buildFunctionPattern()See ISO 18004:2006 Annex EMethods 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.(package private) final voidDataMask.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 -
Uses of BitMatrix in com.google.zxing.qrcode.detector
Fields in com.google.zxing.qrcode.detector declared as BitMatrixModifier and TypeFieldDescriptionprivate final BitMatrixAlignmentPatternFinder.imageprivate final BitMatrixDetector.imageprivate final BitMatrixFinderPatternFinder.imageMethods in com.google.zxing.qrcode.detector that return BitMatrixModifier and TypeMethodDescriptionprotected final BitMatrixDetector.getImage()protected final BitMatrixFinderPatternFinder.getImage()private static BitMatrixDetector.sampleGrid(BitMatrix image, PerspectiveTransform transform, int dimension) Methods in com.google.zxing.qrcode.detector with parameters of type BitMatrixModifier and TypeMethodDescriptionprivate static BitMatrixDetector.sampleGrid(BitMatrix image, PerspectiveTransform transform, int dimension) Constructors in com.google.zxing.qrcode.detector with parameters of type BitMatrixModifierConstructorDescription(package private)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.FinderPatternFinder(BitMatrix image) Creates a finder that will search the image for three finder patterns.FinderPatternFinder(BitMatrix image, ResultPointCallback resultPointCallback)
MatrixToImageWriter.writeToPath(BitMatrix, String, Path)