MATLAB Answers

Extract shapes from an image

1 view (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?

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!