FUNCTION REFERENCE

orthosliceViewer

Display orthogonal XY, YZ and XZ slices of a 3-D volume.

Display orthogonal XY, YZ and XZ slices of a 3-D volume.

Syntax

o = orthosliceViewer(V)

Syntax

o = orthosliceViewer(V, Name=Value)

Syntax

o = orthosliceViewer(V, 'Name', Value)

Accepts 2-D or 3-D numeric or logical arrays. Supported properties: SliceNumbers ([x y z] default centres), CrosshairEnabled ('on' default or 'off'), Colormap (gray(256) default), DisplayRange (data limits default; [] for auto), ScaleFactors ([1 1 1] default), Parent, Visible and Tag.

Example

V = reshape(1:27, 3, 3, 3); o = orthosliceViewer(V, 'SliceNumbers', [1 2 3], 'CrosshairEnabled', 'on');

Differences from MATLAB: 4-D RGB volumes and SliderValueChanging/SliderValueChanged listeners are not supported yet.

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