开发者

How to transform an IplImage into a char array

开发者 https://www.devze.com 2023-03-15 01:28 出处:网络
I wanted to know if it\'s possible, and if so, how to transform an IplImage to a cha开发者_如何学Cr array in C (or C++).

I wanted to know if it's possible, and if so, how to transform an IplImage to a cha开发者_如何学Cr array in C (or C++). thks


Assuming a declaration:

IplImage *img = /* ... */

img->imageData will contain your aligned pixel data (in BGR order)

0

精彩评论

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