Package com.google.zxing.oned.rss
Class AbstractRSSReader
java.lang.Object
com.google.zxing.oned.OneDReader
com.google.zxing.oned.rss.AbstractRSSReader
- All Implemented Interfaces:
Reader
- Direct Known Subclasses:
RSS14Reader,RSSExpandedReader
Superclass of
OneDReader implementations that read barcodes in the RSS family
of formats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static intcount(int[] array) Deprecated.protected static voiddecrement(int[] array, float[] errors) protected final int[]protected final int[]protected final int[]protected final float[]protected final int[]protected final float[]protected static voidincrement(int[] array, float[] errors) protected static booleanisFinderPattern(int[] counters) protected static intparseFinderValue(int[] counters, int[][] finderPatterns) Methods inherited from class com.google.zxing.oned.OneDReader
decode, decode, decodeRow, patternMatchVariance, recordPattern, recordPatternInReverse, reset
-
Constructor Details
-
AbstractRSSReader
protected AbstractRSSReader()
-
-
Method Details
-
getDecodeFinderCounters
protected final int[] getDecodeFinderCounters() -
getDataCharacterCounters
protected final int[] getDataCharacterCounters() -
getOddRoundingErrors
protected final float[] getOddRoundingErrors() -
getEvenRoundingErrors
protected final float[] getEvenRoundingErrors() -
getOddCounts
protected final int[] getOddCounts() -
getEvenCounts
protected final int[] getEvenCounts() -
parseFinderValue
protected static int parseFinderValue(int[] counters, int[][] finderPatterns) throws NotFoundException - Throws:
NotFoundException
-
count
Deprecated.callMathUtils.sum(int[])- Parameters:
array- values to sum- Returns:
- sum of values
-
increment
protected static void increment(int[] array, float[] errors) -
decrement
protected static void decrement(int[] array, float[] errors) -
isFinderPattern
protected static boolean isFinderPattern(int[] counters)
-
MathUtils.sum(int[])