Assign color to isosurface

10 views (last 30 days)
Sander
Sander on 28 Jun 2016
Commented: Karan Gill on 29 Jun 2016
Hi all,
I have a question. I have a volume segmented from an MRI. I also have specific color information of this MRI, stored in a 3D Matrix with the same size as the original MRI. I'd like to show a 3D volume of this segmentation with the colors assigned of the 3D color matrix.
I tried extracting the FaceVertexCData from the color matrix, but that did not seem to work. I tried changing the facecolor or edgecolor of the patch, but that variable only accepts one color I think.
Can anybody help me out? Thanks in advance.
  2 Comments
José-Luis
José-Luis on 28 Jun 2016
Could you show a minimum (non-)working example?
Karan Gill
Karan Gill on 29 Jun 2016
Funnily enough, the doc uses MRI to demonstrate coloring isosurface. Perhaps it'll be helpful to you: http://www.mathworks.com/help/matlab/visualize/techniques-for-visualizing-scalar-volume-data.html

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!