Find centroid of an image?
14 views (last 30 days)
Show older comments
I want to find the centroid of an image mainly the face. The centroid should be on the nose of the face but I am not able to find it. Please help. Thanks in advance.
2 Comments
Image Analyst
on 28 Oct 2013
Edited: Image Analyst
on 28 Oct 2013
Can you attach the image again - I accidentally deleted it when I tried to click on it's name. Very sorry about that. Randy - can you make it pop up a confirmation before deleting an attachment so this doesn't happen again (this is now the second time I've accidentally done that)?
Answers (2)
Image Analyst
on 28 Oct 2013
See my image segmentation tutorial http://www.mathworks.com/matlabcentral/answers/contributors/1343420-image-analyst/answers
6 Comments
komal
on 31 May 2019
Sir please tell me how to find the centroid of the skin region in an image
1 Comment
Image Analyst
on 31 May 2019
Try the color thresholder app on the Apps tab of the tool ribbon. Export the function then apply it to your image. Take the resulting binary image and pass it to regionprops() like I did in my tuorial.
See Also
Categories
Find more on Get Started with MATLAB 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!