sclera based authentication project.

조회 수: 8 (최근 30일)
kapil khond
kapil khond 2015년 3월 7일
댓글: Star Strider 2015년 3월 7일
i am doing project on sclera based authentication , first step of project is to detect region of interest ,in my case region of interest is sclera part(white),i used following code to select region of interest but the problem is that i am not getting desired output also the output which i got has noise which i tried to remove using filter which made my image blurry. i am attaching my code , i am attaching two images
A.output which i got
B.desired output
if true
clc;
clear all;
close all;
I = imread('yo4.jpg');
imageSize = size(I);
row=imageSize(1);
col=imageSize(2);
figure,subplot(3,2,1);
imshow(I);
title('ORIGINAL IMAGE');
I1=rgb2gray(I);
subplot(3,2,2);
imshow(I1);
J=I1;
for i=1 :row
for j=1 :col
if (J(i,j)>180 )
O(i,j)=J(i,j);
end;
end;
end;
H=fspecial('average',[5 5]);
O=imfilter(O,H,'replicate');
for i=1 :row
for j=1 :col
if (O(i,j)>180 )
Ex(i,j)=I(i,j);
end;
end;
end;
subplot(3,2,3);
imshow(Ex);
title('region of interest');
K=medfilt2(Ex,[13 13]);
subplot(3,2,4);
imshow(K);
title('after applying median filter');
end
what changes i should make to get desired output.

답변 (1개)

Image Analyst
Image Analyst 2015년 3월 7일
Well first of all, you can extract the biggest blob with my attached function.
Next you need to tell us exactly where you want to split the largest blob into two parts - it's not obvious to us where it should be split.
And of course the two images are of completely different eyes - the vein patterns and eyelashes are different!
  댓글 수: 1
Star Strider
Star Strider 2015년 3월 7일
I doubt sclera (or more accurately, conjunctival vessel) based identifications would be robust in practice. See the Wikipedia article on Conjunctivitis for a rather obvious reason.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by