I am making a project on fingerprint verification in matlab in which I have made two files one is start file which is a script file (start.m) and another is a function file (fpmext.m) to verify minutiae details. Need to remove errors.

1 view (last 30 days)
I am making a project on fingerprint verification in MATLAB in which I have made two files: one is a start file which is a script file (start.m), and another is a function file (fpmext.m) to verify minutiae details. When I use the *.jpeg file the errors coming are:
Error in fpmext (line 10), binary_image=im2bw(imread(image));
Error in start (line 15), B=fpmext(Ieq2);
and when I use the *.tif file the errors are:
Error using histeq, Expected input number 1, I, to be two-dimensional.
Error in histeq (line 69), validateattributes(a,{'uint8','uint16','double','int16','single'},
Error in start (line 9), Ieq1=histeq(I1);imshow(Ieq1);
How do I get rid of all these errors?
Is there any procedure to link a function file with a script file or its enough that they are in one or same folder?
  45 Comments
N/A
N/A on 22 Apr 2019
When if select the image file fp1 the program start.m is giving proper output, when I select the image file fp2 the program is matching with fp1 instead of fp2, image file fp3 is getting matched with fp4 instead of fp3, image file fp4 is not getting matched with any in our record it should match fp4, image file fp5 is getting matched with fp1 instead of fp5. How to correct all these errors in the output in our program?
Walter Roberson
Walter Roberson on 22 Apr 2019
We do not know what your current code is.
Note: neither Image Analyst nor I have studied fingerprint analysis techniques. I do not intend to study those techniques, so I will not be offering algorithms assistance on the topic.... only assistance on matters such as how to put all the bounding boxes from regionprops into a single array.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 24 Mar 2019
Edited: Image Analyst on 24 Mar 2019
These might be caused by your images being color instead of gray scale. Look into rgb2gray().
Also, don't use image as the name of your variable since that's the name of a built in function.

More Answers (0)

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!