How can i find out if two minutiae points in a fingerprint image are on the same ridge line?

3 views (last 30 days)
Please i need help on how to know if two minutiae points on a fingerprint image are on the same ridge so as to be able to remove fake minutiae points from the fingerprint.
So I have done the extraction of minutiae points in the fingeprint image but how can i know if two of these minutiae points are on the same ridge line i.e. the same white line.
Thanks.
  2 Comments
darova
darova on 24 Mar 2020
What about bwlabel? You can separate each 'white' line and loop through all individually
Check if one has 2 points
Fego Etese
Fego Etese on 24 Mar 2020
Edited: Fego Etese on 24 Mar 2020
Thanks for your help on this, if i have two white points on the image how can i know with this method you've proposed that they are either on the same line or on different white lines? I mean if you could please just explain to me how the bwlabel can help me do this, I will be very grateful.
Thanks

Sign in to comment.

Accepted Answer

darova
darova on 24 Mar 2020
Simple example
I0 = imread('image.jpg');
I1 = ~im2bw(I0);
I2 = bwmorph(I1,'thin',inf);
I3 = bwareaopen(I2,30); % remove lines bigger 30 pixels
[L,n] = bwlabel(I3); % label each region
for i = 1:n
Ic = L==i; % find region
Ib = bwmorph(Ic,'branchpoints'); % branch/minutae points
[y,x] = find(Ib); % find coordinates minutae points
II = cat(3,Ic,I3,I3*0);
imshow(II,'initialmagnification','fit')
hold on
plot(x,y,'or')
hold off
pause(1)
end
I used attached image. So how do you want to remove points? And which one?
  14 Comments
Image Analyst
Image Analyst on 24 Mar 2020
Yes, if L(row1, col1) is the same as L(row2, col2) then they are on the same ridgeline, otherwise they are on different ridgelines.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!