How to find the point on the center of nose from an image ?
13 ビュー (過去 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];
4 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!