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 BitMatrixBinaryBitmap. matrixMethods in com.google.zxing that return BitMatrix Modifier and Type Method Description BitMatrixMultiFormatWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)BitMatrixMultiFormatWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.Map<EncodeHintType,?> hints)BitMatrixWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)Encode a barcode using the default settings.BitMatrixWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.Map<EncodeHintType,?> hints)abstract BitMatrixBinarizer. getBlackMatrix()Converts a 2D array of luminance data to 1 bit data.BitMatrixBinaryBitmap. 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 BitMatrixAztecWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)private static BitMatrixAztecWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.nio.charset.Charset charset, int eccPercent, int layers)BitMatrixAztecWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.Map<EncodeHintType,?> hints)private static BitMatrixAztecWriter. 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 BitMatrixDetector. imageMethods in com.google.zxing.aztec.detector that return BitMatrix Modifier and Type Method Description private 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 BitMatrix Modifier and Type Method Description private 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 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 BitMatrixAztecCode. matrixMethods in com.google.zxing.aztec.encoder that return BitMatrix Modifier and Type Method Description BitMatrixAztecCode. getMatrix()Methods in com.google.zxing.aztec.encoder with parameters of type BitMatrix Modifier and Type Method Description private static voidEncoder. drawBullsEye(BitMatrix matrix, int center, int size)private static voidEncoder. drawModeMessage(BitMatrix matrix, boolean compact, int matrixSize, BitArray modeMessage)voidAztecCode. 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.BufferedImageMatrixToImageWriter. toBufferedImage(BitMatrix matrix)Renders aBitMatrixas an image, where "false" bits are rendered as white, and "true" bits are rendered as black.static java.awt.image.BufferedImageMatrixToImageWriter. toBufferedImage(BitMatrix matrix, MatrixToImageConfig config)AsMatrixToImageWriter.toBufferedImage(BitMatrix), but allows customization of the output.static voidMatrixToImageWriter. writeToFile(BitMatrix matrix, java.lang.String format, java.io.File file)Deprecated.static voidMatrixToImageWriter. writeToFile(BitMatrix matrix, java.lang.String format, java.io.File file, MatrixToImageConfig config)static voidMatrixToImageWriter. writeToPath(BitMatrix matrix, java.lang.String format, java.nio.file.Path file)Writes aBitMatrixto a file with default configuration.static voidMatrixToImageWriter. 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 voidMatrixToImageWriter. writeToStream(BitMatrix matrix, java.lang.String format, java.io.OutputStream stream)Writes aBitMatrixto a stream with default configuration.static voidMatrixToImageWriter. 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 BitMatrixDetectorResult. bitsprivate BitMatrixHybridBinarizer. matrixMethods in com.google.zxing.common that return BitMatrix Modifier and Type Method Description BitMatrixBitMatrix. clone()BitMatrixDetectorResult. getBits()BitMatrixGlobalHistogramBinarizer. getBlackMatrix()BitMatrixHybridBinarizer. 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 BitMatrixBitMatrix. parse(java.lang.String stringRepresentation, java.lang.String setString, java.lang.String unsetString)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)BitMatrixDefaultGridSampler. 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 BitMatrix Modifier and Type Method Description private 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.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)BitMatrixDefaultGridSampler. 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.voidBitMatrix. xor(BitMatrix mask)Exclusive-or (XOR): Flip the bit in thisBitMatrixif 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 BitMatrixMonochromeRectangleDetector. imageDeprecated.private BitMatrixWhiteRectangleDetector. imageConstructors 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 BitMatrixDataMatrixWriter. convertByteMatrixToBitMatrix(ByteMatrix matrix, int reqWidth, int reqHeight)Convert the ByteMatrix to BitMatrix.BitMatrixDataMatrixWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)BitMatrixDataMatrixWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.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 BitMatrix Modifier and Type Method Description 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.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 BitMatrix Modifier and Type Field Description private BitMatrixBitMatrixParser. mappingBitMatrixprivate BitMatrixBitMatrixParser. readMappingMatrixMethods in com.google.zxing.datamatrix.decoder that return BitMatrix Modifier and Type Method Description private BitMatrixBitMatrixParser. extractDataRegion(BitMatrix bitMatrix)Extracts the data region from aBitMatrixthat contains alignment patterns.Methods in com.google.zxing.datamatrix.decoder with parameters of type BitMatrix Modifier and Type Method Description DecoderResultDecoder. decode(BitMatrix bits)Decodes 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 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 BitMatrixDetector. imageMethods in com.google.zxing.datamatrix.detector that return BitMatrix Modifier and Type Method Description private 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 BitMatrix Modifier and Type Method Description private 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 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 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 BitMatrix Modifier and Type Method Description private 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 BitMatrix Modifier and Type Field Description private BitMatrixBitMatrixParser. bitMatrixMethods in com.google.zxing.maxicode.decoder with parameters of type BitMatrix Modifier and Type Method Description DecoderResultDecoder. decode(BitMatrix bits)DecoderResultDecoder. 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 BitMatrixOneDimensionalCodeWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)BitMatrixOneDimensionalCodeWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.Map<EncodeHintType,?> hints)Encode the contents following specified format.BitMatrixUPCAWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)BitMatrixUPCAWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.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 BitMatrix Modifier and Type Method Description private static BitMatrixPDF417Writer. bitMatrixFromBitArray(byte[][] input, int margin)This takes an array holding the values of the PDF 417private static BitMatrixPDF417Writer. 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 matrixBitMatrixPDF417Writer. encode(java.lang.String contents, BarcodeFormat format, int width, int height)BitMatrixPDF417Writer. 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 BitMatrixBoundingBox. imageMethods in com.google.zxing.pdf417.decoder with parameters of type BitMatrix Modifier and Type Method Description private 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 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 BitMatrixPDF417DetectorResult. bitsMethods in com.google.zxing.pdf417.detector that return BitMatrix Modifier and Type Method Description private static BitMatrixDetector. applyRotation(BitMatrix matrix, int rotation)Applies a rotation to the supplied BitMatrix.BitMatrixPDF417DetectorResult. getBits()Methods in com.google.zxing.pdf417.detector with parameters of type BitMatrix Modifier and Type Method Description private static BitMatrixDetector. 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 BitMatrixQRCodeWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height)BitMatrixQRCodeWriter. encode(java.lang.String contents, BarcodeFormat format, int width, int height, java.util.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 BitMatrix Modifier and Type Method Description 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 floatQRCodeReader. 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 BitMatrixBitMatrixParser. bitMatrixMethods in com.google.zxing.qrcode.decoder that return BitMatrix Modifier and Type Method Description (package private) BitMatrixVersion. buildFunctionPattern()See ISO 18004:2006 Annex EMethods in com.google.zxing.qrcode.decoder with parameters of type BitMatrix Modifier and Type Method Description DecoderResultDecoder. decode(BitMatrix bits)DecoderResultDecoder. decode(BitMatrix bits, java.util.Map<DecodeHintType,?> hints)Decodes a QR Code represented as aBitMatrix.(package private) 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 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 BitMatrixAlignmentPatternFinder. imageprivate BitMatrixDetector. imageprivate BitMatrixFinderPatternFinder. imageMethods in com.google.zxing.qrcode.detector that return BitMatrix Modifier and Type Method Description protected BitMatrixDetector. getImage()protected BitMatrixFinderPatternFinder. getImage()private static BitMatrixDetector. 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 BitMatrixDetector. 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)
-