Skip to content

Function: extractSagittalSlice() ​

ts
function extractSagittalSlice(vol, worldPoint): NeuroSlice;

Defined in: src/volume/orthogonalSlices.ts:136

Extract a sagittal slice at the given world-space point.

A sagittal slice is a vertical slice that divides the brain into left and right portions, showing anterior-posterior and inferior-superior dimensions.

Parameters ​

vol ​

NeuroVol

The 3D volume to extract slice from

worldPoint ​

number[]

World-space coordinates [x, y, z] at which to extract slice

Returns ​

NeuroSlice

2D sagittal slice at the specified x-coordinate

Remarks ​

The sagittal slice is extracted along the x-axis (left-right axis), showing the y-z plane (anterior-posterior and inferior-superior).

Released under the MIT License.