Help needed: Fingerprint Verification system
7 views (last 30 days)
Show older comments
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
Answers (1)
Image Analyst
on 5 May 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 Comments
Image Analyst
on 6 May 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.
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!