public final class BinarizedBitmap
extends java.lang.Object
The Binarized Bitmap class.Using by BarCodeReader.
Constructor and Description |
---|
BinarizedBitmap(Bitmap _originalBitmp,
Rectangle section)
Initializes a new instance of the
BinarizedBitmap class. |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the height.
|
long[] |
getHistogram()
Gets the histogram.
|
byte[] |
getImageData()
Gets or sets the image data.
|
Bitmap |
getOriginalBitmap()
Gets the image
Value: The image.
|
int |
getWidth()
Gets the width.
|
void |
save(java.lang.String filename)
Saves the iamge using the specified filename.
|
public BinarizedBitmap(Bitmap _originalBitmp, Rectangle section)
Initializes a new instance of the BinarizedBitmap
class.
_originalBitmp
- The original bitmp.section
- The section.public int getHeight()
Gets the height.
Value: The height.public long[] getHistogram()
Gets the histogram.
Value: The histogram.public byte[] getImageData()
Gets or sets the image data.
Value: The image data.public Bitmap getOriginalBitmap()
Gets the image
Value: The image.public int getWidth()
Gets the width.
Value: The width.public void save(java.lang.String filename)
Saves the iamge using the specified filename.
filename
- The filename.