Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How to extract pixel values of eye from the face?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have done the following so far:
1. Performed background removal of the image.
2. Converted image to grayscale.
3. Performed K-means clustering over the image.
3. Done thresholding, so I get a binary image (with the hair, eyebrows, and eyes black, and some region of the lips/chin, while the rest of the face is white).
4. Connected component labelling over the entire image, and plotted them using the plot function.
Now the final output plots the components for the eyes exactly, but how do I extract the pixel values of these components? Because my program captures images through the video, the number of components is different everytime, and so is their area. So what should I do?
Please help me out! Really urgent!
1 commentaire
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!