What Is Wrong with My Fingerprint Feature Extraction Code?

  • Thread starter Thread starter babywitch
  • Start date Start date
  • Tags Tags
    Extraction
AI Thread Summary
The discussion revolves around a user's difficulty in executing code for fingerprint feature extraction after completing the pre-processing stage. The user successfully processes an image using several morphological operations, resulting in a skeletonized image displayed with imshow. However, the code fails in the second part when attempting to apply a function named 'minutie' using nlfilter, leading to an error indicating that 'minutie' is an undefined function. The solution suggested is to correct the function name to 'minutiae', which is likely the intended reference, thus resolving the error.
babywitch
Messages
1
Reaction score
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:
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:
Physics news on Phys.org
babywitch said:
fun=@minutie;
There is no such function as minutie. Maybe you are referring to minutiae? That should remove the error.
 
Back
Top