Azzera filtri
Azzera filtri

how to differentiate object in 3d image

2 visualizzazioni (ultimi 30 giorni)
B
B il 24 Feb 2013
there is 3d image with random objects (stack of 2d images). How is it possible to identify different objects with different color and assign different indices for isolated objects with different colors in 3d
  5 Commenti
B
B il 24 Feb 2013
I have a 3d array of 0 and 1s, I want to identify different objects (1s).
Shaun VanWeelden
Shaun VanWeelden il 24 Feb 2013
See Image Analysts answer below, its exactly what you want :)

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 24 Feb 2013
Modificato: Image Analyst il 24 Feb 2013
Call bwlabeln() or bwconncomp() to do connected components labeling. Then call label2rgb().

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by