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

 Risposta accettata

use bwconncomp
Here is more info on that:

2 Commenti

But this function only provides the information, may I know howto use it to separate the objects?
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:

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by