makeTransform
Compute the 4x4 transform matrix for translation, rotation and scale.
Parameters
an optional input, for the rotation part of the transform. The rotation is expressed as a rotation vector. Hence, it must be a multi-dimensional tensor of 1 channel, dimensions = 1x3 or 3x1. If provided, the data type should be 32-/64-bit float. If not provided, the rotation part of the transform matrix will be identical.
an optional input, for the translation part of the transform. It must be a multi-dimensional tensor of 1 channel, dimensions = 1x3 or 3x1. If provided, the data type should be 32-/64-bit float. If not provided, the translation part of the transform matrix will be all zeros.
an optional input, for the scale part of the transform. It must be a multi-dimensional tensor of 1 channel, dimensions = 1x3 or 3x1. If provided, the data type should be 32-/64-bit float. If not provided, the scale will be 1.0 along all directions.
the required result to store transform matrix. It must be a multi-dimensional tensor of 1 channel, 2 dimensions: 4x4. The data type must be 32-/64-bit float.
Throws
If the usage is not allowed by the SpatialML run-time Framework, or if the framework encounter internal error and cannot perform the requested behavior.