finger detection from binary image?

hi, im working real time hand recognition, i obtained hand clearly and i want to obtain fingers from this picture, can anyone help me?

3 Comments

Sir can you please tell me how to find centre and hand extremeties of hand image. I have attached the respective image here. Actually I want to automatically extract the region of vein patterns from the back of the palm. Please help me with the code.
I answered that below.
I = imread('0002.png'); [L,N] = superpixels(I,1000); BW = boundarymask(L); % imshow(imoverlay(I,BW,'cyan'),'InitialMagnification',100)
figure
% Define centroid
Ibw = im2bw(I);
Ibw = imfill(Ibw,'holes');
Ilabel = bwlabel(Ibw);
stat = regionprops(Ilabel,'centroid');
[L,N] = superpixels(I,500)
BW = boundarymask(L);
imshow(imoverlay(I,BW,'cyan'),'InitialMagnification',100); hold on;
for x = 1: numel(stat)
plot(stat(x).Centroid(1),stat(x).Centroid(2),'ro');
end

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 29 Mar 2014
There are 3 hand segmentation apps on Dirk's File Exchange page that looks like they will help you: http://www.mathworks.com/matlabcentral/fileexchange/index?term=authorid%3A29180

1 Comment

Remove the clutter, like hang a sheet or cyc behind the person.

Sign in to comment.

Asked:

on 29 Mar 2014

Commented:

on 6 Apr 2018

Community Treasure Hunt

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

Start Hunting!