Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

My goal: How to (1) construct 3D image for visualization. (2) how to write 3D array or image into binary raw file.

Is there a way to accomplish this in Mathematica?

Alternative_Answer for: (1)

ss = Map[ImageData, slices];
ListContourPlot3D[ss, Mesh -> None, Contours -> Automatic]
I think 1st part of the question was answered here: mathematica.stackexchange.com/questions/6247/… –  Vitaliy Kaurov Jun 1 '12 at 18:53

1 Answer 1

up vote 10 down vote accepted

As to your first question:

There's a very nice example of volume rendering with medical images in the documentation (Applications section, item Volume Rendering) that seems to be applicable.

Mathematica graphics

Mathematica graphics

Thanks for the link. –  Jay May 30 '12 at 20:58
I'm wondering how to make this. –  Szabolcs May 30 '12 at 21:10
Alternative approach: I was able to use an example by "halirutan": filenames = FileNames[]; ch[i_] := ImageData[Import[filenames[[i]]], "Bit"]; ss = Table[ch[i], {i, 1, 20}]; ListContourPlot3D[ss, Mesh -> Automatic] –  Jay May 30 '12 at 21:29
@Szabolcs, here is my extremely slow volume rendered in mathematica, coordinates are slightly offset, gist.github.com/2840409. enjoy. –  s0rce May 31 '12 at 2:10

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .