• 大小: 6.24MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-26
  • 语言: Matlab
  • 标签: 指纹识别  

资源简介

matlab源代码+指纹库,matlab GUI完整,运行ok!!!!

资源截图

代码片段和文件信息

function [OutputprintXofCenterYofCenter] = centralizing(fingerprintctrl)
%  modified by Luigi Rosa
global immagine n_bands h_bands n_arcs h_radius h_lato n_sectors matrice

x=[-16:1:16];
y=[-16:1:16];
dimx=size(x2);
dimy=size(y2);
% varianza gaussiana ordine filtro complesso
varianza=sqrt(55);
ordine=1;
gamma=2;
filtro_core=zeros(dimxdimy);
filtro_delta=zeros(dimxdimy);
for ii=1:dimx
    for jj=1:dimy
        esponente=exp(-(x(ii)^2+y(jj)^2)/(2*varianza^2));
        % filtro core
        fattore=x(ii)+i*y(jj);
        filtro_core(iijj)=esponente*fattore^ordine;
        % filtro delta        
        fattore=x(ii)-i*y(jj);
        filtro_delta(iijj)=esponente*fattore^ordine;
    end
end
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
%------------------------------------
% The low-pass filter ---------------
%------------------------------------
% Gaussian Low Pass Filter ----------
%------------------------------------
x=[-16:1:16];
y=[-16:1:16];
dimx=size(x2);
dimy=size(y2);
varianza=sqrt(1.2);
filtro=zeros(dimxdimy);
for ii=1:dimx
    for jj=1:dimy
        esponente=exp(-(x(ii)^2+y(jj)^2)/(2*varianza^2));
        filtro(iijj)=esponente;
    end
end
% normalization
filtro=filtro/sum(sum(filtro)); 
%------------------------------------
%------------------------------------
img=fingerprint;
img=double(img);
%--------------------------------------------------------------------------
% complex field at 0 level
[gxgy]=gradient(img);
num=(gx+i*gy).^2;
den=abs((gx+i*gy).^2);
pos=find(den);
num(pos)=num(pos)./den(pos);
z=zeros(size(img1)size(img2));
z(pos)=num(pos);
pos=find(den==0);
z(pos)=1;
%**********************************
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
%------------------------ NOT USED ----------------------------------------
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
if 1==0%------------------------------- ----------------------> vecchio algoritmo che risale piramide gaussiana
    %-------------------------------------
    % complex field at  level 1
    z1=conv2fft(zfiltro‘same‘);
    z1=dyaddown(z11‘m‘);
    num=z1;
    den=abs(z1);
    pos=find(den);
    num(pos)=num(pos)./den(pos);
    z1=zeros(size(z11)size(z12));
    z1(pos)=num(pos);
    pos=find(den==0);
    z1(pos)=1;
    %**********************************
    %-------------------------------------
    % complex field at  lev

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      11260  2009-10-28 11:50  fprec.asv

     文件      11252  2009-11-13 11:58  fprec.m

     文件        642  2004-04-26 18:18  gabor2d_sub.m

     文件        424  2004-06-19 20:09  mirror.m

     文件     298672  2004-06-29 16:35  old_version.zip

     文件       9849  2004-06-29 16:38  readme.txt

     文件        122  2004-06-19 20:10  recrop.m

     文件       2773  2004-04-26 18:18  sector_norm.m

     文件        499  2004-06-19 20:04  vedicentro.m

     文件       1203  2004-04-26 18:18  whichsector.m

     文件        361  2009-10-27 18:40  说明.txt

     文件     501248  2009-10-29 11:57  指纹识别.ppt

     文件      93696  2000-08-25 17:30  指纹图像库\101_1.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_2.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_3.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_4.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_5.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_6.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_7.tif

     文件      93696  2000-08-25 17:30  指纹图像库\101_8.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_1.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_2.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_3.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_4.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_5.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_6.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_7.tif

     文件      93696  2000-08-25 17:30  指纹图像库\102_8.tif

     文件      93696  2000-08-25 17:30  指纹图像库\103_1.tif

     文件      93696  2000-08-25 17:30  指纹图像库\103_2.tif

............此处省略71个文件信息

评论

共有 条评论