• 大小: 1KB
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: Matlab
  • 标签: matlab  指纹识别  

资源简介

matlab 指纹识别 很好的课程设计代码

资源截图

代码片段和文件信息

function [sector_num] = whichsector(index)
% Modiofied by Luigi Rosa
% index is the index of current pixel of cropped image ( cropped image is
% 175 x 175 ); sector_num is the output and represents what is the
% corresponding sector.
global immagine n_bands h_bands n_arcs h_radius h_lato n_sectors matrice

length = h_lato;
x = rem( index  length );
y = floor(index / length);

x = x - floor(length / 2);
y = y - floor(length / 2);

rad = (x*x) + (y*y);
if rad < (h_radius*h_radius)                  % innerest radius = 12 (144=12*12)
    sector_num = (n_sectors-1)+1;
    sector_nu

评论

共有 条评论