Cropping Image With Edge Detection Results

232 views
Skip to first unread message

Michael Alonge

unread,
Aug 2, 2016, 12:50:28 PM8/2/16
to scikit-image
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

François Boulogne

unread,
Aug 2, 2016, 1:10:57 PM8/2/16
to scikit...@googlegroups.com

Michael Alonge

unread,
Aug 2, 2016, 2:18:22 PM8/2/16
to scikit-image, fbou...@sciunto.org
Thank you, this looks like it's going to work great!
Reply all
Reply to author
Forward
0 new messages