Reputation: 366
I'm trying to use Emgucv in c# to decompose a projection matrix into a rotation matrix, a translation matrix and a camera matrix. I could easily do it with RQ-Factorization but I couldn't find it by inspecting Emgucv API reference.
Since Emgucv is a opencv wrapper I search opencv functions and I've found the following c++ functions:
void cvDecomposeProjectionMatrix(const CvMat *projMatrix, CvMat *cameraMatrix,
CvMat *rotMatrix, CvMat *transVect, CvMat *rotMatrX=NULL, CvMat *rotMatrY=NULL,
CvMat *rotMatrZ=NULL, CvPoint3D64f *eulerAngles=NULL)
void RQDecomp3x3(const Mat& M, Mat& R, Mat& Q)
The question is: Is there any way I can use these functions with Emgucv?
Upvotes: 0
Views: 1072
Reputation: 2702
EmguCV is an opencv wrapper but right now the function you want to use is still not wrapped. You have two options:
Upvotes: 1