Visualization of a mhd color file

Dear All,

Could you please provide a VTK script to read and visualize in color a .mhd file of MET_UCHAR_ARRAY of 3 dimensions (RGB)?


Luis Gonçalves

As a starter you may like to look at these examples: these all use .mhd files. Also may give you more ideas, in this example the individual organs are assigned different colours. Addidionally look at:

Sorry, I forget that I want my examples in Python. Thanks.

If you look at the code on the web page there will be a link to a Python example, if it exists. From memory I think there are corresponding Python examples for most of those examples that I gave you.