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 do n't mix and match between them . concode_field_sep BitMatrix matrix concode_elem_sep Binarizer binarizer concode_field_sep BinaryBitmap rotateCounterClockwise concode_elem_sep BinaryBitmap rotateCounterClockwise45 concode_elem_sep boolean isCropSupported concode_elem_sep int getHeight concode_elem_sep BitArray getBlackRow concode_elem_sep int getWidth concode_elem_sep boolean isRotateSupported concode_elem_sep BinaryBitmap crop
BitMatrix function ( ) { if ( matrix == null ) { matrix = binarizer . getBlackMatrix ( ) ; } return matrix ; }