Method Rodrigues
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Rodrigues(InputArray, OutputArray, OutputArray)
converts rotation vector to rotation matrix or vice versa using Rodrigues transformation
public static void Rodrigues(InputArray src, OutputArray dst, OutputArray jacobian = default)
Parameters
srcInputArrayInput rotation vector (3x1 or 1x3) or rotation matrix (3x3).
dstOutputArrayOutput rotation matrix (3x3) or rotation vector (3x1 or 1x3), respectively.
jacobianOutputArrayOptional output Jacobian matrix, 3x9 or 9x3, which is a matrix of partial derivatives of the output array components with respect to the input array components.
Rodrigues(double[], out double[,], out double[,])
converts rotation vector to rotation matrix using Rodrigues transformation
public static void Rodrigues(double[] vector, out double[,] matrix, out double[,] jacobian)
Parameters
vectordouble[]Input rotation vector (3x1).
matrixdouble[,]Output rotation matrix (3x3).
jacobiandouble[,]Optional output Jacobian matrix, 3x9, which is a matrix of partial derivatives of the output array components with respect to the input array components.
Rodrigues(double[,], out double[], out double[,])
converts rotation matrix to rotation vector using Rodrigues transformation
public static void Rodrigues(double[,] matrix, out double[] vector, out double[,] jacobian)