overlayVolume

版本 2.17.705.0 (109.3 KB) 作者: J.A. Disselhorst
Displays 3 orthogonal slices from a 3D volume with optional overlay.
1.1K 次下载
更新时间 2017/7/5

查看许可证

overlayVolume interactively shows three orthogonal slices from a 3D volume, with optional overlay. Display ranges, colormaps, transparency and the pixelsize can be changed.
Volumes of interest can be drawn, and plotted. Scrolling through the images is possible with the mouse wheel.
The function is especially useful for the display of medical images.
Try "help overlayVolume" for some examples.

Usage:
- OVERLAYVOLUME(V1, V2);
Displays a 3D datasets V1, and an overlay dataset V2, with default display settings.4D datasets are also supported.
- OVERLAYVOLUME(V1);
Displays one 3D dataset VOL1
- OVERLAYVOLUME(...,'p',V);
Displays 3D datasets with addional user specified display settings. Settings should be provided as parameter name - value pairs.

Optional parameters:
- backRange: Display range of background data as [lower, upper]. Default: [lowest value in data, highest value]
- backMap: Colormap of the background as Nx3 matrix or standard colormap name (e.g., 'jet'). Default: gray(256)
- overRange: Display range of overlay data as [lower, upper]. Default: [lowest value in data, highest value]
- overMap: Colormap of the overlay as Nx3 matrix or cmap name. Default: jet(256)
- alpha: Transparency of the overlay as scalar between 0 and 1. Default: 0.5
- maskRange: Range of values in the overlay that will be displayed as [LO, HI]. That is, all values lower than LO, and all values higher than HI will not be shown. Default: []
- pixelSize: Pixel size of the three dimensions as [x,y,z]. Default: [1 1 1]
- title: Adds a name to the windows [char array]

引用格式

J.A. Disselhorst (2024). overlayVolume (https://www.mathworks.com/matlabcentral/fileexchange/39460-overlayvolume), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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

Almost complete rewrite of the code, it's faster now, and supports volumes of interest and different view modes

1.2.0.0

-

1.0.0.0