public class Image
extends java.awt.image.BufferedImage
implements java.io.Serializable, java.lang.Cloneable
Image class represents the images captured by a device.
TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR_PRE, TYPE_BYTE_BINARY, TYPE_BYTE_GRAY, TYPE_BYTE_INDEXED, TYPE_CUSTOM, TYPE_INT_ARGB, TYPE_INT_ARGB_PRE, TYPE_INT_BGR, TYPE_INT_RGB, TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, TYPE_USHORT_GRAY
Constructor and Description |
---|
Image(java.awt.image.BufferedImage image)
Copy contructor
|
Image(byte[] buffer,
ImageFormat format,
int resolution)
Buffer constructor
|
Image(byte[] buffer,
int width,
int height,
int resolution,
ImageFormat format)
Complete constructor
|
Image(byte[] buffer,
int width,
int height,
int resolution,
ImageFormat format,
FingerprintQuality quality)
Complete constructor
|
Image(Image image)
Copy Constructor
|
Image(int width,
int height)
Constructor
|
Image(int width,
int height,
int resolution)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Image |
clone()
Clone method
|
byte[] |
getBuffer() |
ImageFormat |
getFormat() |
FingerprintQuality |
getQuality() |
int |
getResolution() |
void |
setBuffer(byte[] buffer) |
void |
setFormat(ImageFormat format) |
void |
setQuality(FingerprintQuality quality) |
void |
setRawImage(byte[] buffer) |
void |
setResolution(int resolution) |
addTileObserver, coerceData, copyData, createGraphics, getAlphaRaster, getColorModel, getData, getData, getGraphics, getHeight, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getProperty, getPropertyNames, getRaster, getRGB, getRGB, getSampleModel, getSource, getSources, getSubimage, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTransparency, getType, getWidth, getWidth, getWritableTile, getWritableTileIndices, hasTileWriters, isAlphaPremultiplied, isTileWritable, releaseWritableTile, removeTileObserver, setData, setRGB, setRGB, toString
public Image(int width, int height, int resolution)
Constructor
width
- height
- resolution
- public Image(byte[] buffer, ImageFormat format, int resolution)
Buffer constructor
buffer
- format
- public Image(int width, int height)
Constructor
width
- height
- public Image(java.awt.image.BufferedImage image)
Copy contructor
image
- public Image(byte[] buffer, int width, int height, int resolution, ImageFormat format)
Complete constructor
buffer
- width
- height
- format
- public Image(byte[] buffer, int width, int height, int resolution, ImageFormat format, FingerprintQuality quality)
Complete constructor
buffer
- width
- height
- format
- public Image(Image image)
Copy Constructor
image
- public void setRawImage(byte[] buffer)
public byte[] getBuffer()
public void setBuffer(byte[] buffer)
public int getResolution()
public void setResolution(int resolution)
public ImageFormat getFormat()
public void setFormat(ImageFormat format)
public FingerprintQuality getQuality()
public void setQuality(FingerprintQuality quality)
public Image clone()
clone
in class java.lang.Object