Extract shapes from an image

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.

Asked:

on 2 May 2020

Answered:

on 5 May 2020

Community Treasure Hunt

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

Start Hunting!