applyAffinePoint
Apply the affine transform on 2D points rather than 2D images.
Parameters
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. You can use the result from getAffine operation here.
points to be transformed. The tensor must be a point2 array (i.e., created with Tensor.Point2ArrayInitInfo) of size N, or a multi-dimensional tensor of 2 channels, with dimensions = 1xN or Nx1. The data type must be 32-/64-bit float.
the required result, to store the affined points. The tensor must be a point2 array (i.e., created with Tensor.Point2ArrayInitInfo) of size N, or a multi-dimensional tensor of 2 channels, with dimensions = 1xN or Nx1. The data type must be 32-/64-bit float. The N must be the same as that of srcPoints.
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.