Uses of Class
com.google.zxing.ResultPoint
-
-
Uses of ResultPoint in com.google.zxing
Fields in com.google.zxing declared as ResultPoint Modifier and Type Field Description private ResultPoint[]
Result. resultPoints
Methods in com.google.zxing that return ResultPoint Modifier and Type Method Description ResultPoint[]
Result. getResultPoints()
Methods in com.google.zxing with parameters of type ResultPoint Modifier and Type Method Description void
Result. addResultPoints(ResultPoint[] newPoints)
private static float
ResultPoint. crossProductZ(ResultPoint pointA, ResultPoint pointB, ResultPoint pointC)
Returns the z component of the cross product between vectors BC and BA.static float
ResultPoint. distance(ResultPoint pattern1, ResultPoint pattern2)
void
ResultPointCallback. foundPossibleResultPoint(ResultPoint point)
static void
ResultPoint. orderBestPatterns(ResultPoint[] patterns)
Orders an array of three ResultPoints in an order [A,B,C] such that AB is less than AC and BC is less than AC, and the angle between BC and BA is less than 180 degrees.Constructors in com.google.zxing with parameters of type ResultPoint Constructor Description Result(java.lang.String text, byte[] rawBytes, int numBits, ResultPoint[] resultPoints, BarcodeFormat format, long timestamp)
Result(java.lang.String text, byte[] rawBytes, ResultPoint[] resultPoints, BarcodeFormat format)
Result(java.lang.String text, byte[] rawBytes, ResultPoint[] resultPoints, BarcodeFormat format, long timestamp)
-
Uses of ResultPoint in com.google.zxing.aztec
Constructors in com.google.zxing.aztec with parameters of type ResultPoint 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 ResultPoint in com.google.zxing.aztec.detector
Methods in com.google.zxing.aztec.detector that return ResultPoint Modifier and Type Method Description private static ResultPoint[]
Detector. expandSquare(ResultPoint[] cornerPoints, int oldSide, int newSide)
Expand the square represented by the corner points by pushing out equally in all directionsprivate ResultPoint[]
Detector. getBullsEyeCorners(Detector.Point pCenter)
Finds the corners of a bull-eye centered on the passed point.private ResultPoint[]
Detector. getMatrixCornerPoints(ResultPoint[] bullsEyeCorners)
Gets the Aztec code corners from the bull's eye corners and the parameters.(package private) ResultPoint
Detector.Point. toResultPoint()
Methods in com.google.zxing.aztec.detector with parameters of type ResultPoint Modifier and Type Method Description private static float
Detector. distance(ResultPoint a, ResultPoint b)
private static ResultPoint[]
Detector. expandSquare(ResultPoint[] cornerPoints, int oldSide, int newSide)
Expand the square represented by the corner points by pushing out equally in all directionsprivate 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. getMatrixCornerPoints(ResultPoint[] bullsEyeCorners)
Gets the Aztec code corners from the bull's eye corners and the parameters.private boolean
Detector. isValid(ResultPoint point)
private BitMatrix
Detector. sampleGrid(BitMatrix image, ResultPoint topLeft, ResultPoint topRight, ResultPoint bottomRight, ResultPoint bottomLeft)
Creates a BitMatrix by sampling the provided image.private int
Detector. sampleLine(ResultPoint p1, ResultPoint p2, int size)
Samples a line. -
Uses of ResultPoint in com.google.zxing.common
Fields in com.google.zxing.common declared as ResultPoint Modifier and Type Field Description private ResultPoint[]
DetectorResult. points
Methods in com.google.zxing.common that return ResultPoint Modifier and Type Method Description ResultPoint[]
DetectorResult. getPoints()
Constructors in com.google.zxing.common with parameters of type ResultPoint Constructor Description DetectorResult(BitMatrix bits, ResultPoint[] points)
-
Uses of ResultPoint in com.google.zxing.common.detector
Methods in com.google.zxing.common.detector that return ResultPoint Modifier and Type Method Description private ResultPoint[]
WhiteRectangleDetector. centerEdges(ResultPoint y, ResultPoint z, ResultPoint x, ResultPoint t)
recenters the points of a constant distance towards the centerResultPoint[]
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.private ResultPoint
WhiteRectangleDetector. getBlackPointOnSegment(float aX, float aY, float bX, float bY)
Methods in com.google.zxing.common.detector with parameters of type ResultPoint Modifier and Type Method Description private ResultPoint[]
WhiteRectangleDetector. centerEdges(ResultPoint y, ResultPoint z, ResultPoint x, ResultPoint t)
recenters the points of a constant distance towards the center -
Uses of ResultPoint in com.google.zxing.datamatrix
Fields in com.google.zxing.datamatrix declared as ResultPoint Modifier and Type Field Description private static ResultPoint[]
DataMatrixReader. NO_POINTS
-
Uses of ResultPoint in com.google.zxing.datamatrix.detector
Methods in com.google.zxing.datamatrix.detector that return ResultPoint Modifier and Type Method Description private ResultPoint
Detector. correctTopRight(ResultPoint[] points)
Calculates the corner position of the white top right module.private ResultPoint[]
Detector. detectSolid1(ResultPoint[] cornerPoints)
Detect a solid side which has minimum transition.private ResultPoint[]
Detector. detectSolid2(ResultPoint[] points)
Detect a second solid side next to first solid side.private static ResultPoint
Detector. moveAway(ResultPoint point, float fromX, float fromY)
private static ResultPoint
Detector. shiftPoint(ResultPoint point, ResultPoint to, int div)
private ResultPoint[]
Detector. shiftToModuleCenter(ResultPoint[] points)
Shift the edge points to the module center.Methods in com.google.zxing.datamatrix.detector with parameters of type ResultPoint Modifier and Type Method Description private ResultPoint
Detector. correctTopRight(ResultPoint[] points)
Calculates the corner position of the white top right module.private ResultPoint[]
Detector. detectSolid1(ResultPoint[] cornerPoints)
Detect a solid side which has minimum transition.private ResultPoint[]
Detector. detectSolid2(ResultPoint[] points)
Detect a second solid side next to first solid side.private boolean
Detector. isValid(ResultPoint p)
private static ResultPoint
Detector. moveAway(ResultPoint point, float fromX, float fromY)
private static BitMatrix
Detector. sampleGrid(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint bottomRight, ResultPoint topRight, int dimensionX, int dimensionY)
private static ResultPoint
Detector. shiftPoint(ResultPoint point, ResultPoint to, int div)
private ResultPoint[]
Detector. shiftToModuleCenter(ResultPoint[] points)
Shift the edge points to the module center.private int
Detector. transitionsBetween(ResultPoint from, ResultPoint to)
Counts the number of black/white transitions between two points, using something like Bresenham's algorithm. -
Uses of ResultPoint in com.google.zxing.maxicode
Fields in com.google.zxing.maxicode declared as ResultPoint Modifier and Type Field Description private static ResultPoint[]
MaxiCodeReader. NO_POINTS
-
Uses of ResultPoint in com.google.zxing.multi
Methods in com.google.zxing.multi with parameters of type ResultPoint Modifier and Type Method Description private static void
ByQuadrantReader. makeAbsolute(ResultPoint[] points, int leftOffset, int topOffset)
-
Uses of ResultPoint in com.google.zxing.multi.qrcode
Fields in com.google.zxing.multi.qrcode declared as ResultPoint Modifier and Type Field Description private static ResultPoint[]
QRCodeMultiReader. NO_POINTS
-
Uses of ResultPoint in com.google.zxing.oned.rss
Fields in com.google.zxing.oned.rss declared as ResultPoint Modifier and Type Field Description private ResultPoint[]
FinderPattern. resultPoints
Methods in com.google.zxing.oned.rss that return ResultPoint Modifier and Type Method Description ResultPoint[]
FinderPattern. getResultPoints()
-
Uses of ResultPoint in com.google.zxing.pdf417
Methods in com.google.zxing.pdf417 with parameters of type ResultPoint Modifier and Type Method Description private static int
PDF417Reader. getMaxCodewordWidth(ResultPoint[] p)
private static int
PDF417Reader. getMaxWidth(ResultPoint p1, ResultPoint p2)
private static int
PDF417Reader. getMinCodewordWidth(ResultPoint[] p)
private static int
PDF417Reader. getMinWidth(ResultPoint p1, ResultPoint p2)
-
Uses of ResultPoint in com.google.zxing.pdf417.decoder
Fields in com.google.zxing.pdf417.decoder declared as ResultPoint Modifier and Type Field Description private ResultPoint
BoundingBox. bottomLeft
private ResultPoint
BoundingBox. bottomRight
private ResultPoint
BoundingBox. topLeft
private ResultPoint
BoundingBox. topRight
Methods in com.google.zxing.pdf417.decoder that return ResultPoint Modifier and Type Method Description (package private) ResultPoint
BoundingBox. getBottomLeft()
(package private) ResultPoint
BoundingBox. getBottomRight()
(package private) ResultPoint
BoundingBox. getTopLeft()
(package private) ResultPoint
BoundingBox. getTopRight()
Methods in com.google.zxing.pdf417.decoder with parameters of type ResultPoint Modifier and Type Method Description static DecoderResult
PDF417ScanningDecoder. decode(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth)
private static DetectionResultRowIndicatorColumn
PDF417ScanningDecoder. getRowIndicatorColumn(BitMatrix image, BoundingBox boundingBox, ResultPoint startPoint, boolean leftToRight, int minCodewordWidth, int maxCodewordWidth)
Constructors in com.google.zxing.pdf417.decoder with parameters of type ResultPoint Constructor Description BoundingBox(BitMatrix image, ResultPoint topLeft, ResultPoint bottomLeft, ResultPoint topRight, ResultPoint bottomRight)
-
Uses of ResultPoint in com.google.zxing.pdf417.detector
Methods in com.google.zxing.pdf417.detector that return ResultPoint Modifier and Type Method Description 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.Methods in com.google.zxing.pdf417.detector with parameters of type ResultPoint Modifier and Type Method Description private static void
Detector. copyToResult(ResultPoint[] result, ResultPoint[] tmpResult, int[] destinationIndexes)
-
Uses of ResultPoint in com.google.zxing.qrcode
Fields in com.google.zxing.qrcode declared as ResultPoint Modifier and Type Field Description private static ResultPoint[]
QRCodeReader. NO_POINTS
-
Uses of ResultPoint in com.google.zxing.qrcode.decoder
Methods in com.google.zxing.qrcode.decoder with parameters of type ResultPoint Modifier and Type Method Description void
QRCodeDecoderMetaData. applyMirroredCorrection(ResultPoint[] points)
Apply the result points' order correction due to mirroring. -
Uses of ResultPoint in com.google.zxing.qrcode.detector
Subclasses of ResultPoint in com.google.zxing.qrcode.detector Modifier and Type Class Description class
AlignmentPattern
Encapsulates an alignment pattern, which are the smaller square patterns found in all but the simplest QR Codes.class
FinderPattern
Encapsulates a finder pattern, which are the three square patterns found in the corners of QR Codes.Methods in com.google.zxing.qrcode.detector with parameters of type ResultPoint Modifier and Type Method Description protected float
Detector. calculateModuleSize(ResultPoint topLeft, ResultPoint topRight, ResultPoint bottomLeft)
Computes an average estimated module size based on estimated derived from the positions of the three finder patterns.private float
Detector. calculateModuleSizeOneWay(ResultPoint pattern, ResultPoint otherPattern)
Estimates module size based on two finder patterns -- it usesDetector.sizeOfBlackWhiteBlackRunBothWays(int, int, int, int)
to figure the width of each, measuring along the axis between their centers.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.private static PerspectiveTransform
Detector. createTransform(ResultPoint topLeft, ResultPoint topRight, ResultPoint bottomLeft, ResultPoint alignmentPattern, int dimension)
-