I am using the C++ OpenCV interface but need to use a function that hasn’t been reimplemented for the interface so uses the old convention (function is cvFindExtrinsicCameraParams2 if it matters)
So I need to convert a vector<Point3f> to a CvMat* …how do I do this?
I’m not sure what the result should be, but if I read the documentation right, you can convert your type in a few steps:
First, create the new counterpart
MattoCvMat*:Then use
Mat‘s cast operator:and finally call your function
However, I’ve no experience with OpenMv, so I’m just citing the documentation. This may not reflect what you wanted it to do, in which case you may have to clarify your question.