开发者

Integers to Matrix (cvMat)

Hey guys, I'm working on a project. I need to use the function cvFindHomography in openCV before this step I have applied LK optical flow function开发者_运维知识库, so I get the features in the first frame and in the second frame as INTEGERS, well in cvFindHomography I need to use these features but as cvMat not as integers.

Do you have any I idea how to put these integers in a Matrix in order to use them in the function mentioned above.

Thank you.


You can use the cvMat() constructor:

CV_INLINE CvMat cvMat( int rows, int cols, int type, void* data CV_DEFAULT(NULL))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜