Help needed: Fingerprint Verification system

7 vues (au cours des 30 derniers jours)
Shiza
Shiza le 5 Mai 2012
I am using this code to use in my project. Fingerprint Verification http://www.comp.hkbu.edu.hk/~vincent/resTool.htm
But I have to modify it as I don;t have to use the user interface in my system. I have just to extract Minutiae by executing single .m file. I have tried to sum up it in one file but the Minutiae extraction file of this project makes the problem as I am unable to pass it the desired argument.
[end_list1,branch_list1,ridgeMap1,edgeWidth]=mark_minutia(o1,o1Bound,o1Area,w);
//oBound1 and o1Area are undeclared as it is getting it from the interface but I don’t have to use any interface.My effort code is
%main file
image1=readimage('101_1.tif');
figure,imshow(image1),title('Original image');
%image1=loadimage;
direction(image1,16);
%drawROI(image1,o1Bound,o1Area);
image1=histeq(uint8(image1));
figure,imshow(image1,[]),title('histogram');
image1=adaptiveThres(double(image1),32);
figure,imshow(image1,[]),title('adaptive thershold');
W=str2double(char(0.45));
image1=fftenhance(image1,W);
figure,imshow(image1,[]),title('fftehancement');
%[end_list1,branch_list1,ridgeMap1,edgeWidth]=mark_minutia(o1,o1Bound,o1Area,w);
%show_minutia(o1,end_list1,branch_list1);
%[pathMap1,real_end1,real_branch1]=remove_spurious_Minutia(o1,end_list1,branch_list1,o1Area,ridgeMap1,edgeWidth);
%show_minutia(o1,real_end1,real_branch1);
%W=inputdlg('file name');
%W=char(W);
%save(W,'real_end1','pathMap1','-ASCII');
And this code is the replacement of file start_gui_interface.m of this project

Réponses (1)

Image Analyst
Image Analyst le 5 Mai 2012
The solution is to pass it the desired arguments. I don't know why you can't (you didn't say) but if you want to run the function, you need to.
  3 commentaires
Shiza
Shiza le 6 Mai 2012
Can you edit this function mark_minutia.m according to my requirement. Or give me any suggestion that how I can pass the desired arguments statically...
Image Analyst
Image Analyst le 6 Mai 2012
They are not getting it from the interface. Ignore this line:
//oBound1 and o1Area are undeclared as it is getting it from the interface
It should read:
//oBound1 and o1Area are passed in via the input argument list.
Where you call mark_minutia() can get those values from anywhere: from the GUI, or from another function, or just hard code in some numbers. It doesn't matter. So just go ahead and call it with the numbers/values that you want. There is nothing to do. There are no changes required to get it to do what you want.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by