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 comentario

badar bawani
badar bawani el 6 de Mzo. de 2014
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 !!!

Iniciar sesión para comentar.

 Respuesta aceptada

Nitin
Nitin el 6 de Mzo. de 2014

0 votos

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 comentarios

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 el 10 de Ag. de 2014
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 el 24 de Feb. de 2016
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 el 7 de Mayo de 2016
I am having the same problem as you saikrishna osk ..if any one knows how to run it properly please help ..thanks.
monee
monee el 30 de Nov. de 2018
i haveing the same problem2 can u help plzzz hind shalfeh

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 12 de Feb. de 2014

Comentada:

el 30 de Nov. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by