How do find edge parameters after finding edge using edge detection algorithms in matlab??
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lets consider we have an image of an eye. we have used edge detection algorithm and found edge of the iris. Now I just want to make the background which is behind the edge of iris as dark(0) and within edge as bright(1). How can we get the edge parameters?
0 commentaires
Réponses (1)
Shreeya
le 22 Fév 2024
According to the use case specified by you, the edge of the iris seems like a connected component, in refernce to which the background and foreground need to be seperated. The regionprops function in MATLAB can be used for this. The "FilledImage" input property fills in all the pixles inside the connected component. You can learn more about the function using the link below:
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!