centroid of an image
이전 댓글 표시
I want to find the centroid of an image.How to proceed?
댓글 수: 1
Dipti S
2019년 3월 1일
Something like
stats1=regionprops(BW,'MajorAxisLength','MinorAxisLength','Centroid','Orientation','Area','EquivDiameter')
centers = stats1.Centroid;
채택된 답변
추가 답변 (1개)
Sean Lawson
2012년 2월 14일
0 개 추천
Broad question, if the image is your input, simply find the center of the image. But I assume you are asking a more complicated question: like find the centroid of a specific object in an image? if so, need to segment the object out of the image, then find the center point.
댓글 수: 4
Dhrubajyoti Das
2013년 9월 25일
I want to find the centroid of a face but the face is not in the center of the image... How to find the centroid. Can you please give an answer
Image Analyst
2013년 9월 25일
편집: Image Analyst
2013년 9월 25일
Start your own new discussion. And be sure to attach your image.
Dhrubajyoti Das
2013년 10월 28일
http://www.mathworks.com/matlabcentral/answers/104175-find-centroid-of-an-image this is the link. can you please help
Biswas Lohani V K
2016년 1월 25일
HEllo everyone, What is the syntax for this bb = stats(object).BoundingBox; bc = stats(object).Centroid;
could you please define how this code works
Thank you
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
