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

조회 수: 4 (최근 30일)
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.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 6월 20일
편집: KALYAN ACHARJYA 2019년 6월 20일
  • 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!

Translated by