How do find edge parameters after finding edge using edge detection algorithms in matlab??
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Shreeya
2024-2-22
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!