please help me .I have a database of 8 different fingerprint image to matching similarity from a input image and here the output . Anyone please guide me why the output is so long rather than 8 image matching.

조회 수: 2 (최근 30일)
Extracting features from D:\Simple_FingerPrint_Matching\indrani.tif ...
>>> enhancement done.
>>> making mask done.
>>> finding minutiae done.
>>> filtering false minutiae done.
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:1
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.77067
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.68476
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.88396
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.6742
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.71263
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.5766
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.73983
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.19739
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.24535
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.23262
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.22975
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.24618
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.19978
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.26673
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.22228
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.18019
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.2176
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.26673
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.30773
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.29848
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.19462
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.22975
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.31025
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.24772
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.22396
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.23883
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.25713
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.25595
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.25641
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.20242
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.27989
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.19508
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.19508
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.19508
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.20146
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.29691
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.17408
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.18019
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.31672
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.29854
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.26869
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.2849
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.28721
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.2804
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.31545
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.29967
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.31672
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.30151
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.31545
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.29262
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.30457
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.32233
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.25226
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.22004
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.2804
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.28651
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.26444
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.24568
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.20124
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.22205
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.2414
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.23442
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.23269
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.24175
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.24618
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.26382
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.28204
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.27713
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.23355
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.27713
Warning: Escaped character '\S' is not valid. See 'doc sprintf' for supported special characters.
> In main_single (line 31)
Computing similarity between D:0.27247
Matched_FigerPrints =
1
2
3
4
5
6
7
8
  댓글 수: 2
jessupj
jessupj 2020년 4월 30일
what is the statement of line 31 in 'main_single' that is creating all the warnings? There's a call to the function sprintf that isn't shown.
indrani dalui
indrani dalui 2020년 4월 30일
sir ,i am attaching a code here with
clear all; clc; addpath(genpath(pwd));
%% EXTRACT FEATURES FROM AN ARBITRARY FINGERPRINT
filename='E:\Simple_FingerPrint_Matching\FVC2002\DB1_B\101_1.tif';
img = imread(filename);
if ndims(img) == 3; img = rgb2gray(img); end % Color Images
disp(['Extracting features from ' filename ' ...']);
ffnew=ext_finger(img,1);
%% GET FEATURES OF AN ARBITRARY FINGERPRINT FROM THE TEMPLATE AND MATCH IT WITH FIRST ONE
load('db.mat'); i=2;
second=['10' num2str(fix((i-1)/8)+1) '_' num2str(mod(i-1,8)+1)];
disp(['Computing similarity between ' filename ' and ' second ' from FVC2002']);
S=match(ffnew,ff{i},1);
clear all; clc; addpath(genpath(pwd));
%% BUILD FINGERPRINT TEMPLATE DATABASE
% build_db(9,8); %THIS WILL TAKE ABOUT 30 MINUTES
load('db.mat');
%% EXTRACT FEATURES FROM AN ARBITRARY FINGERPRINT
filename='E:\Simple_FingerPrint_Matching\FVC2002\DB1_B\101_1.tif';
img = imread(filename);
if ndims(img) == 3; img = rgb2gray(img); end % Color Images
disp(['Extracting features from ' filename ' ...']);
ffnew=ext_finger(img,1);
%% FOR EACH FINGERPRINT TEMPLATE, CALCULATE MATCHING SCORE IN COMPARISION WITH FIRST ONE
S=zeros(72,1);
for i=1:72
second=['10' num2str(fix((i-1)/8)+1) '_' num2str(mod(i-1,8)+1)];
fprintf(['Computing similarity between ' filename ' and ' second ' from FVC2002 : ']);
S(i)=match(ffnew,ff{i});
fprintf([num2str(S(i)) '\n']);
drawnow
end

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

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 4월 30일
Change line 31 to
fprintf('%s', ['Computing similarity between ' filename ' and ' second ' from FVC2002 : ']);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by