Image3

版本 1.0.0.0 (1.4 KB) 作者: Knut
A simple function for displaying 3-d arrays similar to how image() can be used for 2-d arrays.
1.1K 次下载
更新时间 2011/3/11

查看许可证

I use image() a lot for quickly getting an overview of what a 2-d array contains. I have searched through the Volume visualization guides without finding anything similar for 3-d arrays, so I have made one myself.

The approach is very simple: make a "box" out of 6 patches centered at each datapoint, and multiply each walls opacity by the corresponding array elements numeric value.

Caveats:
1. As the number of elements grows, the memory usage and plotting system cpu usage quickly gets too large
2. This is a crude approximation of "voxels", but the amount of blocked light is proportional to the number of wall transitions, not the real distance.

引用格式

Knut (2024). Image3 (https://www.mathworks.com/matlabcentral/fileexchange/30721-image3), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Images 的更多信息
致谢

启发作品: pcolor3

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0