FUNCTION REFERENCE

volshow

Display a 3-D volume with an orthographic raycaster.

Display a 3-D volume with an orthographic raycaster.

Syntax

v = volshow(V)

Syntax

v = volshow(V, Name=Value)

Syntax

v = volshow(V, 'Name', Value)

Accepts 3-D logical, integer, single or double arrays. Supported properties: Data, RenderingStyle ('VolumeRendering', 'MaximumIntensityProjection', 'MinimumIntensityProjection', 'Isosurface', 'SlicePlanes'), Colormap, Alphamap, DataLimits, IsosurfaceValue, IsosurfaceColor (default [0.7 0.7 0.7]), SlicePlaneValues (k-by-4 [a b c d] planes, default three centre planes), Transformation (voxel spacing scale), Visible, Parent, OverlayData (empty default, or numeric/logical/categorical array matching Data size), OverlayRenderingStyle ('LabelOverlay' default or 'VolumeOverlay'), OverlayColormap, OverlayAlphamap (scalar or vector in [0, 1], default 0.5), and OverlayDisplayRange (for 'VolumeOverlay').

Parent is a live scalar axes handle. Assign v.Parent or use set(v, 'Parent', ax) to move the volume to another axes.

Example

V = reshape(1:27, 3, 3, 3); v = volshow(V, RenderingStyle='MaximumIntensityProjection');

Example

V = reshape(1:27, 3, 3, 3); v = volshow(V, RenderingStyle='Isosurface', IsosurfaceValue=14, IsosurfaceColor=[0.2 0.6 0.9]);

Differences from MATLAB: CPU orthographic raycaster with a single headlight for Isosurface.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.