Skip to content

Function: buildScatterField()

ts
function buildScatterField(opts): ScatterFieldResult;

Defined in: src/utils/ScatterFieldBuilder.ts:53

Build a dense FloatNeuroVol by splatting weighted points with an arbitrary kernel. Geometry must match the provided NeuroSpace (dim/spacing/origin/axes/affine). Optimized for overlays (combine max/sum) and supports buffer reuse to avoid GC.

Parameters

opts

ScatterFieldOptions

Returns

ScatterFieldResult

Released under the MIT License.