Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道它是否可能,如果可能,如何将 IplImage 转换为 C(或 C++)中的 char 数组。谢谢
假设声明:
IplImage *img = /* ... */
img->imageData将包含您对齐的像素数据(按 BGR 顺序)
img->imageData