⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 identity.java

📁 JAVA 实现虹膜识别(完整)
💻 JAVA
字号:
package IrisRecog;

/**
 * Identity.java
 * 
 * Represents the identity of a scanned subject, which is simply a copy of the 
 * unwrapped image resulting from the scanning process and the name of the subject.
 * 
 * @author Team 6: Andy Bare, Imran Chaugule, Michael Huffman, Matt Pearson, Catherine Schell
 * @version 1.0.0
 *
 * 	CSC 480 Section 2
 * 	Fall 2005
 * 	10/1/05
 */
 
import java.io.*;

public class Identity implements Serializable
{
	/*
	 * The name of the identity
	 */
	protected String str_IdentityName;
	
	/* 
	 * The unwrapped image of the identity
	 */
	protected UnwrappedImage uwr_IdentityIris;
	
	/**
	 * Constructs a new identity with the specified name and unwrapped image.
	 * 
	 * @param i The string name of the subject to be stored
	 * @param u The unwrapped image of the subject to be stored
	 */
	public Identity(String i, UnwrappedImage u)
	{
		this.str_IdentityName = i;
		this.uwr_IdentityIris = u;
	}
	
	/**
	 * Returns the name of the identity.
	 *
	 * @return the name of the identity
	 */
	public String getIdentityName()
	{
		return this.str_IdentityName;
	}
	
	/**
	 * Returns the unwrapped image of the identity
	 *
	 * @return the unwrapped image of the identity
	 */
	public UnwrappedImage getIdentityIris()
	{
		return this.uwr_IdentityIris;
	}
		
	/**
	 * Overrides the object toString method
	 *
	 * @return the string representation of the identity (its name)
	 */
	public String toString()
	{
		return this.str_IdentityName;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -