How to find the largest area in this grayscale image with discontinuities in between?

4 views (last 30 days)
The largest part is at the bottom is a line, and it is a bone. I need to create a segmentation for it, which I have done. There are few other intensity pixels which should be removed, and I should get the bone as my final output. Please help me for this.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 20 Jun 2019
Edited: KALYAN ACHARJYA on 20 Jun 2019
  • Convert to binary image (Proper segmentation)
  • Finding the largest blob (bwlabel)
  • Sum of all pixels in largest blobs (binary image)
  • Area=Resut of step 3/ (rows*column of original image)

Community Treasure Hunt

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

Start Hunting!