Cropping Image With Edge Detection Results
François Boulogne
fboulogne at sciunto.org
Tue Aug 2 13:10:53 EDT 2016
Hi Michael,
I think you want to label your features
(http://scikit-image.org/docs/dev/auto_examples/segmentation/plot_label.html#sphx-glr-auto-examples-segmentation-plot-label-py)
and then use their properties
(http://scikit-image.org/docs/dev/auto_examples/segmentation/plot_regionprops.html#sphx-glr-auto-examples-segmentation-plot-regionprops-py).
With that, you can crop the way you want. You can have a look to this
example:
https://github.com/scikit-image/skimage-demos/tree/master/digits_recognition
where I separated digits on images like this one:
https://github.com/scikit-image/skimage-demos/blob/master/digits_recognition/modern_digits_to_detect/small00000000.png
Best,
--
François Boulogne.
http://www.sciunto.org
GPG: 32D5F22F
More information about the scikit-image
mailing list