getBlackRow abstract method

BitArray getBlackRow(
  1. int y,
  2. BitArray? row
)

Converts the row y of luminance data to row(true means black).

If row is null or too small, it will be ignored. if the row y can't be binarized NotFoundException will be thrown May actually do the conversion, or return cached data. Callers should assume this method is expensive and call it as seldom as possible. This method is intended for decoding 1D barcodes and may choose to apply sharpening. For callers which only examine one row of pixels at a time, the same BitArray should be reused and passed in with each call for performance. However it is legal to keep more than one row at a time if needed

Implementation

BitArray getBlackRow(int y, BitArray? row);