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 Comment

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 !!!

Sign in to comment.

 Accepted Answer

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 Comments

me run the createiristemplate.m file but its givee me error
Error using createiristemplate (line 39)
Not enough input arguments.
now what am doinggg????
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?
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
I am having the same problem as you saikrishna osk ..if any one knows how to run it properly please help ..thanks.
i haveing the same problem2 can u help plzzz hind shalfeh

Sign in to comment.

More Answers (0)

Asked:

on 12 Feb 2014

Commented:

on 30 Nov 2018

Community Treasure Hunt

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

Start Hunting!