开发者

How to transform an IplImage into a char array

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜