public final class BinarizedBitmap
extends java.lang.Object
The Binarized Bitmap class.Using by BarCodeReader.
Constructor and Description |
---|
BinarizedBitmap(Bitmap _originalBitmp,
java.awt.Rectangle section) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the height.
|
long[] |
getHistogram()
Gets the histogram.
|
byte[] |
getImageData()
Gets the image data.
|
Bitmap |
getOriginalBitmap()
Gets the image
Value: The image.
|
int |
getWidth()
Gets the width.
|
void |
save(java.lang.String filename)
Saves the image using the specified filename.
|
void |
setImageData(byte[] data)
Sets the image data.
|
public BinarizedBitmap(Bitmap _originalBitmp, java.awt.Rectangle section)
public int getHeight()
Gets the height.
Value: The height.public long[] getHistogram()
Gets the histogram.
Value: The histogram.public byte[] getImageData()
Gets 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 image using the specified filename.
filename
- The filename.public void setImageData(byte[] data)
Sets the image data.
Value: The image data.