How to find the point on the center of nose from an image ?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2014-1-16
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];
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!