finger detection from binary image?
Show older comments

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
Manjiree Waikar
on 8 Sep 2017
Image Analyst
on 8 Sep 2017
I answered that below.
Ngin Kimlong
on 6 Apr 2018
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
Answers (1)
Image Analyst
on 29 Mar 2014
0 votes
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
Image Analyst
on 16 Mar 2016
Remove the clutter, like hang a sheet or cyc behind the person.
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!