How to find the point on the center of nose from an image ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ali Zeeshan
am 16 Jan. 2014
Kommentiert: Ali Zeeshan
am 21 Jan. 2014
I have detected the nose from an image , nose i want a center point of that nose part , can someone help me in this ?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 16 Jan. 2014
By "detected" I assume you have a binary image that says whether a pixel is a nose pixel or not. So just pass that binary image into regionprops() and ask for the Centroid, or WeightedCentroid.
measurements = regionprops(binaryImage, 'Centroid', 'WeightedCentroid');
allCentroids = [measurements.Centroid];
allWeightedCentroids = [measurements.WeightedCentroid];
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!