Extract shapes from an image

4 views (last 30 days)
Ahmed Saadi
Ahmed Saadi on 2 May 2020
Answered: Ajay Pattassery on 5 May 2020
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?

Answers (1)

Ajay Pattassery
Ajay Pattassery on 5 May 2020
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!