How to find bifurcation and termination points in fingerprint?

I want to find total no. of termination and bifurcation points on an fingerprint image which is filtered properly.

2 Comments

Please provide the details maths to find total no. of termination and bifurcation points.
so that we can help you to implement in Matlab.
[rows colm]=size(Thin_image);
% Avoid the boundary pixels
bifurcation=0
ridge=0
for i=2:rows-1;
for j=2:colm-1
sub_matrix=(Thin_image(i-1:i+1,j-1:j+1));
if sub_matrix(2,2)==0
sub_matrix=0;
else
sub_matrix=sum(sub_matrix(:))-1;
if sub_matrix==1
P=fprintf('it is a ridge termination');
i
j
ridge=ridge+1
else if sub_matrix==3
i
j
Q=fprintf('it is a bifurcation');
bifurcation=bifurcation+1
end
end
end
end
end
I have this code but in this it only shows limited no. of bifurcation point and 0 ridges.pls help

Sign in to comment.

 Accepted Answer

Skeletonize your binary image with bwmorph('skel') then use bwmorph('endpoints') and bwmorph('branchpoints') to find the end points and branch points (bifurcations).

More Answers (0)

Categories

Find more on Nonlinear Dynamics 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!