getAffine
Compute the 2D affine transform between two triangles.
Parameters
three points describing the triangle in the source planar space. The tensor must be a point2 array (i.e., created with Tensor.Point2ArrayInitInfo) of size 3, or a multi-dimensional tensor of 2 channels, with dimensions = 1x3 or 3x1. The data type must be 32-/64-bit float.
three points describing the triangle in the affined planar space. The tensor must be a point2 array (i.e., created with Tensor.Point2ArrayInitInfo) of size 3, or a multi-dimensional tensor of 2 channels, with dimensions = 1x3 or 3x1. The data type must be 32-/64-bit float.
the required result, storing the affine matrix. The tensor must be a multi-dimension tensor of 1 channel and dimensions = 2x3. 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.