How to get the two biggest objects/blobs from a binary image?

I have a binary image having 3 or more blobs...I need to display an image which displays only the two biggest(biggest in terms of area) blobs while rejectingrejecting others....how can I do this?

More Answers (0)

Asked:

on 19 Jul 2015

Commented:

on 20 Jul 2015

Community Treasure Hunt

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

Start Hunting!