public class FingerImageInfo extends AbstractImageInfo
Modifier and Type | Field and Description |
---|---|
static int |
IMPRESSION_TYPE_LATENT
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
IMPRESSION_TYPE_LIVE_SCAN_CONTACTLESS
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
IMPRESSION_TYPE_LIVE_SCAN_PLAIN
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
IMPRESSION_TYPE_LIVE_SCAN_ROLLED
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
IMPRESSION_TYPE_NON_LIVE_SCAN_PLAIN
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
IMPRESSION_TYPE_NON_LIVE_SCAN_ROLLED
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
IMPRESSION_TYPE_SWIPE
Finger or palm impression type, according to Table 7 in ISO 19794-4.
|
static int |
POSITION_LEFT_FULL_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_HYPOTHENAR
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_INDEX_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_INTERDIGITAL
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_LITTLE_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_LOWER_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_MIDDLE_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_OTHER
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_RING_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_THENAR
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_THUMB
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_UPPER_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_LEFT_WRITER_S_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_PLAIN_LEFT_FOUR_FINGERS
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_PLAIN_RIGHT_FOUR_FINGERS
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_PLAIN_THUMBS
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_FULL_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_HYPOTHENAR
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_INDEX_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_INTERDIGITAL
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_LITTLE_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_LOWER_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_MIDDLE_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_OTHER
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_RING_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_THENAR
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_THUMB
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_UPPER_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_RIGHT_WRITER_S_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
static int |
POSITION_UNKNOWN_FINGER
Finger code, according to Table 5, 7.2.2, ISO 19794-4.
|
static int |
POSITION_UNKNOWN_PALM
Palm code, according to Table 6, 7.2.2, ISO 19794-4.
|
JPEG_MIME_TYPE, JPEG2000_MIME_TYPE, TYPE_FINGER, TYPE_IRIS, TYPE_PORTRAIT, TYPE_SIGNATURE_OR_MARK, WSQ_MIME_TYPE
Constructor and Description |
---|
FingerImageInfo(InputStream inputStream,
int compressionAlgorithm)
Constructs a new finger information record.
|
FingerImageInfo(int position,
int viewCount,
int viewNumber,
int quality,
int impressionType,
int width,
int height,
InputStream imageBytes,
int imageLength,
int compressionAlgorithm)
Constructs a finger image info.
|
Modifier and Type | Method and Description |
---|---|
int |
getBiometricSubtype()
Gets the biometric sub-type.
|
int |
getCompressionAlgorithm()
Gets the compression algorithm.
|
byte[] |
getFormatType()
Gets the format type.
|
int |
getImpressionType()
Gets the impression type.
|
int |
getPosition()
Gets the finger/palm position.
|
int |
getQuality()
Gets the quality of the overall scanned finger/palm image as a number
between 0 and 100.
|
long |
getRecordLength()
Gets the record length.
|
int |
getViewCount()
Gets the total number of specific views available for this finger.
|
int |
getViewNumber()
Gets the specific image view number associated with the finger.
|
protected void |
readObject(InputStream inputStream) |
String |
toString()
Generates a textual representation of this object.
|
protected void |
writeObject(OutputStream out)
Writes the biometric data to
out . |
equals, getEncoded, getHeight, getImageInputStream, getImageLength, getMimeType, getType, getWidth, hashCode, readImage, setHeight, setImageBytes, setMimeType, setType, setWidth, writeImage
public static final int POSITION_UNKNOWN_FINGER
public static final int POSITION_RIGHT_THUMB
public static final int POSITION_RIGHT_INDEX_FINGER
public static final int POSITION_RIGHT_MIDDLE_FINGER
public static final int POSITION_RIGHT_RING_FINGER
public static final int POSITION_RIGHT_LITTLE_FINGER
public static final int POSITION_LEFT_THUMB
public static final int POSITION_LEFT_INDEX_FINGER
public static final int POSITION_LEFT_MIDDLE_FINGER
public static final int POSITION_LEFT_RING_FINGER
public static final int POSITION_LEFT_LITTLE_FINGER
public static final int POSITION_PLAIN_RIGHT_FOUR_FINGERS
public static final int POSITION_PLAIN_LEFT_FOUR_FINGERS
public static final int POSITION_PLAIN_THUMBS
public static final int POSITION_UNKNOWN_PALM
public static final int POSITION_RIGHT_FULL_PALM
public static final int POSITION_RIGHT_WRITER_S_PALM
public static final int POSITION_LEFT_FULL_PALM
public static final int POSITION_LEFT_WRITER_S_PALM
public static final int POSITION_RIGHT_LOWER_PALM
public static final int POSITION_RIGHT_UPPER_PALM
public static final int POSITION_LEFT_LOWER_PALM
public static final int POSITION_LEFT_UPPER_PALM
public static final int POSITION_RIGHT_OTHER
public static final int POSITION_LEFT_OTHER
public static final int POSITION_RIGHT_INTERDIGITAL
public static final int POSITION_RIGHT_THENAR
public static final int POSITION_RIGHT_HYPOTHENAR
public static final int POSITION_LEFT_INTERDIGITAL
public static final int POSITION_LEFT_THENAR
public static final int POSITION_LEFT_HYPOTHENAR
public static final int IMPRESSION_TYPE_LIVE_SCAN_PLAIN
public static final int IMPRESSION_TYPE_LIVE_SCAN_ROLLED
public static final int IMPRESSION_TYPE_NON_LIVE_SCAN_PLAIN
public static final int IMPRESSION_TYPE_NON_LIVE_SCAN_ROLLED
public static final int IMPRESSION_TYPE_LATENT
public static final int IMPRESSION_TYPE_SWIPE
public static final int IMPRESSION_TYPE_LIVE_SCAN_CONTACTLESS
public FingerImageInfo(int position, int viewCount, int viewNumber, int quality, int impressionType, int width, int height, InputStream imageBytes, int imageLength, int compressionAlgorithm) throws IOException
position
- finger position according to ISO 19794-4viewCount
- number of viewsviewNumber
- the view numberquality
- qualityimpressionType
- impression type accordign to ISO 19794-4width
- widthheight
- heightimageBytes
- encoded image bytesimageLength
- length of encoded imagecompressionAlgorithm
- image encoding type according to ISO 19794-4IOException
- if input cannot be readpublic FingerImageInfo(InputStream inputStream, int compressionAlgorithm) throws IOException
inputStream
- input streamcompressionAlgorithm
- image format type (which is given in the general record header, not for each individual image)IOException
- if input cannot be readpublic int getQuality()
public int getPosition()
POSITION_
)public int getCompressionAlgorithm()
FingerInfo.COMPRESSION_UNCOMPRESSED_BIT_PACKED
,
FingerInfo.COMPRESSION_UNCOMPRESSED_NO_BIT_PACKING
,
FingerInfo.COMPRESSION_JPEG
,
FingerInfo.COMPRESSION_JPEG2000
,
FingerInfo.COMPRESSION_PNG
,
FingerInfo.COMPRESSION_WSQ
.
As specified in Section 7.1.13 of ISO 19794-4.public int getViewCount()
public int getViewNumber()
public int getImpressionType()
IMPRESSION_TYPE_
)protected void readObject(InputStream inputStream) throws IOException
readObject
in class AbstractImageInfo
IOException
protected void writeObject(OutputStream out) throws IOException
out
.
Based on Table 4 in Section 8.3 of ISO/IEC FCD 19794-4.writeObject
in class AbstractImageInfo
out
- stream to write toIOException
- if writing to out failspublic long getRecordLength()
getRecordLength
in interface ImageInfo
getRecordLength
in class AbstractImageInfo
public byte[] getFormatType()
public int getBiometricSubtype()
public String toString()
toString
in class AbstractImageInfo
Object.toString()
Copyright © 2016. All rights reserved.