warp.volume_lookup#

warp.volume_lookup(
id: uint64,
i: int32,
j: int32,
k: int32,
dtype: Any,
) Any#
  • Kernel

Returns the value of voxel with coordinates i, j, k for a volume of type type dtype.

If the voxel at this index does not exist, this function returns the background value.