Tuesday, May 7, 2013

Week 6

We found code this week from a Matlab Central post about previous projects done by people on fingerprint processing. We have been using them as guidelines to how we can tackle our project in the aspect of the analyzing the fingerprint. We came to use the following code to start the thinning process of a fingerprint:

clear, clc, close all
I=imread('Test_4.bmp');
imshow(I)
set(gcf,'position',[1 1 600 600]);
J=I(:,:,1)>160;
imshow(J)
set(gcf,'position',[1 1 600 600]);
K=bwmorph(~J,'thin','inf');
imshow(~K)
set(gcf,'position',[1 1 600 600]);

It took this image:


And turned it into this image:


No comments:

Post a Comment