Error in Libor Masek Iris Recognition code
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I'm Wanie. I'm having problem when running Libor Masek code.
I have changed:
" DIAGPATH = 'diagnostics' "; to " DIAGPATH = 'diagnostics\'; " as recommended by Nicolaie Popescu-Bodorin in his post (<http://www.mathworks.com/matlabcentral/newsreader/view_thread/250953>)
But it constantly generate this type of error:
Error using cd Cannot CD to diagnostics\ (Name is nonexistent or not a directory).
Error in createiristemplate (line 92) cd(DIAGPATH);
Then I changed the code to:
global DIAGPATH
%DIAGPATH = 'diagnostics\';
DIAGPATH = 'C:\Users\admin\Documents\research\iris recognition sourcecode\iris code';
addpath(genpath('C:\Users\admin\Documents\research\iris recognition sourcecode\iris code\Iris Database'));
Then it generated these files:
-houghpara.mat
-noise.jpg
-normal.jpg
-polar.jpg
-polarnoise.jpg
-segmented.jpg
At the same time, it also generated this output:
ans =
1 1 0 1 0 0 1 0
1 1 0 1 0 0 1 0
0 0 1 0 1 1 0 1
0 1 0 0 1 0 1 1
1 1 0 1 0 0 1 0
1 0 1 1 0 1 0 0
0 1 0 0 1 0 1 1
0 1 0 0 1 0 1 1
There is no error at all. But I confuse at the part of 'ans'. Is that the right output that should I get? Because what I understand from the code is that 'createiristemplate.m' should generate template and mask. But in my case, it generated an 'ans' instead. Please correct if I'm wrong. Thanks in advance.
0 件のコメント
回答 (1 件)
Andrew Eremin
2019 年 5 月 12 日
Hi, Wanie.
I have the same problem with libor masek code. Did you figured out how to make template and mask saving properly for matching? If yes, please tell me how to do it, I'm confused with it.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!