c++ - opencv里loadimage之后,怎么保存.rgb格式的数据
ringa_lee
ringa_lee 2017-04-17 14:59:37
0
1
598

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

ringa_lee
ringa_lee

ringa_lee

reply all(1)
阿神

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!