public class IrisInfo extends AbstractListInfo<IrisBiometricSubtypeInfo> implements BiometricDataBlock
Modifier and Type | Field and Description |
---|---|
static int |
CAPTURE_DEVICE_UNDEF
Constant for capture device Id, based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
IMAGEFORMAT_MONO_JPEG
Image format
|
static int |
IMAGEFORMAT_MONO_JPEG_LS
Image format
|
static int |
IMAGEFORMAT_MONO_JPEG2000
Image format
|
static int |
IMAGEFORMAT_MONO_RAW
Image format
|
static int |
IMAGEFORMAT_RGB_JPEG
Image format
|
static int |
IMAGEFORMAT_RGB_JPEG_LS
Image format
|
static int |
IMAGEFORMAT_RGB_JPEG2000
Image format
|
static int |
IMAGEFORMAT_RGB_RAW
Image format
|
static int |
INTENSITY_DEPTH_UNDEF |
static int |
IRBNDY_PROCESSED |
static int |
IRBNDY_UNDEF |
static int |
IROC_UNITFILL
Iris occlusion filling (polar only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
IROCC_PROCESSED
Iris occlusion (polar only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
IROCC_UNDEF
Iris occlusion (polar only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
IROCC_ZEROFILL
Iris occlusion filling (polar only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
ORIENTATION_BASE
Constant for horizontal and veritical orientation, based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
ORIENTATION_FLIPPED
Constant for horizontal and veritical orientation, based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
ORIENTATION_UNDEF
Constant for horizontal and veritical orientation, based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
SCAN_TYPE_CORRECTED
Scan type (rectilinear only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
SCAN_TYPE_INTERLACE_FIELD
Scan type (rectilinear only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
SCAN_TYPE_INTERLACE_FRAME
Scan type (rectilinear only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
SCAN_TYPE_PROGRESSIVE
Scan type (rectilinear only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
SCAN_TYPE_UNDEF
Scan type (rectilinear only), based on Table 2 in Section 5.5 in ISO 19794-6.
|
static int |
TRANS_STD |
static int |
TRANS_UNDEF |
Constructor and Description |
---|
IrisInfo(InputStream inputStream)
Constructs an iris info from binary encoding.
|
IrisInfo(int captureDeviceId,
int horizontalOrientation,
int verticalOrientation,
int scanType,
int irisOcclusion,
int occlusionFilling,
int boundaryExtraction,
int irisDiameter,
int imageFormat,
int rawImageWidth,
int rawImageHeight,
int intensityDepth,
int imageTransformation,
byte[] deviceUniqueId,
List<IrisBiometricSubtypeInfo> irisBiometricSubtypeInfos)
Constructs a new iris info object.
|
IrisInfo(StandardBiometricHeader sbh,
InputStream inputStream)
Constructs an iris info from binary encoding.
|
IrisInfo(StandardBiometricHeader sbh,
int captureDeviceId,
int horizontalOrientation,
int verticalOrientation,
int scanType,
int irisOcclusion,
int occlusionFilling,
int boundaryExtraction,
int irisDiameter,
int imageFormat,
int rawImageWidth,
int rawImageHeight,
int intensityDepth,
int imageTransformation,
byte[] deviceUniqueId,
List<IrisBiometricSubtypeInfo> irisBiometricSubtypeInfos)
Constructs a new iris info object.
|
Modifier and Type | Method and Description |
---|---|
void |
addIrisBiometricSubtypeInfo(IrisBiometricSubtypeInfo irisBiometricSubtypeInfo)
Adds an iris biometric subtype info to this iris info.
|
int |
getBoundaryExtraction()
Gets the boundary extraction.
|
int |
getCaptureDeviceId()
Gets the capture device id.
|
byte[] |
getDeviceUniqueId()
Gets the device unique id.
|
int |
getHorizontalOrientation()
Gets the horizontal orientation
|
int |
getImageFormat()
Gets the image format.
|
int |
getImageTransformation()
Gets the image transformation.
|
int |
getIntensityDepth()
Gets the intensity depth.
|
List<IrisBiometricSubtypeInfo> |
getIrisBiometricSubtypeInfos()
Gets the iris biometric subtype infos embedded in this iris info.
|
int |
getIrisDiameter()
Gets the iris diameter.
|
int |
getIrisOcclusion()
Gets the iris occlusion.
|
int |
getOcclusionFilling()
Gets the iris occlusing filling.
|
int |
getRawImageHeight()
Gets the raw image height.
|
int |
getRawImageWidth()
Gets the raw image width.
|
int |
getScanType()
Gets the scan type.
|
StandardBiometricHeader |
getStandardBiometricHeader()
Gets the standard biometric header of this iris info.
|
int |
getVerticalOrientation()
Gets the vertical orientation
|
void |
readObject(InputStream inputStream)
Reads this iris info from input stream.
|
void |
removeIrisBiometricSubtypeInfo(int index)
Removes an iris biometric subtype info from this iris info.
|
String |
toString()
Generates a textual representation of this object.
|
void |
writeObject(OutputStream outputStream)
Writes this iris info to an output stream.
|
add, addAll, equals, getSubRecords, hashCode, remove
getEncoded
public static final int IMAGEFORMAT_MONO_RAW
public static final int IMAGEFORMAT_RGB_RAW
public static final int IMAGEFORMAT_MONO_JPEG
public static final int IMAGEFORMAT_RGB_JPEG
public static final int IMAGEFORMAT_MONO_JPEG_LS
public static final int IMAGEFORMAT_RGB_JPEG_LS
public static final int IMAGEFORMAT_MONO_JPEG2000
public static final int IMAGEFORMAT_RGB_JPEG2000
public static final int CAPTURE_DEVICE_UNDEF
public static final int ORIENTATION_UNDEF
public static final int ORIENTATION_BASE
public static final int ORIENTATION_FLIPPED
public static final int SCAN_TYPE_UNDEF
public static final int SCAN_TYPE_PROGRESSIVE
public static final int SCAN_TYPE_INTERLACE_FRAME
public static final int SCAN_TYPE_INTERLACE_FIELD
public static final int SCAN_TYPE_CORRECTED
public static final int IROCC_UNDEF
public static final int IROCC_PROCESSED
public static final int IROCC_ZEROFILL
public static final int IROC_UNITFILL
public static final int INTENSITY_DEPTH_UNDEF
public static final int TRANS_UNDEF
public static final int TRANS_STD
public static final int IRBNDY_UNDEF
public static final int IRBNDY_PROCESSED
public IrisInfo(int captureDeviceId, int horizontalOrientation, int verticalOrientation, int scanType, int irisOcclusion, int occlusionFilling, int boundaryExtraction, int irisDiameter, int imageFormat, int rawImageWidth, int rawImageHeight, int intensityDepth, int imageTransformation, byte[] deviceUniqueId, List<IrisBiometricSubtypeInfo> irisBiometricSubtypeInfos)
captureDeviceId
- capture device identifier assigned by vendorhorizontalOrientation
- horizontal orientation: ORIENTATION_UNDEF
, ORIENTATION_BASE
, or ORIENTATION_FLIPPED
verticalOrientation
- vertical orientation: ORIENTATION_UNDEF
, ORIENTATION_BASE
, or ORIENTATION_FLIPPED
scanType
- scan typeirisOcclusion
- iris occlusion (polar only)occlusionFilling
- occlusion filling (polar only)boundaryExtraction
- boundary extraction (polar only)irisDiameter
- expected iris diameter in pixels (rectilinear only)imageFormat
- image format of data blob (JPEG, raw, etc.)rawImageWidth
- raw image width, pixelsrawImageHeight
- raw image height, pixelsintensityDepth
- intensity depth, bits, per colorimageTransformation
- transformation to polar image (polar only)deviceUniqueId
- a 16 character string uniquely identifying the device or source of that datairisBiometricSubtypeInfos
- the iris biometric subtype recordspublic IrisInfo(StandardBiometricHeader sbh, int captureDeviceId, int horizontalOrientation, int verticalOrientation, int scanType, int irisOcclusion, int occlusionFilling, int boundaryExtraction, int irisDiameter, int imageFormat, int rawImageWidth, int rawImageHeight, int intensityDepth, int imageTransformation, byte[] deviceUniqueId, List<IrisBiometricSubtypeInfo> irisBiometricSubtypeInfos)
sbh
- standard biometric header to usecaptureDeviceId
- capture device identifier assigned by vendorhorizontalOrientation
- horizontal orientation: ORIENTATION_UNDEF
, ORIENTATION_BASE
, or ORIENTATION_FLIPPED
verticalOrientation
- vertical orientation: ORIENTATION_UNDEF
, ORIENTATION_BASE
, or ORIENTATION_FLIPPED
scanType
- scan typeirisOcclusion
- iris occlusion (polar only)occlusionFilling
- occlusion filling (polar only)boundaryExtraction
- boundary extraction (polar only)irisDiameter
- expected iris diameter in pixels (rectilinear only)imageFormat
- image format of data blob (JPEG, raw, etc.)rawImageWidth
- raw image width, pixelsrawImageHeight
- raw image height, pixelsintensityDepth
- intensity depth, bits, per colorimageTransformation
- transformation to polar image (polar only)deviceUniqueId
- a 16 character string uniquely identifying the device or source of that datairisBiometricSubtypeInfos
- the iris biometric subtype recordspublic IrisInfo(InputStream inputStream) throws IOException
inputStream
- an input streamIOException
- if reading failspublic IrisInfo(StandardBiometricHeader sbh, InputStream inputStream) throws IOException
sbh
- standard biometric header to useinputStream
- an input streamIOException
- if reading failspublic void readObject(InputStream inputStream) throws IOException
readObject
in class AbstractListInfo<IrisBiometricSubtypeInfo>
inputStream
- an input streamIOException
- if reading failspublic void writeObject(OutputStream outputStream) throws IOException
writeObject
in class AbstractListInfo<IrisBiometricSubtypeInfo>
outputStream
- an output streamIOException
- if writing failspublic int getCaptureDeviceId()
public int getHorizontalOrientation()
ORIENTATION_UNDEF
, ORIENTATION_BASE
, or ORIENTATION_FLIPPED
public int getVerticalOrientation()
ORIENTATION_UNDEF
, ORIENTATION_BASE
, or ORIENTATION_FLIPPED
public int getScanType()
SCAN_TYPE_UNDEF
, SCAN_TYPE_PROGRESSIVE
, SCAN_TYPE_INTERLACE_FRAME
, SCAN_TYPE_INTERLACE_FIELD
, or SCAN_TYPE_CORRECTED
public int getIrisOcclusion()
public int getOcclusionFilling()
public int getBoundaryExtraction()
public int getIrisDiameter()
public int getImageFormat()
public int getRawImageWidth()
public int getRawImageHeight()
public int getIntensityDepth()
public int getImageTransformation()
public byte[] getDeviceUniqueId()
public StandardBiometricHeader getStandardBiometricHeader()
getStandardBiometricHeader
in interface BiometricDataBlock
public String toString()
toString
in class Object
Object.toString()
public List<IrisBiometricSubtypeInfo> getIrisBiometricSubtypeInfos()
public void addIrisBiometricSubtypeInfo(IrisBiometricSubtypeInfo irisBiometricSubtypeInfo)
irisBiometricSubtypeInfo
- an iris biometric subtype infopublic void removeIrisBiometricSubtypeInfo(int index)
index
- the index of the biometric subtype info to removeCopyright © 2016. All rights reserved.