开发者

converting image into matrix and vice versa?

开发者 https://www.devze.com 2022-12-12 06:43 出处:网络
Please tell me how to convert image开发者_Go百科 into matrix of pixels and vice versa...using opencv??You can treat a matrix or an image as a matrix(or an image) by calling cvGetMat (or cvGetImage).No

Please tell me how to convert image开发者_Go百科 into matrix of pixels and vice versa...using opencv??


You can treat a matrix or an image as a matrix(or an image) by calling cvGetMat (or cvGetImage).No data will be copied.
If you want to copy the data, use cvCopy.

0

精彩评论

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

关注公众号