niimath functions change voxel intensity. The new function WASM function niimathx() extends niimath() by re-calculating the robust range. This should be faster than re-calculating the robust range in JavaScript. This function also uses the NIfTI header scl_slope and scl_inter to appropriately handle integer values.
niimathx()
extendsniimath()
by re-calculating the robust range. This should be faster than re-calculating the robust range in JavaScript. This function also uses the NIfTI header scl_slope and scl_inter to appropriately handle integer values.