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

Image Analyst
Image Analyst 2013년 10월 28일
편집: Image Analyst 2013년 10월 28일
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)?
Dhrubajyoti Das
Dhrubajyoti Das 2013년 10월 28일
I have attached the image.

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2013년 10월 28일

0 개 추천

댓글 수: 6

Image Analyst
Image Analyst 2013년 10월 28일
See attached file test.m below. It finds the centroid of the head in your image. Of course you know that the nose is not always guaranteed to under the centroid of the image don't you? Just think about it. Go here if you want to know how to robustly find features on a face: http://iris.usc.edu/Vision-Notes/bibliography/contentspeople.html#Face%20Recognition,%20Detection,%20Tracking,%20Gesture%20Recognition,%20Fingerprints,%20Biometrics
Dhrubajyoti Das
Dhrubajyoti Das 2013년 10월 29일
Sir, actually I am trying to implement a journal paper and the image is a thermal image. In a thermal image lower pixel value corresponds to lower thermal image. Can you please help me out.
Image Analyst
Image Analyst 2013년 10월 29일
The code I gave does 90% of that. What follows, and is clipped off, is what I said about that centroid not always being on the nose. I don't know what they plan on doing in that case because it's clipped off.
Dhrubajyoti Das
Dhrubajyoti Das 2013년 10월 30일
I am uploading the full journal paper. From the paper, i just want to find the centroid part only. But i am not able to implement the formula for centroid from that paper (Face Localisation, 2.1). Sir, can an you please take a look. Thanks in advance.
Image Analyst
Image Analyst 2013년 10월 30일
Sorry but I doubt I'll have time for that.
Dhrubajyoti Das
Dhrubajyoti Das 2013년 10월 31일
Anyway sir thank you very much for your time. I have found that your's one is more efficient to work with in MATLAB.

댓글을 달려면 로그인하십시오.

komal
komal 2019년 5월 31일

0 개 추천

Sir please tell me how to find the centroid of the skin region in an image

댓글 수: 1

Image Analyst
Image Analyst 2019년 5월 31일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2013년 10월 28일

댓글:

2019년 5월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by