Here is a segmented volume with 96 different features. I wish to visualize each feature with a distinct color. I followed this documentation and used
Blend to assign colors to the features. However, when I check each individual feature, I find that in some cases the feature is assigned with one color while the rendered output shows a different color.
I think the use of
Blend is the problem here.
The alternative that I can think of is to first apply
KMeans and then use
Colorize. However, using
ClusteringComponents on a segmented data is a redundant process and it takes a long time and moreover, there is no guarantee that it will return all the segmented (initial) parts.
How can I render this volume properly so that each segment gets rendered with the same color that is assigned to that segment?