70
70
# combines transformation and scaling into one operation for speed
71
71
X, pose = poseutil.transformPoints(X, pose, scale=1.0/resolution)
72
72
#out[:, :3] = np.round(X)
78
78
def voxelstopoints(A, resolution):
79
79
""" Converts an array of integers voxel indices to an array of points """
80
80
# TODO make this work for alternative lattices
84
85
'''Add adjacent voxels, effectively blurring or smearing occupied voxel