JMRTD 0.4.6

org.jmrtd.lds
Class IrisInfo

java.lang.Object
  extended by org.jmrtd.lds.DisplayedImageInfo
      extended by org.jmrtd.lds.IrisInfo

public class IrisInfo
extends DisplayedImageInfo

Data structure for storing iris image information as found in DG4. Coding is based on ISO/IEC FCD 19794-6 aka Annex E. WARNING: Work in progress. TODO: proper enums for data types TODO: getEncoded TODO: this is just the iris image, need a class for iris feature (containing multiple images of same eye)? See DG4File class.

Version:
$Revision: $
Author:
Martijn Oostdijk (martijn.oostdijk@gmail.com)

Field Summary
static int IMAGEFORMAT_MONO_JPEG
           
static int IMAGEFORMAT_MONO_JPEG_LS
           
static int IMAGEFORMAT_MONO_JPEG2000
           
static int IMAGEFORMAT_MONO_RAW
           
static int IMAGEFORMAT_RGB_JPEG
           
static int IMAGEFORMAT_RGB_JPEG_LS
           
static int IMAGEFORMAT_RGB_JPEG2000
           
static int IMAGEFORMAT_RGB_RAW
           
 
Fields inherited from class org.jmrtd.lds.DisplayedImageInfo
type, TYPE_FINGER, TYPE_IRIS, TYPE_PORTRAIT, TYPE_SIGNATURE_OR_MARK
 
Constructor Summary
IrisInfo(int lotsOfParams)
           
 
Method Summary
 byte[] getEncoded()
           
 BufferedImage getImage()
           
 BufferedImage getImage(boolean isProgressive)
           
 String toString()
          Generates a textual representation of this object.
 
Methods inherited from class org.jmrtd.lds.DisplayedImageInfo
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IMAGEFORMAT_MONO_RAW

public static final int IMAGEFORMAT_MONO_RAW
See Also:
Constant Field Values

IMAGEFORMAT_RGB_RAW

public static final int IMAGEFORMAT_RGB_RAW
See Also:
Constant Field Values

IMAGEFORMAT_MONO_JPEG

public static final int IMAGEFORMAT_MONO_JPEG
See Also:
Constant Field Values

IMAGEFORMAT_RGB_JPEG

public static final int IMAGEFORMAT_RGB_JPEG
See Also:
Constant Field Values

IMAGEFORMAT_MONO_JPEG_LS

public static final int IMAGEFORMAT_MONO_JPEG_LS
See Also:
Constant Field Values

IMAGEFORMAT_RGB_JPEG_LS

public static final int IMAGEFORMAT_RGB_JPEG_LS
See Also:
Constant Field Values

IMAGEFORMAT_MONO_JPEG2000

public static final int IMAGEFORMAT_MONO_JPEG2000
See Also:
Constant Field Values

IMAGEFORMAT_RGB_JPEG2000

public static final int IMAGEFORMAT_RGB_JPEG2000
See Also:
Constant Field Values
Constructor Detail

IrisInfo

public IrisInfo(int lotsOfParams)
Method Detail

getEncoded

public byte[] getEncoded()

toString

public String toString()
Generates a textual representation of this object.

Overrides:
toString in class Object
Returns:
a textual representation of this object
See Also:
Object.toString()

getImage

public BufferedImage getImage()
Overrides:
getImage in class DisplayedImageInfo

getImage

public BufferedImage getImage(boolean isProgressive)
Overrides:
getImage in class DisplayedImageInfo

JMRTD 0.4.6