sample_path
compute.sample_path(path_indices, points_per_path=100)Resample a voxel path to evenly spaced points using spline interpolation.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| path_indices | a numpy array of shape (n,3) where n is the number of points in the path | required | |
| points_per_path | The number of points to sample along the path, defaults to 100 (optional) | 100 |
Returns
| Name | Type | Description |
|---|---|---|
| a list of points that are evenly spaced along the path. |