Plotting in 3D volume
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have done a mapping and at the end of the mapping I got a <1383x1544x344 double> matrix named M. Now I want to visualize it in 3D volume. But how can I do it?
I saw too many questions about this problem. But I could not make use of any them. Could you please suggest me a basic solution to my problem? I only need to unite all of those 344 slices and plot them in 3D volume.
I will be really grateful for your help.
Regards,
Amadeus
0 件のコメント
採用された回答
Walter Roberson
2012 年 12 月 11 日
Should the locations be treated as point-like objects, or should they have a definite volume (e.g., a sphere), or do they represent voxels ?
You have three spacial dimensions and one data dimension (the data value at each location.) How do you want to represent this 4th dimension? Across for x, up for y, perspective for slice number, and what for the data value?
5 件のコメント
Walter Roberson
2012 年 12 月 11 日
When you use 0 for an image location, that maps into the lowest color of the colormap, what-ever that happens to be. But it is still going to be a color. "transparent" is not a color.
Fortunately, in images you can use Alpha to indicate transparency, using 0 for the alpha to make a location completely transparent. However, images cannot have a Z component.
So what you have to do is create patch() or surface objects, as those can have Z components. And you have to put something image-like on the surface you crated. Which you can do by using texture mapping
その他の回答 (1 件)
Image Analyst
2012 年 12 月 11 日
For true volume visualization you'll need a real 3D program meant for that kind of thing, like Avizo http://www.vsg3d.com/avizo/overview. MATLAB does have some primitive things to do certain limited types of volume visualization. They're listed in the help in the section on 3D visualization. For more advanced things you'll need a program like Avizo or similar programs. Avizo blows MATLAB away when it comes to 3D visualization.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!