Iris
Iris Recognition Algorithms Comparison between Daugman algorithm and Hough transform on Matlab
Install / Use
/learn @Qingbao/IrisREADME
iris
Iris Recognition Algorithms Comparison between Daugman algorithm and Hough transform with Matlab.
DESCRIPTION:
Iris is one of the most important biometric approaches that can perform high confidence recognition. Iris contains rich and random Information. Most of commercial iris recognition systems are using the Daugman algorithm. The algorithms used in this project are from open source with slightly modifications, if you would like to use the source code, please check the LICENSE first!
Daugman algorithm:

where I(x,y) is the eye image, r is the radius to search over the image (x,y), G(r) is a Gaussian smoothing function. The algorithm starts to search from the pupil, in order to detect the changes of maximum pixel values (partial derivative).


Hough transform:

The Hough transform is a feature extraction technique used in image analysis, computer vision, and digital image processing. where (xi, yi) are the central coordinates, and r is the radius. Generally, and eye would be modeled by two circles of pupil and limbus (iris region), and two parabolas of upper and lower eyelids
It starts to detect the eyelids form the horizontal direction, then detects the pupil and iris boundary from the vertical direction.


NORMALIZATION AND FEATURE ENCODING:
From circles to oblong block By using the 1D Log-Gabor filter. In order to extract 9600 bits iris code, the upper and lower eyelids will be processed into a 9600 bits encoded mask.

MATCHING:
Hamming distance (HD):

Q and R are the subjects to compare, that contain 20x480=9600 template bits and 20x480=9600 mask bits, the calculation is using XOR and AND boolean operators.
Results:
CASIA Iris Image Database(version 1.0) (http://biometrics.idealtest.org/dbDetailForUser.do?id=1): 756 iris images form 108 different subjects. High quality of images by using NIR camera.
Resolution of 320*280.
Totally, 756*755/2=285390 pairs of comparison for each algorithm, 2268 for intra-class comparison and 283 122 for inter-class comparison.
EER:
Daugman algorithm: 0.0157 Hough transform: 0.0500
How to run the program
-
Download the CASIA Iris Image Database(version 1.0) from (http://biometrics.idealtest.org/dbDetailForUser.do?id=1) (Sign-up required)
-
Read all images and extract features using the read_all_images.m and createiristemplate.m. (Templates created)
-
The templates of each subject will be saved into template.mat and mask.m after you creating the templates. Using matching.m to calculate the Hamming distance (HD) for the same subject(intra-class) and different subjects (innner-class) and saving the results into HD_diff.mat(different subjects) and HD_same.m (same subject), then you can calculate the EER which is the final performance for each algorithm by using EER_*.m.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
