vreg.Volume3D.transform_to#
- Volume3D.transform_to(target, transform, params, **kwargs)[source]#
Transform a volume to a target volume
- Parameters:
target (vreg.Volume3D) – Target volume
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: