vol3d v2

版本 1.2.2.0 (3.4 KB) 作者: Oliver Woodford
3-d volume (voxel) rendering
19.9K 次下载
更新时间 2018/5/24

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

An update to Joe Conti's popular vol3d function, allowing voxel colors and alpha values to be defined explicitly. Functionality is increased, but the function is entirely backwards compatible.
In cases where voxels can be any RGB color, use:
vol3d('CData', cdata);
where cdata is an MxNxPx3 array, with RGB color along the 4th dimension. In cases where color and alpha values are highly independent, specify an MxNxP alphamatte as follows:
vol3d('CData', cdata, 'Alpha', alpha);
This function amends the original (as little as possible) with the full permission of Joe Conti. The original function, which came with some additional tools for editing colormaps and alphamaps, is sadly no longer available.

The way this rendering approach works is to render the six sides of each voxel as a translucent plane.

引用格式

Oliver Woodford (2024). vol3d v2 (https://www.mathworks.com/matlabcentral/fileexchange/22940-vol3d-v2), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 3-D Volumetric Image Processing 的更多信息
致谢

启发作品: Volumetric 3, VOXview, pcolor3, TACTICS Toolbox

Community Treasure Hunt

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

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

Add comment on rendering technique.

1.2.1.0

Update description to acknowledge the disappearance of the original vol3d.

1.2.0.0

Avoid destroying other vol3d objects when rerendering. Added a demo.

1.0.0.0