voxel2space¶
- formatreader.voxel2space(transformation_matrix, voxel_coordinates)¶
Transforms the coordinates in voxel CSYS to real world, using the transformation matrix generated using the get_val_pos() function.
- Parameters:
transformation_matrix (Numpy array) – Transformation matrix
voxel_coordinates (Numpy array) – Coordinates of the points in voxel CSYS
- Returns:
space_coordinates – Coordinates of the points in real world CSYS
- Return type:
Numpy array