extract the data from a cv::Matx44d?
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 (the top left 3x3 matrix) into a new Mat
object.
How can I go about this?
Thanks!