how to differentiate object in 3d image

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

Walter Roberson
Walter Roberson 2013년 2월 24일
Do you mean that the different objects in the image already have different colors? Are there ever two of the same color touching? Are there shadows, or is the illumination at an angle such that the (R,G,B) color triple for a given object will vary according to lighting ?
B
B 2013년 2월 24일
Its not the matter of color, in fact. Lets assume there is thresholded image, I need to identify the adjacent 1's which make different isolated objects, and so on
Walter Roberson
Walter Roberson 2013년 2월 24일
You want to do the coloring after the objects are separated out, and the data array is a 3D array of labels (and 0's) ?
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일

0 개 추천

Call bwlabeln() or bwconncomp() to do connected components labeling. Then call label2rgb().

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning for Image Processing에 대해 자세히 알아보기

질문:

B
B
2013년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by