如何从双指针构造图像 [英] How do I construct image from a double pointer

查看:54
本文介绍了如何从双指针构造图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,全部:



我正在使用外部API来获取图像文件。 API返回双指针:



Hello, all:

I'm using an external API to get image file. the API return double pointer:

int     DimX,      // x dimension of data
int     DimY,      // y dimension of data
double  *dData,    // data





我应该如何开始从这些信息中获取图像?请给我一些提示或建议。谢谢!



How should I start to get an image from these information? please get me some hint or suggestion. Thanks!

推荐答案

不知道返回了什么?真的不是很多机会。

我们不知道您正在使用什么API,它返回什么,或者确实有什么相关的。

请记住,我们不能看你的屏幕,访问你的硬盘,或读你的想法。



我建议你需要开始查看API文档并从那里开始工作,或联系制造商技术支持并询问他们。但我们可能根本无法提供太多帮助。
Without some idea of what is returned? Not a lot of chance really.
We don't know what API you are using, what it returns, or indeed anything about it.
Remember that we can't see your screen, access your HDD, or read your mind.

I'd suggest that you need to start looking at the API documentation and work it out from there, or contact the manufacturers technical support and ask them. But we probably can't help much at all.


这篇关于如何从双指针构造图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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