Extract shapes from an image

4 次查看(过去 30 天)
Ahmed Saadi
Ahmed Saadi 2020-5-2
I have this image I want to identify the boundaries of the grey shapes and then save the outputs (the boundaries) in an image. Any advise?

回答(1 个)

Ajay Pattassery
Ajay Pattassery 2020-5-5
Edge Detection can be used to identify the boundaries. Refer here for more information.
As a starting point try imbinarize. It uses Otsu's method for segmentation.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by