com.aspose.barcoderecognition.imaging
Class BinarizedBitmap

java.lang.Object
  extended by com.aspose.barcoderecognition.imaging.BinarizedBitmap

public final class BinarizedBitmap
extends java.lang.Object

The Binarized Bitmap class.Using by BarCodeReader.


Constructor Summary
BinarizedBitmap(java.awt.image.BufferedImage image, java.awt.Rectangle rectangle)
           Initializes a new instance of the BinarizedBitmap class.
 
Method Summary
 int getHeight()
           Gets the height.
 long[] getHistogram()
           Gets the histogram.
 byte[] getImageData()
           Gets or sets the image data.
 Bitmap getOriginalBitmap()
           Gets the image
 int getWidth()
           Gets the width.
 void save(java.lang.String filename)
           Saves the iamge using the specified filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinarizedBitmap

public BinarizedBitmap(java.awt.image.BufferedImage image,
                       java.awt.Rectangle rectangle)

Initializes a new instance of the BinarizedBitmap class.

Method Detail

getHeight

public int getHeight()

Gets the height.

Value: The height.


getHistogram

public long[] getHistogram()

Gets the histogram.

Value: The histogram.


getImageData

public byte[] getImageData()

Gets or sets the image data.

Value: The image data.


getOriginalBitmap

public Bitmap getOriginalBitmap()

Gets the image

Value: The image.


getWidth

public int getWidth()

Gets the width.

Value: The width.


save

public void save(java.lang.String filename)

Saves the iamge using the specified filename.

Parameters:
filename - The filename.