centroid of an image
Ältere Kommentare anzeigen
I want to find the centroid of an image.How to proceed?
1 Kommentar
Dipti S
am 1 Mär. 2019
Something like
stats1=regionprops(BW,'MajorAxisLength','MinorAxisLength','Centroid','Orientation','Area','EquivDiameter')
centers = stats1.Centroid;
Akzeptierte Antwort
Weitere Antworten (1)
Sean Lawson
am 14 Feb. 2012
0 Stimmen
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 Kommentare
Dhrubajyoti Das
am 25 Sep. 2013
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
am 25 Sep. 2013
Bearbeitet: Image Analyst
am 25 Sep. 2013
Start your own new discussion. And be sure to attach your image.
Dhrubajyoti Das
am 28 Okt. 2013
http://www.mathworks.com/matlabcentral/answers/104175-find-centroid-of-an-image this is the link. can you please help
Biswas Lohani V K
am 25 Jan. 2016
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
Kategorien
Mehr zu Region and Image Properties finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
