How to clear all the connected pixel in order to separate every objects

1 view (last 30 days)

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 20 Oct 2014
use bwconncomp
Here is more info on that:
  2 Comments
TAY
TAY on 20 Oct 2014
But this function only provides the information, may I know howto use it to separate the objects?
Mohammad Abouali
Mohammad Abouali on 20 Oct 2014
Once you run the bwconncomp all the information about each object is there.
If you want to get more information you can pass the results to regionprops
perhaps this would be also helpful:

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!