Function: mapValues()
ts
function mapValues(x, lookup): NeuroVol;Defined in: src/stats/stats.ts:813
Map values in a volume using a lookup table.
Replaces values in the volume according to a lookup map.
Parameters
x
The volume to transform
lookup
Map<number, number>
Map of old values to new values
Returns
Volume with mapped values