Class IrisImageInfo

    • Field Detail

      • IMAGE_QUAL_UNDEF

        public static final int IMAGE_QUAL_UNDEF
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
      • IMAGE_QUAL_LOW_LO

        public static final int IMAGE_QUAL_LOW_LO
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
      • IMAGE_QUAL_LOW_HI

        public static final int IMAGE_QUAL_LOW_HI
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
      • IMAGE_QUAL_MED_LO

        public static final int IMAGE_QUAL_MED_LO
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
      • IMAGE_QUAL_MED_HI

        public static final int IMAGE_QUAL_MED_HI
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
      • IMAGE_QUAL_HIGH_LO

        public static final int IMAGE_QUAL_HIGH_LO
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
      • IMAGE_QUAL_HIGH_HI

        public static final int IMAGE_QUAL_HIGH_HI
        Image quality, based on Table 3 in Section 5.5 of ISO 19794-6.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IrisImageInfo

        public IrisImageInfo​(int imageNumber,
                             int quality,
                             int rotationAngle,
                             int rotationAngleUncertainty,
                             int width,
                             int height,
                             java.io.InputStream imageBytes,
                             int imageLength,
                             int imageFormat)
                      throws java.io.IOException
        Constructs an iris image info.
        Parameters:
        imageNumber - the image number
        quality - quality
        rotationAngle - rotation angle
        rotationAngleUncertainty - rotation angle uncertainty
        width - with
        height - height
        imageBytes - the encoded image
        imageLength - the length of the encoded image
        imageFormat - the image format used for encoding
        Throws:
        java.io.IOException - on error reading the image input stream
      • IrisImageInfo

        public IrisImageInfo​(int imageNumber,
                             int width,
                             int height,
                             java.io.InputStream imageBytes,
                             int imageLength,
                             int imageFormat)
                      throws java.io.IOException
        Constructs an iris image info.
        Parameters:
        imageNumber - the image number
        width - width
        height - height
        imageBytes - the encoded image
        imageLength - the length of the encoded image
        imageFormat - the image format used for encoding
        Throws:
        java.io.IOException - on error reading the image stream
    • Method Detail

      • getImageFormat

        public int getImageFormat()
        Returns the image format.
        Returns:
        the image format
      • getImageNumber

        public int getImageNumber()
        Returns the image number.
        Returns:
        the image number
      • getQuality

        public int getQuality()
        Returns the quality.
        Returns:
        the image quality
      • getRotationAngle

        public int getRotationAngle()
        Returns the rotation angle.
        Returns:
        the rotationAngle
      • getRotationAngleUncertainty

        public int getRotationAngleUncertainty()
        Returns the rotation angle uncertainty.
        Returns:
        the rotationAngleUncertainty
      • getRecordLength

        public long getRecordLength()
        Returns the record length.
        Returns:
        the record length
      • toString

        public java.lang.String toString()
        Generates a textual representation of this object.
        Overrides:
        toString in class AbstractImageInfo
        Returns:
        a textual representation of this object
        See Also:
        Object.toString()
      • readObject

        protected void readObject​(java.io.InputStream inputStream)
                           throws java.io.IOException
        Description copied from class: AbstractImageInfo
        Reads this object from a stream.
        Specified by:
        readObject in class AbstractImageInfo
        Parameters:
        inputStream - the stream to read from
        Throws:
        java.io.IOException - on error reading from the stream
      • writeObject

        protected void writeObject​(java.io.OutputStream out)
                            throws java.io.IOException
        Description copied from class: AbstractImageInfo
        Writes this object to a stream.
        Specified by:
        writeObject in class AbstractImageInfo
        Parameters:
        out - the stream to write to
        Throws:
        java.io.IOException - on error writing to the stream