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!