很有用的图像数据转换工具
来源:互联网 发布:血小板计数算法 编辑:程序博客网 时间:2024/06/06 09:42
IMAGEMAGICK
// Display a 800x600 rgb image
display -size 800x600 -depth 8 rgb:output.rgb
// Show information of output.rgb
identify -size 1296x972 -depth 8 output.rgb
// Convert a 640x480 grayscale raw rgb file to png
convert -size 640x480 -depth 8 imagefile.rgb image.png
// To list all available color formats
identify -list format
FFMPEG
// List available formats for ffmpeg
ffmpeg -pix_fmts
// Convert raw rgb565 image to png
ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 1024x768 -i freescale_1024x768.raw -f image2 -vcodec png screen.png
// Convert png to raw rgb565
ffmpeg -vcodec png -i image.png -vcodec rawvideo -f rawvideo -pix_fmt rgb565 image.raw
// Convert a 720x480 NV12 (YUV 420 semi-planar) image to png
ffmpeg -s 720x480 -pix_fmt nv12 -i image-nv12.yuv -f image2 -pix_fmt rgb24 image-png.png
// Convert a 640x480 uyvy422 image to png
ffmpeg -s 640x480 -pix_fmt uyvy422 -i image-uyvy422.yuv -f image2 -pix_fmt rgb24 image-uyvy422.png
RGB raw数据显示GIMP软件可以显示RGB数据,文件->打开 选择 raw image data
然后指定图像大小 rgb格式就可以正常显示.
另外,GIMP中还能将rgb图像数据导出成.c或者.h文件,可以在C程序里面使用.
- 很有用的图像数据转换工具
- 非常有用的图像过滤器工具
- 一个很有用的图像处理工具箱
- 一个很有用的图像处理工具箱
- 很有用的反射工具类
- JAVA几个很有用的工具函数
- 16个很有用的在线工具
- 16个很有用的在线工具
- Windows 下很有用的开发工具
- android开发很有用的工具网址
- 一些很有用的技术工具
- 一些有用的工具
- 一些有用的工具
- 有用的工具
- 有用的工具tasksel
- 有用的工具集锦
- 有用的工具类
- 有用的shell工具
- 打印X图
- Hive
- 【线筛】线性筛选素数
- ctag php 跳定义
- 看懂以太坊ABI生成
- 很有用的图像数据转换工具
- iOS UITextView 光标位置
- 47种常见的浏览器兼容性问题大汇总
- 为什么普通用户没有/etc/passwd的写权限,可以修改用户密码
- 20170922--mysql--奇偶数查询
- Oracle索引-新建 维护 监督使用等
- mysql怎么在分组后排序所有字段
- mysql 链接查询
- BigDecimal的构造方法与setScale()方法解析