VOXview

버전 2.0.0 (528 KB) 작성자: Tim
Voxelized volume visualization for 3D and 3D RGB arrays
다운로드 수: 492
업데이트 날짜: 2021/3/26

라이선스 보기

VOXview is an easy-to-use function for visualizing small 3D scalar or RGB (i.e. MxNxO x3) arrays. This function was specifically designed to give the user independent control of voxel alpha, intensity, and color values, something that is currently not possible when using MATLAB's "volshow" command.

Example:
VOXview(rand(50, 50, 50, 3)); % Generate volume filled with voxels having random RGB values.

Additionally, the function gives users direct control of:
- Colormaps (for scalar fields)
- Patch properties (e.g. edge colors, reflectivity options)
- Alpha threshold (faces below this value are left un-drawn)
- Multiple types of transparency computation methods
- Voxel size
- Bounding boxes
And lastly it provides the patch-handle for the final object for efficient manipulation after the fact.

Run VOXview_demo.m for demonstrations of different input options.
Run Lamp_demo for an animation demonstration exploiting voxel patch handles.

Important performance note:
VOXview has been updated to use texture mapping, so like vol3d it can now render much larger volumes (e.g. 500 voxels on edge). This enables simple colormap updating as well, however there may be some backward compatibility issues. To improve backward compatibility set texturemapping to false, which will render the volume using a single call to patch as done originally. This enables some other features to be used and simplifies patch property modification using the returned handle, however the rendering slows down considerably for large volumes and in this mode is not suggested for volumes larger than 100 pixels on edge.

Acknowledgements:
vol3d v2 inspired the inclusion of texture mapping as an option.

인용 양식

Tim (2024). VOXview (https://www.mathworks.com/matlabcentral/fileexchange/78745-voxview), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

도움 받은 파일: vol3d v2

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
2.0.0

Added texture mapping to greatly improve the renderable size of volume.
Preserved a patch-based version for plotting edges of voxels and backward compatibility.
Updated normalization method.

1.1

- Calling colorbar now generates a colorbar with accurate scale and correct colormap.
- Bug fix: NxMxOx3 RGB volumes previously crashed with fixed alpha

1.0.1

Updates / corrections to function description

1.0.0