finger detection from binary image?
9 views (last 30 days)
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
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
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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!