如何从想象PNG文件中读取数据? [英] how to read data from imagine PNG file ?

查看:88
本文介绍了如何从想象PNG文件中读取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!我正在寻找工具或类I / O,可以把文件PNG和读出坐标像素按照RGB565格式?? /

非常感谢指南

hi ! i looking for tool or class I/O that can be put the file PNG and read out co-ordinate pixel follow RGB565 format ??/
thank for guide very much

推荐答案

您可以在图像处理开源库中找到解决方案,如OpenCV,CxImage,ImageStone等。它们在Windows上编译良好而没有错误。特别是你可以使用OpenCV 3.0和CMake来构建它。

ImageStone库还支持读写图像格式的好类。

OpenCV下载正式网站:http:// opencv.org

ImageStone下载站点:http://sourceforge.net/projects/imagestone



ex:(OpenCV)(主要结构)如下!)

cv :: mat img = cv :: read(file_path,color_space);



我希望我的话会帮助你。
You can find solutions in image processing open source libraries such as OpenCV, CxImage, ImageStone and so on. They are well-compiled on windows without errors. Especially you can use OpenCV 3.0 and CMake to build it.
ImageStone library also supports good classes to read or write image formats.
OpenCV download formal site : http://opencv.org
ImageStone download site : http://sourceforge.net/projects/imagestone

ex : (OpenCV) (main structure is as followings!)
cv::mat img = cv::read(file_path, color_space);

I wish my words would help you.


这篇关于如何从想象PNG文件中读取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆