search

Home  >  Q&A  >  body text

c++ - opencv里loadimage之后,怎么保存.rgb格式的数据

由于项目需要用到.rgb格式的图像数据,据说在opencv中可以通过loadimage函数获取保存为.rgb格式,这个具体代码是怎么做到的啊

ringa_leeringa_lee2767 days ago604

reply all(1)I'll reply

  • 阿神

    阿神2017-04-17 15:01:37

    After receiving the guidance from the master, you can use FILE in opencv and use fwrite to write to the .rgb format file. As for the written content, you can put it according to the data required by your own image.

    reply
    0
  • Cancelreply