Hello,
I have produced a 2D binary edge map from the canny edge detection tool that identifies circle-like edges in my photo.
My question is if my binary edge map has many edges that enclose a space, how can I use this map to crop the original photo to make many smaller photos of those enclosed spaces.
In the image above, one can see 6 circle-like objects whose perimeter has been detected. From this, I would like to create 6 arrays that represent the portions of the original image enclosed by these edges.
What tools might I use to achieve this?
Thank you