Hi, I am new to the Matx
format, and am trying to extract data into a std::vector
and a cv::Mat
.
I have :
cv::Matx44d resultMat;
which is a 4 x 4 transformation matrix. I wish to extract the translation part of this (the last col) into a std::vector
, and the rotation part ( a 3 x 3 matrix) into a new Mat
object.
How can I go about this?
Thanks!