All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jnbis.internal.InternalNist Maven / Gradle / Ivy

Go to download

Java implementation of NIST Biometric Image Decoder. Based on NBIS V1.1.0

There is a newer version: 2.1.2
Show newest version
package org.jnbis.internal;

import org.jnbis.api.model.Nist;
import org.jnbis.api.model.record.*;

import java.util.ArrayList;
import java.util.List;

/**
 * @author M. H. Shamsi
 * @version 1.0.0
 * @since Oct 31, 2007
 */
public class InternalNist extends Nist {

    private TransactionInformation transactionInformation;
    private final List userDefinedTexts;
    private final List lowResolutionGrayscaleFingerprints;
    private final List hiResolutionGrayscaleFingerprints;
    private final List lowResolutionBinaryFingerprints;
    private final List hiResolutionBinaryFingerprints;
    private final List userDefinedImages;
    private final List signatureImages;
    private final List minutiaeData;
    private final List facialAndSmtImages;
    private final List variableResolutionLatentImages;
    private final List variableResolutionFingerprints;
    private final List variableResolutionPalmprints;
    private final List irisImages;

    public InternalNist() {
        userDefinedTexts = new ArrayList<>();
        lowResolutionGrayscaleFingerprints = new ArrayList<>();
        hiResolutionGrayscaleFingerprints = new ArrayList<>();
        lowResolutionBinaryFingerprints = new ArrayList<>();
        hiResolutionBinaryFingerprints = new ArrayList<>();
        userDefinedImages = new ArrayList<>();
        signatureImages = new ArrayList<>();
        minutiaeData = new ArrayList<>();
        facialAndSmtImages = new ArrayList<>();
        variableResolutionLatentImages = new ArrayList<>();
        variableResolutionFingerprints = new ArrayList<>();
        variableResolutionPalmprints = new ArrayList<>();
        irisImages = new ArrayList<>();
    }

    void setTransactionInfo(TransactionInformation transactionInfo) {
        this.transactionInformation = transactionInfo;
    }

    void addUserDefinedText(UserDefinedDescriptiveText text) {
        userDefinedTexts.add(text);
    }

    void addLowResGrayscaleFingerPrint(LowResolutionGrayscaleFingerprint fingerprint) {
        lowResolutionGrayscaleFingerprints.add(fingerprint);
    }

    void addHiResGrayscaleFingerPrint(HighResolutionGrayscaleFingerprint fingerprint) {
        hiResolutionGrayscaleFingerprints.add(fingerprint);
    }

    void addLowResBinaryFingerPrint(LowResolutionBinaryFingerprint fingerprint) {
        lowResolutionBinaryFingerprints.add(fingerprint);
    }

    void addHiResBinaryFingerPrint(HighResolutionBinaryFingerprint fingerprint) {
        hiResolutionBinaryFingerprints.add(fingerprint);
    }

    void addUserDefinedImage(UserDefinedImage image) {
        userDefinedImages.add(image);
    }

    void addSignature(SignatureImage image) {
        signatureImages.add(image);
    }

    void addMinutiaeData(MinutiaeData minutiae) {
        minutiaeData.add(minutiae);
    }

    void addFacialSmtImage(FacialAndSmtImage image) {
        facialAndSmtImages.add(image);
    }

    void addVariableResLatentImage(VariableResolutionLatentImage image) {
        variableResolutionLatentImages.add(image);
    }

    void addVariableResFingerprint(VariableResolutionFingerprint fingerprint) {
        variableResolutionFingerprints.add(fingerprint);
    }

    void addVariableResPalmprint(VariableResolutionPalmprint palmprint) {
        variableResolutionPalmprints.add(palmprint);
    }

    void addIrisImage(IrisImage image) {
        irisImages.add(image);
    }

    public TransactionInformation getTransactionInfo() {
        return transactionInformation;
    }

    public List getUserDefinedTexts() {
        return userDefinedTexts;
    }

    public List getLowResGrayscaleFingerprints() {
        return lowResolutionGrayscaleFingerprints;
    }

    public List getHiResGrayscaleFingerprints() {
        return hiResolutionGrayscaleFingerprints;
    }

    public List getLowResBinaryFingerprints() {
        return lowResolutionBinaryFingerprints;
    }

    public List getHiResBinaryFingerprints() {
        return hiResolutionBinaryFingerprints;
    }

    public List getUserDefinedImages() {
        return userDefinedImages;
    }

    public List getSignatures() {
        return signatureImages;
    }

    public List getMinutiaeData() {
        return minutiaeData;
    }

    public List getFacialAndSmtImages() {
        return facialAndSmtImages;
    }

    public List getVariableResLatentImages() {
        return variableResolutionLatentImages;
    }

    public List getVariableResFingerprints() {
        return variableResolutionFingerprints;
    }

    public List getVariableResPalmprints() {
        return variableResolutionPalmprints;
    }

    public List getIrisImages() {
        return irisImages;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy