running libor masek code for Iris Recognition

When I run the libor masek code for Iris Recognition, I am calling the segmentiris function, i get the error message as
??? Undefined function or method 'conv2' for input arguments of type 'double' and attributes 'full 3d
real'.
Error in ==> filter2 at 73
y = conv2(hcol, hrow, x, shape);
Error in ==> canny at 40
im = filter2(gaussian,im); % Smoothed image.
Error in ==> findcircle at 43
[I2 or] = canny(image, sigma, scaling, vert, horz);
Error in ==> segmentiris at 49
[row, col, r] = findcircle(eyeimage, lirisradius, uirisradius, scaling, 2, 0.20, 0.19, 1.00, 0.00);

1 件のコメント

badar bawani
badar bawani 2014 年 3 月 6 日
hi, the file you are trying to run is the wrong one try to run the file 'segmentiris.mat'
segmentiris.mat is the main file through which all the other files are called...
all the best !!!

サインインしてコメントする。

 採用された回答

Nitin
Nitin 2014 年 3 月 6 日

0 投票

You might need to run the createiristemplate.m
Include the subfolders using addgenpath so that the subfolders which contain files filter2, canny and so on can be accessed

5 件のコメント

reema
reema 2014 年 8 月 10 日
me run the createiristemplate.m file but its givee me error
Error using createiristemplate (line 39)
Not enough input arguments.
now what am doinggg????
Image Analyst
Image Analyst 2014 年 8 月 10 日
We don't have the code to run it ourselves, and we can't see your code. And, to make it worse, for some strange reason, you snipped out just a small snippet of the error message instead of giving us the entire error message ( all the red text), which is preventing us from even guessing at a reason.
How many input arguments does it want, and how many are you passing in?
saikrishna osk
saikrishna osk 2016 年 2 月 24 日
i'm getting errors as Error using imread>parse_inputs (line 476) The filename or url argument must be a string.
Error in imread (line 335) [filename, fmt_s, extraArgs] = parse_inputs(varargin{:});
Error in createiristemplate (line 39) eyeimage = imread(eyeimage_filename);
when changing the filename the error pops up as Undefined function or variable 'abc'. Undefined variable "abc" or function "abc.bmp". be kind to reply soon .thanks in advance
Hind Shalfeh
Hind Shalfeh 2016 年 5 月 7 日
I am having the same problem as you saikrishna osk ..if any one knows how to run it properly please help ..thanks.
monee
monee 2018 年 11 月 30 日
i haveing the same problem2 can u help plzzz hind shalfeh

サインインしてコメントする。

その他の回答 (0 件)

質問済み:

2014 年 2 月 12 日

コメント済み:

2018 年 11 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by