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)
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)
精彩评论