How to find Skeleton Image Region of Interest Eye,Nose and Mouth
Show older comments
Hi,,
I am new for Matlab , i have sample code which i have passes dynamic image read segmentation skeleton .Below code i am got skeleton Ending points shape . after that *i want to find Contour Tracing and ROI(Region of Interest) using skeleton image* .please let me know if any one how to get symmetry shape of face include Eye ,Nose and Mouth.
- BW = bwmorph(d2,'skel',Inf);
- figure,imshow(BW);
- % BW=bwmorph(d2,'branchpoints');
- [row,column] = find(BW);
- branchPts = [row column];
- endImg = bwmorph(BW, 'endpoints');
- [row column] = find(endImg);
- endPts = [row column];
- plot(branchPts(:,2),branchPts(:,1),'rx');
- plot(endPts(:,2),endPts(:,1),'*');
Answers (0)
Categories
Find more on Morphological Operations 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!