how to differentiate object in 3d image

1 次查看(过去 30 天)
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 个评论
B
B 2013-2-24
I have a 3d array of 0 and 1s, I want to identify different objects (1s).
Shaun VanWeelden
Shaun VanWeelden 2013-2-24
See Image Analysts answer below, its exactly what you want :)

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2013-2-24
编辑:Image Analyst 2013-2-24
Call bwlabeln() or bwconncomp() to do connected components labeling. Then call label2rgb().

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by