MATLAB File Help: cv.matMulDeriv | Index |
Computes partial derivatives of the matrix product for each multiplied matrix
[dABdA, dABdB] = cv.matMulDeriv(A, B)
d(A*B)/dA
of size
(A.rows * B.cols)x(A.rows * A.cols)
and same type as A
.d(A*B)/dB
of size
(A.rows * B.cols)x(B.rows * B.cols)
and same type as A
.The function computes partial derivatives of the elements of the matrix
product A*B
with regard to the elements of each of the two input matrices.
The function is used to compute the Jacobian matrices in cv.stereoCalibrate
but can also be used in any other similar optimization function.