Skip to content

Function: extractCoronalSlice()

ts
function extractCoronalSlice(vol, worldPoint): NeuroSlice;

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

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

A coronal slice is a vertical slice that divides the brain into anterior and posterior portions, showing left-right 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 coronal slice at the specified y-coordinate

Remarks

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

Released under the MIT License.