Modifier and Type | Field and Description |
---|---|
private static NotFoundException |
NotFoundException.INSTANCE |
Modifier and Type | Method and Description |
---|---|
static NotFoundException |
NotFoundException.getNotFoundInstance() |
Modifier and Type | Method and Description |
---|---|
Result |
MultiFormatReader.decode(BinaryBitmap image)
This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it
passes null as a hint to the decoders.
|
Result |
Reader.decode(BinaryBitmap image)
Locates and decodes a barcode in some format within an image.
|
Result |
MultiFormatReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints)
Decode an image using the hints provided.
|
Result |
Reader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints)
Locates and decodes a barcode in some format within an image.
|
private Result |
MultiFormatReader.decodeInternal(BinaryBitmap image) |
Result |
MultiFormatReader.decodeWithState(BinaryBitmap image)
Decode an image using the state set up by calling setHints() previously.
|
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.
|
abstract BitArray |
Binarizer.getBlackRow(int y,
BitArray row)
Converts one row of luminance data to 1 bit data.
|
BitArray |
BinaryBitmap.getBlackRow(int y,
BitArray row)
Converts one row of luminance data to 1 bit data.
|
Modifier and Type | Method and Description |
---|---|
Result |
AztecReader.decode(BinaryBitmap image)
Locates and decodes a Data Matrix code in an image.
|
Result |
AztecReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
AztecDetectorResult |
Detector.detect() |
AztecDetectorResult |
Detector.detect(boolean isMirror)
Detects an Aztec Code in an image.
|
private int |
Detector.extractParameters(ResultPoint[] bullsEyeCorners)
Extracts the number of data layers and data blocks from the layer around the bull's eye.
|
private ResultPoint[] |
Detector.getBullsEyeCorners(Detector.Point pCenter)
Finds the corners of a bull-eye centered on the passed point.
|
private static Detector.CorrectedParameter |
Detector.getCorrectedParameterData(long parameterData,
boolean compact)
Corrects the parameter bits using Reed-Solomon algorithm.
|
private static int |
Detector.getRotation(int[] sides,
int length) |
private BitMatrix |
Detector.sampleGrid(BitMatrix image,
ResultPoint topLeft,
ResultPoint topRight,
ResultPoint bottomRight,
ResultPoint bottomLeft)
Creates a BitMatrix by sampling the provided image.
|
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.
|
private static int |
GlobalHistogramBinarizer.estimateBlackPoint(int[] buckets) |
BitMatrix |
GlobalHistogramBinarizer.getBlackMatrix() |
BitMatrix |
HybridBinarizer.getBlackMatrix()
Calculates the final BitMatrix once for all requests.
|
BitArray |
GlobalHistogramBinarizer.getBlackRow(int y,
BitArray row) |
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 |
---|---|
ResultPoint[] |
MonochromeRectangleDetector.detect()
Deprecated.
Detects a rectangular region of black and white -- mostly black -- with a region of mostly
white, in an image.
|
ResultPoint[] |
WhiteRectangleDetector.detect()
Detects a candidate barcode-like rectangular region within an image.
|
private ResultPoint |
MonochromeRectangleDetector.findCornerFromCenter(int centerX,
int deltaX,
int left,
int right,
int centerY,
int deltaY,
int top,
int bottom,
int maxWhiteRun)
Deprecated.
Attempts to locate a corner of the barcode by scanning up, down, left or right from a center
point which should be within the barcode.
|
Constructor and Description |
---|
WhiteRectangleDetector(BitMatrix image) |
WhiteRectangleDetector(BitMatrix image,
int initSize,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
Result |
DataMatrixReader.decode(BinaryBitmap image)
Locates and decodes a Data Matrix code in an image.
|
Result |
DataMatrixReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static BitMatrix |
DataMatrixReader.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 int |
DataMatrixReader.moduleSize(int[] leftTopBlack,
BitMatrix image) |
Modifier and Type | Method and Description |
---|---|
DetectorResult |
Detector.detect()
Detects a Data Matrix Code in an image.
|
private static BitMatrix |
Detector.sampleGrid(BitMatrix image,
ResultPoint topLeft,
ResultPoint bottomLeft,
ResultPoint bottomRight,
ResultPoint topRight,
int dimensionX,
int dimensionY) |
Constructor and Description |
---|
Detector(BitMatrix image) |
Modifier and Type | Method and Description |
---|---|
Result |
MaxiCodeReader.decode(BinaryBitmap image)
Locates and decodes a MaxiCode in an image.
|
Result |
MaxiCodeReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static BitMatrix |
MaxiCodeReader.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.
|
Modifier and Type | Method and Description |
---|---|
Result |
ByQuadrantReader.decode(BinaryBitmap image) |
Result |
ByQuadrantReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Result[] |
GenericMultipleBarcodeReader.decodeMultiple(BinaryBitmap image) |
Result[] |
MultipleBarcodeReader.decodeMultiple(BinaryBitmap image) |
Result[] |
GenericMultipleBarcodeReader.decodeMultiple(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Result[] |
MultipleBarcodeReader.decodeMultiple(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
Result[] |
QRCodeMultiReader.decodeMultiple(BinaryBitmap image) |
Result[] |
QRCodeMultiReader.decodeMultiple(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
DetectorResult[] |
MultiDetector.detectMulti(java.util.Map<DecodeHintType,?> hints) |
FinderPatternInfo[] |
MultiFinderPatternFinder.findMulti(java.util.Map<DecodeHintType,?> hints) |
private FinderPattern[][] |
MultiFinderPatternFinder.selectMultipleBestPatterns() |
Modifier and Type | Method and Description |
---|---|
Result |
OneDReader.decode(BinaryBitmap image) |
Result |
UPCAReader.decode(BinaryBitmap image) |
Result |
OneDReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Result |
UPCAReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static int |
Code128Reader.decodeCode(BitArray row,
int[] counters,
int rowOffset) |
(package private) static int |
UPCEANReader.decodeDigit(BitArray row,
int[] counters,
int rowOffset,
int[][] patterns)
Attempts to decode a single UPC/EAN-encoded digit.
|
private static int |
ITFReader.decodeDigit(int[] counters)
Attempts to decode a sequence of ITF black/white lines into single
digit.
|
private int[] |
ITFReader.decodeEnd(BitArray row)
Identify where the end of the middle / payload section ends.
|
(package private) int[] |
UPCEANReader.decodeEnd(BitArray row,
int endStart) |
protected int[] |
UPCEReader.decodeEnd(BitArray row,
int endStart) |
protected int |
EAN13Reader.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder resultString) |
protected int |
EAN8Reader.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder result) |
protected int |
UPCAReader.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder resultString) |
private int |
UPCEANExtension2Support.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder resultString) |
private int |
UPCEANExtension5Support.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder resultString) |
protected abstract int |
UPCEANReader.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder resultString)
Subclasses override this to decode the portion of a barcode between the start
and end guard patterns.
|
protected int |
UPCEReader.decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder result) |
private static void |
ITFReader.decodeMiddle(BitArray row,
int payloadStart,
int payloadEnd,
java.lang.StringBuilder resultString) |
(package private) Result |
UPCEANExtensionSupport.decodeRow(int rowNumber,
BitArray row,
int rowOffset) |
(package private) Result |
UPCEANExtension2Support.decodeRow(int rowNumber,
BitArray row,
int[] extensionStartRange) |
(package private) Result |
UPCEANExtension5Support.decodeRow(int rowNumber,
BitArray row,
int[] extensionStartRange) |
Result |
UPCAReader.decodeRow(int rowNumber,
BitArray row,
int[] startGuardRange,
java.util.Map<DecodeHintType,?> hints) |
Result |
UPCEANReader.decodeRow(int rowNumber,
BitArray row,
int[] startGuardRange,
java.util.Map<DecodeHintType,?> hints)
Like
UPCEANReader.decodeRow(int, BitArray, Map) , but
allows caller to inform method about where the UPC/EAN start pattern is
found. |
Result |
CodaBarReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
Code128Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
Code39Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
Code93Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
ITFReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
MultiFormatOneDReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
MultiFormatUPCEANReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
abstract Result |
OneDReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints)
Attempts to decode a one-dimensional barcode format given a single row of
an image.
|
Result |
UPCAReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
UPCEANReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
private int[] |
ITFReader.decodeStart(BitArray row)
Identify where the start of the middle / payload section starts.
|
private static int |
UPCEANExtension5Support.determineCheckDigit(int lgPatternFound) |
private static void |
EAN13Reader.determineFirstDigit(java.lang.StringBuilder resultString,
int lgPatternFound)
Based on pattern of odd-even ('L' and 'G') patterns used to encoded the explicitly-encoded
digits in a barcode, determines the implicitly encoded first digit and adds it to the
result string.
|
private static void |
UPCEReader.determineNumSysAndCheckDigit(java.lang.StringBuilder resultString,
int lgPatternFound) |
private Result |
OneDReader.doDecode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints)
We're going to examine rows from the middle outward, searching alternately above and below the
middle, and farther out each time.
|
private int[] |
Code93Reader.findAsteriskPattern(BitArray row) |
private static int[] |
Code39Reader.findAsteriskPattern(BitArray row,
int[] counters) |
(package private) static int[] |
UPCEANReader.findGuardPattern(BitArray row,
int rowOffset,
boolean whiteFirst,
int[] pattern) |
private static int[] |
UPCEANReader.findGuardPattern(BitArray row,
int rowOffset,
boolean whiteFirst,
int[] pattern,
int[] counters) |
private static int[] |
ITFReader.findGuardPattern(BitArray row,
int rowOffset,
int[] pattern) |
(package private) static int[] |
UPCEANReader.findStartGuardPattern(BitArray row) |
private int |
CodaBarReader.findStartPattern() |
private static int[] |
Code128Reader.findStartPattern(BitArray row) |
private static char |
Code39Reader.patternToChar(int pattern) |
private static char |
Code93Reader.patternToChar(int pattern) |
protected static void |
OneDReader.recordPattern(BitArray row,
int start,
int[] counters)
Records the size of successive runs of white and black pixels in a row, starting at a given point.
|
protected static void |
OneDReader.recordPatternInReverse(BitArray row,
int start,
int[] counters) |
private void |
CodaBarReader.setCounters(BitArray row)
Records the size of all runs of white and black pixels, starting with white.
|
private static int |
ITFReader.skipWhiteSpace(BitArray row)
Skip all whitespace until we get to the first black line.
|
private void |
CodaBarReader.validatePattern(int start) |
private void |
ITFReader.validateQuietZone(BitArray row,
int startPattern)
The start & end patterns must be pre/post fixed by a quiet zone.
|
Modifier and Type | Method and Description |
---|---|
private void |
RSS14Reader.adjustOddEvenCounts(boolean outsideChar,
int numModules) |
private DataCharacter |
RSS14Reader.decodeDataCharacter(BitArray row,
FinderPattern pattern,
boolean outsideChar) |
Result |
RSS14Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
private int[] |
RSS14Reader.findFinderPattern(BitArray row,
boolean rightFinderPattern) |
protected static int |
AbstractRSSReader.parseFinderValue(int[] counters,
int[][] finderPatterns) |
private FinderPattern |
RSS14Reader.parseFoundFinderPattern(BitArray row,
int rowNumber,
boolean right,
int[] startEnd) |
Modifier and Type | Method and Description |
---|---|
private void |
RSSExpandedReader.adjustOddEvenCounts(int numModules) |
private java.util.List<ExpandedPair> |
RSSExpandedReader.checkRows(java.util.List<ExpandedRow> collectedRows,
int currentRow) |
(package private) static Result |
RSSExpandedReader.constructResult(java.util.List<ExpandedPair> pairs) |
(package private) DataCharacter |
RSSExpandedReader.decodeDataCharacter(BitArray row,
FinderPattern pattern,
boolean isOddPattern,
boolean leftChar) |
Result |
RSSExpandedReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
(package private) java.util.List<ExpandedPair> |
RSSExpandedReader.decodeRow2pairs(int rowNumber,
BitArray row) |
private void |
RSSExpandedReader.findNextPair(BitArray row,
java.util.List<ExpandedPair> previousPairs,
int forcedOffset) |
(package private) ExpandedPair |
RSSExpandedReader.retrieveNextPair(BitArray row,
java.util.List<ExpandedPair> previousPairs,
int rowNumber) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
GeneralAppIdDecoder.decodeAllCodes(java.lang.StringBuilder buff,
int initialPosition) |
(package private) static java.lang.String |
FieldParser.parseFieldsInGeneralPurpose(java.lang.String rawInformation) |
java.lang.String |
AI01392xDecoder.parseInformation() |
java.lang.String |
AI01393xDecoder.parseInformation() |
java.lang.String |
AI013x0x1xDecoder.parseInformation() |
java.lang.String |
AI013x0xDecoder.parseInformation() |
java.lang.String |
AI01AndOtherAIs.parseInformation() |
abstract java.lang.String |
AbstractExpandedDecoder.parseInformation() |
java.lang.String |
AnyAIDecoder.parseInformation() |
private static java.lang.String |
FieldParser.processFixedAI(int aiSize,
int fieldSize,
java.lang.String rawInformation) |
private static java.lang.String |
FieldParser.processVariableAI(int aiSize,
int variableFieldSize,
java.lang.String rawInformation) |
Modifier and Type | Method and Description |
---|---|
Result |
PDF417Reader.decode(BinaryBitmap image)
Locates and decodes a PDF417 code in an image.
|
Result |
PDF417Reader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static Result[] |
PDF417Reader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints,
boolean multiple) |
Result[] |
PDF417Reader.decodeMultiple(BinaryBitmap image) |
Result[] |
PDF417Reader.decodeMultiple(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
(package private) BoundingBox |
BoundingBox.addMissingRows(int missingStartRows,
int missingEndRows,
boolean isLeft) |
private static BoundingBox |
PDF417ScanningDecoder.adjustBoundingBox(DetectionResultRowIndicatorColumn rowIndicatorColumn) |
private static void |
PDF417ScanningDecoder.adjustCodewordCount(DetectionResult detectionResult,
BarcodeValue[][] barcodeMatrix) |
private static DecoderResult |
PDF417ScanningDecoder.createDecoderResult(DetectionResult detectionResult) |
static DecoderResult |
PDF417ScanningDecoder.decode(BitMatrix image,
ResultPoint imageTopLeft,
ResultPoint imageBottomLeft,
ResultPoint imageTopRight,
ResultPoint imageBottomRight,
int minCodewordWidth,
int maxCodewordWidth) |
(package private) static BoundingBox |
BoundingBox.merge(BoundingBox leftBox,
BoundingBox rightBox) |
private static DetectionResult |
PDF417ScanningDecoder.merge(DetectionResultRowIndicatorColumn leftRowIndicatorColumn,
DetectionResultRowIndicatorColumn rightRowIndicatorColumn) |
Constructor and Description |
---|
BoundingBox(BitMatrix image,
ResultPoint topLeft,
ResultPoint bottomLeft,
ResultPoint topRight,
ResultPoint bottomRight) |
Modifier and Type | Method and Description |
---|---|
static PDF417DetectorResult |
Detector.detect(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints,
boolean multiple)
Detects a PDF417 Code in an image.
|
Modifier and Type | Method and Description |
---|---|
Result |
QRCodeReader.decode(BinaryBitmap image)
Locates and decodes a QR code in an image.
|
Result |
QRCodeReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static BitMatrix |
QRCodeReader.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 float |
QRCodeReader.moduleSize(int[] leftTopBlack,
BitMatrix image) |
Modifier and Type | Method and Description |
---|---|
private static int |
Detector.computeDimension(ResultPoint topLeft,
ResultPoint topRight,
ResultPoint bottomLeft,
float moduleSize)
Computes the dimension (number of modules on a size) of the QR Code based on the position
of the finder patterns and estimated module size.
|
DetectorResult |
Detector.detect()
Detects a QR Code in an image.
|
DetectorResult |
Detector.detect(java.util.Map<DecodeHintType,?> hints)
Detects a QR Code in an image.
|
(package private) AlignmentPattern |
AlignmentPatternFinder.find()
This method attempts to find the bottom-right alignment pattern in the image.
|
(package private) FinderPatternInfo |
FinderPatternFinder.find(java.util.Map<DecodeHintType,?> hints) |
protected AlignmentPattern |
Detector.findAlignmentInRegion(float overallEstModuleSize,
int estAlignmentX,
int estAlignmentY,
float allowanceFactor)
Attempts to locate an alignment pattern in a limited region of the image, which is
guessed to contain it.
|
protected DetectorResult |
Detector.processFinderPatternInfo(FinderPatternInfo info) |
private static BitMatrix |
Detector.sampleGrid(BitMatrix image,
PerspectiveTransform transform,
int dimension) |
private FinderPattern[] |
FinderPatternFinder.selectBestPatterns() |