⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ca5.m

📁 finger print extraction, minutae extraction
💻 M
字号:
%Part 1:Compare various edge detectors
x=imread('fp.bmp');

e1=edge(x,'sobel');
e2=edge(x,'canny');
figure(1);

subplot(1,2,1)
imshow(e1);
title 'sobel edge detector';
subplot(1,2,2)
imshow(e2);
title 'canny edge detector';


%Part 2:applying morphological filtering to binarized image
th=graythresh(x);
y=im2bw(x,th);
b1=bwmorph(y,'thin');
b2=bwareaopen(y,10);
figure(2);
subplot(1,2,1)
imshow(x);
subplot(1,2,2)
imshow(b2);

%Part 3:Minutiae Extraction
b3=minutiae_extraction(b2);
figure(3)
 imshow(b3);
% check the validity of your results
figure(4)
imshow(x);hold on;
[i,j]=find(b3==1)
plot(j,i,'o');

⌨️ 快捷键说明

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