How to find the point on the center of nose from an image ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ali Zeeshan
le 16 Jan 2014
Commenté : Ali Zeeshan
le 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 commentaires
Réponse acceptée
Image Analyst
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!