MATLAB: How to find the point on the center of nose from an image

digital image processingImage Processing Toolboxnose detection

I have detected the nose from an image , nose i want a center point of that nose part , can someone help me in this ?

Best Answer

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];
Related Question