What Is Wrong with My Fingerprint Feature Extraction Code?

  • Thread starter Thread starter babywitch
  • Start date Start date
  • Tags Tags
    Extraction
Click For Summary
SUMMARY

The discussion centers on an issue with fingerprint feature extraction code, specifically during the execution of the nlfilter function in MATLAB. The user encounters an error due to the undefined function 'minutie', which should be corrected to 'minutiae' to resolve the problem. The first part of the code, which includes image reading and preprocessing using functions like im2bw and bwmorph, executes without issues. The error arises in the second part when attempting to apply the nlfilter function with an incorrect function reference.

PREREQUISITES
  • Familiarity with MATLAB programming and syntax
  • Understanding of image processing concepts, particularly feature extraction
  • Knowledge of morphological operations in image processing
  • Experience with function handles and anonymous functions in MATLAB
NEXT STEPS
  • Research the correct implementation of feature extraction functions in MATLAB
  • Learn about morphological operations in image processing using MATLAB
  • Explore the use of nlfilter and custom functions in MATLAB
  • Investigate common errors in MATLAB related to undefined functions and how to troubleshoot them
USEFUL FOR

Students and researchers working on image processing projects, particularly those focusing on biometric systems and fingerprint analysis, as well as MATLAB programmers seeking to enhance their coding skills in image feature extraction.

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.