How do find edge parameters after finding edge using edge detection algorithms in matlab??
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Shreeya
on 22 Feb 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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!