Function: float32arrayToInt16()
float32arrayToInt16(
float32Array):Int16Array
Defined in: src/formatting/utils.ts:11
Converts scalar voxel values to signed 16-bit integers.
Parameters
float32Array
Float32Array
Returns
Int16Array
Remarks
Typical CT HU ranges fit in int16, and this conversion reduces payload size compared to float32 voxel buffers.