- #1
babywitch
- 1
- 0
Hi, I am currently doing my fyp on fingerprint feature extraction. I am facing a problem inexecuting the code. I'm done with de pre-processing stage on enhancement and so now I’m stuck while using this particular code..
this is the first part:
works perfectly fine.
However, the second part fails :
What is wrong?
this is the first part:
Matlab:
A = imread('sri2.tif');
[im_row,im_col] = size(A);
binary=im2bw(A);
notbinary=not(binary);
p = bwmorph(notbinary,'clean');
q = bwmorph(p,'fill');
r = bwmorph(q,'skel',Inf);
figure;
imshow(r);
works perfectly fine.
However, the second part fails :
Matlab:
>> fun=@minutie;
r1=nlfilter(r,[3 3],fun);
Matlab:
error : ? Error using ==> feval
Undefined function or method 'minutie' for input arguments of
type 'logical'.
Error in ==> nlfilter at 58
b = mkconstarray(class(feval(fun,aa(1+rows,1+cols),params{:})),
0, size(a));
What is wrong?
Last edited by a moderator: