开发者

Converting CvSeq to CvMat

I have a sequence of CvPoint2D32f points in CvSeq and I want to convert it into a CvM开发者_开发百科at. How can I do that?


Have a look at cvSeqToArray. It will dump the sequence to a contiguous array of any type (in your case, it will be float). You can then create a matrix header for that array by using cvCreateMatHeader.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜