Modifier and Type | Method and Description |
---|---|
BitMatrix |
MultiFormatWriter.encode(String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
Writer.encode(String contents,
BarcodeFormat format,
int width,
int height)
Encode a barcode using the default settings.
|
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,
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.
|
Modifier and Type | Method and 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) |
Constructor and 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) |
Constructor and Description |
---|
Detector(BitMatrix image) |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
AztecCode.getMatrix() |
Modifier and Type | Method and Description |
---|---|
void |
AztecCode.setMatrix(BitMatrix matrix) |
Modifier and Type | Method and 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.
|
static void |
MatrixToImageWriter.writeToFile(BitMatrix matrix,
String format,
File file,
MatrixToImageConfig config)
|
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. |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
BitMatrix.clone() |
BitMatrix |
DetectorResult.getBits() |
BitMatrix |
HybridBinarizer.getBlackMatrix()
Calculates the final BitMatrix once for all requests.
|
BitMatrix |
GlobalHistogramBinarizer.getBlackMatrix() |
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) |
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.
|
BitMatrix |
DefaultGridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
abstract BitMatrix |
GridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
Modifier and Type | Method and 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) |
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.
|
BitMatrix |
DefaultGridSampler.sampleGrid(BitMatrix image,
int dimensionX,
int dimensionY,
PerspectiveTransform transform) |
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. |
Constructor and Description |
---|
DetectorResult(BitMatrix bits,
ResultPoint[] points) |
Constructor and Description |
---|
MonochromeRectangleDetector(BitMatrix image)
Deprecated.
|
WhiteRectangleDetector(BitMatrix image) |
WhiteRectangleDetector(BitMatrix image,
int initSize,
int x,
int y) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits)
Decodes a Data Matrix Code represented as a
BitMatrix . |
Constructor and Description |
---|
Detector(BitMatrix image) |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits) |
DecoderResult |
Decoder.decode(BitMatrix bits,
Map<DecodeHintType,?> hints) |
Constructor and Description |
---|
MultiDetector(BitMatrix image) |
MultiFinderPatternFinder(BitMatrix image,
ResultPointCallback resultPointCallback) |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
UPCAWriter.encode(String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
OneDimensionalCodeWriter.encode(String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix |
UPCAWriter.encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints) |
BitMatrix |
OneDimensionalCodeWriter.encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints)
Encode the contents following specified format.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static DecoderResult |
PDF417ScanningDecoder.decode(BitMatrix image,
ResultPoint imageTopLeft,
ResultPoint imageBottomLeft,
ResultPoint imageTopRight,
ResultPoint imageBottomRight,
int minCodewordWidth,
int maxCodewordWidth) |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
PDF417DetectorResult.getBits() |
Constructor and Description |
---|
PDF417DetectorResult(BitMatrix bits,
List<ResultPoint[]> points) |
PDF417DetectorResult(BitMatrix bits,
List<ResultPoint[]> points,
int rotation) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits) |
DecoderResult |
Decoder.decode(BitMatrix bits,
Map<DecodeHintType,?> hints)
Decodes a QR Code represented as a
BitMatrix . |
Modifier and Type | Method and Description |
---|---|
protected BitMatrix |
FinderPatternFinder.getImage() |
protected BitMatrix |
Detector.getImage() |
Constructor and Description |
---|
Detector(BitMatrix image) |
FinderPatternFinder(BitMatrix image)
Creates a finder that will search the image for three finder patterns.
|
FinderPatternFinder(BitMatrix image,
ResultPointCallback resultPointCallback) |
Copyright © 2007–2024. All rights reserved.