how to differentiate object in 3d image
Show older comments
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 Comments
Walter Roberson
on 24 Feb 2013
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
on 24 Feb 2013
Walter Roberson
on 24 Feb 2013
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
on 24 Feb 2013
Shaun VanWeelden
on 24 Feb 2013
See Image Analysts answer below, its exactly what you want :)
Accepted Answer
More Answers (0)
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!