MATLAB Answers

how to detect rough boundary of a object in a image

4 views (last 30 days)
Frank Jiang
Frank Jiang on 2 Mar 2018
Answered: Arun Mathamkode on 20 Mar 2018
I have a BW(black and white) image like this, and I am trying to detect the boundary in the center (as I have drawn in the second image). How should I program to get it?

  1 Comment

Sign in to comment.

Answers (1)

Arun Mathamkode
Arun Mathamkode on 20 Mar 2018
I think the morphological operations like erode and dilate will be useful in separating the central bell-shaped region from the rest white region. First, you may need to use a combination of imerode and imdilate for this. Once you have separated the central region you use the bwboundaries function to find the boundary.

  0 Comments

Sign in to comment.