IRIS detection and Recognition MATLAB source code
This page covers step by step matlab code for eye iris detection or recognition.
matlab code
clear all;
close all;
clc;
%Reading the image
Img=imread('002L_1.png');
%%Pre Processing and Normalisation
figure;imshow(Img);title('INPUT EYE IMAGE');
%%Step 1: Converting to Gray sclae from rgb
Gray_imag=rgb2gray(Img);
figure;imshow(Gray_imag);title('IMAGE after Gray conversion');
%Deleting extra portion
t2=Gray_imag(:,65:708);
t3=t2(18:563,:);
figure;imshow(t3);title('IMAGE after Deleting extra portion');
%%Step 2: Resizing the image(546x644) to 512 x 512
t4=imresize(t3,[512,512],'bilinear');
figure;imshow(t4);title('IMAGE after resize');
%%Step 3: Histogram Equlisation
Hist_eq_img = histeq(t4,512);
figure;imshow(Hist_eq_img);title('IMAGE after Histogram Equlisation');
% Step 4: Gaussian Filtering
G = fspecial('gaussian',[512 512],20);
%Filter it
Hist_eq_img=double(Hist_eq_img);
Ig = imfilter(Hist_eq_img,G,'same');
%Display
%%Step 5: Canny Edge detection
BW2 = edge(Ig,'canny',0.53,1);
figure;imshow(BW2);title('IMAGE after canny edge detection');

STEP 1:RGB image to grayscale conversion

STEP 2:Image Resize
STEP 3:Histogram Equalization
STEP 4:GAUSSIAN FILTERING
STEP 5:CANNY EDGE DETECTION
DOWNLOAD Input EYE Image
DOWNLOAD COMPLETE source code Zip file from following link
The above source code is not complete, please download the entire source zip file from the link mentioned below.
https://www.csse.uwa.edu.au/~pk/studentprojects/libor/sourcecode.html
Related Links
https://waset.org/Publication/a-novel-approach-to-iris-localization-for-irisbiometric-processing/15231
Useful Links to MATLAB codes
Refer following as well as links mentioned on left side panel for useful MATLAB codes.
OFDM Preamble generation
Time off estimation corr
Freq off estimation corr
channel estimation
11a WLAN channel
PN sequence generation
OFDMA Tx Rx
AES DES
carrier aggregation
CCDF
FIR Filter
IIR Filter
Low Pass FIR
Viterbi decoder
CRC8 CRC32
RF and Wireless tutorials
WLAN 802.11ac 802.11ad wimax Zigbee z-wave GSM LTE UMTS Bluetooth UWB IoT satellite Antenna RADAR