Method | Description | |
---|---|---|
BinaryBitmap ( |
||
crop ( int left, int top, int width, int height ) : |
Returns a new object with cropped image data. Implementations may keep a reference to the original data rather than a copy. Only callable if isCropSupported() is true.
|
|
getBlackRow ( int y, |
Converts one row of luminance data to 1 bit data. 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.
|
|
rotateCounterClockwise ( ) : |
Returns a new object with rotated image data. Only callable if isRotateSupported() is true.
|
public BinaryBitmap ( |
||
binarizer | ||
return | System |
public crop ( int left, int top, int width, int height ) : |
||
left | int | The left coordinate, 0 <= left < getWidth(). /// |
top | int | The top coordinate, 0 <= top <= getHeight(). /// |
width | int | The width of the rectangle to crop. /// |
height | int | The height of the rectangle to crop. /// |
return |
public getBlackRow ( int y, |
||
y | int | The row to fetch, 0 <= y < bitmap height. /// |
row | An optional preallocated array. If null or too small, it will be ignored. /// If used, the Binarizer will call BitArray.clear(). Always use the returned object. /// | |
return |
public rotateCounterClockwise ( ) : |
||
return |