globals.java

来自「JAVA 实现虹膜识别(完整)」· Java 代码 · 共 37 行

JAVA
37
字号
package IrisRecog;

/**
 * Globals.java
 * 
 * This static abstract class, non-instantiatable, defines the constants used
 * throughout the functions and methods of this application.
 * 
 * @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.awt.*;

public abstract class Globals
{
	/*
	 * The variance (in intensity amount) used in the pupil center detection algorithm.
	 */
    public static int PUPIL_VARIANCE = 17;
    
   	public static double PUPIL_BLOCK_SIZE_PORTION = .80;

   	public static int GUASSIAN_WIDTH = 30;
   	
   	public static int EDGE_THRESHHOLD = 50;
   	
   	public static double CIRCLE_PERCENT_MATCH = .90;
   	
   	public static int MEDIAN_FILTER_WINDOW_SIZE = 8;
   	
   	public static double LOCALIZATION_PERCENTAGE = .80;
}

⌨️ 快捷键说明

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