Class PharmaCodeReader
Decodes PharmaCode
* @author Ruslan Karachunpublic sealed class PharmaCodeReader : OneDReader, Reader
- Inheritance
-
PharmaCodeReader
- Implements
- Inherited Members
Constructors
PharmaCodeReader()
public PharmaCodeReader()
Methods
decodeRow(int, BitArray, IDictionary<DecodeHintType, object>)
Attempts to decode a one-dimensional barcode format given a single row of an image.
public override Result decodeRow(int rowNumber, BitArray row, IDictionary<DecodeHintType, object> hints)
Parameters
rowNumber
introw number from top of the row
row
BitArraythe black/white pixel data of the row
hints
IDictionary<DecodeHintType, object>decode hints
Returns
- Result
Resultcontaining encoded string and start/end of barcode or null, if an error occurs or barcode cannot be found
mean(double[])
public static double mean(double[] m)
Parameters
m
double[]