BinaryBitmap

class BinaryBitmap(binarizer: Binarizer?)

Constructors

Link copied to clipboard
constructor(binarizer: Binarizer?)

Properties

Link copied to clipboard

Converts a 2D array of luminance data to 1 bit. As above, assume this method is expensive and do not call it repeatedly. This method is intended for decoding 2D barcodes and may or may not apply sharpening. Therefore, a row from this matrix may not be identical to one fetched using getBlackRow(), so don't mix and match between them.

Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
open override fun toString(): String