vreg.Volume3D.transform#
- Volume3D.transform(transform, params, **kwargs)[source]#
Transform a volume
- Parameters:
transform (str, optional) – Coordinate transformation. Possible values are ‘translate’, ‘rotate’, ‘stretch’, ‘transform_rigid’, ‘transform_affine’.
params (array-like, optional) – Initial parameters of the transformation. Defaults to None.
- Returns:
transformed volume
- Return type: