Uses of Class com.google.zxing.common.BitMatrix (ZXing 3.5.2 API)
Description: use: package: com.google.zxing.common, class: BitMatrix

# Uses of Class
com.google.zxing.common.BitMatrix

Packages that use BitMatrix
Package
Description
com.google.zxing
com.google.zxing.aztec
com.google.zxing.aztec.detector
com.google.zxing.aztec.encoder
com.google.zxing.client.j2se
com.google.zxing.common
com.google.zxing.common.detector
com.google.zxing.datamatrix
com.google.zxing.datamatrix.decoder
com.google.zxing.datamatrix.detector
com.google.zxing.maxicode.decoder
com.google.zxing.multi.qrcode.detector
com.google.zxing.oned
com.google.zxing.pdf417
com.google.zxing.pdf417.decoder
com.google.zxing.pdf417.detector
com.google.zxing.qrcode
com.google.zxing.qrcode.decoder
com.google.zxing.qrcode.detector

- ## Uses of BitMatrix in com.google.zxing

  Methods in com.google.zxing that return BitMatrix
  Modifier and Type
  Method
  Description
  `BitMatrix`
  MultiFormatWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  MultiFormatWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
  `BitMatrix`
  Writer.`encode(String contents, BarcodeFormat format, int width, int height)`
  Encode a barcode using the default settings.
  `BitMatrix`
  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.
  `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(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  AztecWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
  Constructors in com.google.zxing.aztec with parameters of type BitMatrix
  Modifier
  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.detector

  Constructors in com.google.zxing.aztec.detector with parameters of type BitMatrix
  Modifier
  Constructor
  Description
  ``
  `Detector(BitMatrix image)`

- ## Uses of BitMatrix in com.google.zxing.aztec.encoder

  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
  `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 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 BufferedImage`
  MatrixToImageWriter.`toBufferedImage(BitMatrix matrix, MatrixToImageConfig config)`
  As `MatrixToImageWriter.toBufferedImage(BitMatrix)`, but allows customization of the output.
  `static void`
  MatrixToImageWriter.`writeToFile(BitMatrix matrix, String format, File file)`
  Deprecated.
  use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path)`
  `static void`
  MatrixToImageWriter.`writeToFile(BitMatrix matrix, String format, File file, MatrixToImageConfig config)`
  Deprecated.
  use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path, MatrixToImageConfig)`
  `static void`
  MatrixToImageWriter.`writeToPath(BitMatrix matrix, String format, Path file)`
  Writes a `BitMatrix` to a file with default configuration.
  `static void`
  MatrixToImageWriter.`writeToPath(BitMatrix matrix, String format, Path file, MatrixToImageConfig config)`
  As `MatrixToImageWriter.writeToPath(BitMatrix, String, Path)`, but allows customization of the output.
  `static void`
  MatrixToImageWriter.`writeToStream(BitMatrix matrix, String format, OutputStream stream)`
  Writes a `BitMatrix` to a stream with default configuration.
  `static void`
  MatrixToImageWriter.`writeToStream(BitMatrix matrix, String format, OutputStream stream, MatrixToImageConfig config)`
  As `MatrixToImageWriter.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 BitMatrix
  Modifier and Type
  Method
  Description
  `BitMatrix`
  BitMatrix.`clone()`
  `final 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(String stringRepresentation, String setString, 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
  `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)`
  `void`
  BitMatrix.`xor(BitMatrix mask)`
  Exclusive-or (XOR): Flip the bit in this `BitMatrix` if the corresponding mask bit is set.
  Constructors in com.google.zxing.common with parameters of type BitMatrix
  Modifier
  Constructor
  Description
  ``
  `DetectorResult(BitMatrix bits, ResultPoint[] points)`

- ## Uses of BitMatrix in com.google.zxing.common.detector

  Constructors in com.google.zxing.common.detector with parameters of type BitMatrix
  Modifier
  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
  `BitMatrix`
  DataMatrixWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  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
  Modifier and Type
  Method
  Description
  `DecoderResult`
  Decoder.`decode(BitMatrix bits)`
  Decodes a Data Matrix Code represented as a `BitMatrix`.

- ## Uses of BitMatrix in com.google.zxing.datamatrix.detector

  Constructors in com.google.zxing.datamatrix.detector with parameters of type BitMatrix
  Modifier
  Constructor
  Description
  ``
  `Detector(BitMatrix image)`

- ## Uses of BitMatrix in com.google.zxing.maxicode.decoder

  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, Map<DecodeHintType,?> hints)`

- ## Uses of BitMatrix in com.google.zxing.multi.qrcode.detector

  Constructors in com.google.zxing.multi.qrcode.detector with parameters of type BitMatrix
  Modifier
  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
  `final BitMatrix`
  OneDimensionalCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  OneDimensionalCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
  Encode the contents following specified format.
  `BitMatrix`
  UPCAWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  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 BitMatrix
  Modifier and Type
  Method
  Description
  `BitMatrix`
  PDF417Writer.`encode(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  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 BitMatrix
  Modifier and Type
  Method
  Description
  `static 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 BitMatrix
  Modifier and Type
  Method
  Description
  `BitMatrix`
  PDF417DetectorResult.`getBits()`
  Constructors in com.google.zxing.pdf417.detector with parameters of type BitMatrix
  Modifier
  Constructor
  Description
  ``
  `PDF417DetectorResult(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 BitMatrix
  Modifier and Type
  Method
  Description
  `BitMatrix`
  QRCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
  `BitMatrix`
  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 BitMatrix
  Modifier and Type
  Method
  Description
  `DecoderResult`
  Decoder.`decode(BitMatrix bits)`
  `DecoderResult`
  Decoder.`decode(BitMatrix bits, Map<DecodeHintType,?> hints)`
  Decodes a QR Code represented as a `BitMatrix`.

- ## Uses of BitMatrix in com.google.zxing.qrcode.detector

  Methods in com.google.zxing.qrcode.detector that return BitMatrix
  Modifier and Type
  Method
  Description
  `protected final BitMatrix`
  Detector.`getImage()`
  `protected final BitMatrix`
  FinderPatternFinder.`getImage()`
  Constructors in com.google.zxing.qrcode.detector with parameters of type BitMatrix
  Modifier
  Constructor
  Description
  ``
  `Detector(BitMatrix image)`
  ``
  `FinderPatternFinder(BitMatrix image)`
  Creates a finder that will search the image for three finder patterns.
  ``
  `FinderPatternFinder(BitMatrix image, ResultPointCallback resultPointCallback)`