Function mindspore::dataset::GetRotationMatrix2D
Defined in File image_process.h
Function Documentation
-
bool mindspore::dataset::GetRotationMatrix2D(float x, float y, double angle, double scale, LiteMat &M)
Matrix rotation.
- Parameters
x – [in] The value of the x-axis of the coordinate rotation point.
y – [in] The value of the y-axis of the coordinate rotation point.
angle – [in] Rotation angle.
scale – [in] Scaling ratio.
M – [in] Output transformation matrix.