将像素阵列转换为swift ...没有libtiff/libjpeg?
我有原始图像数据,一个像素数组(实际上是一个单个数据字符串),我想转换为最基本和最小的DNG格式/文件。我看到了利用Libtiff和Libjpeg的不同方法。
使用核心图形,核心图像或另一个Swift API,是否有更简单,更直接的方法可以在Swift中进行此操作?
图像数据仍处于原始拜耳矩阵格式(CFA模式为rggb)中,没有任何标签。
我下载了最新的Adobe DNG格式规范的100页以上,但是在其中找不到DNG文件的实际字节订单或结构...我对此文档感到非常丢失。
任何帮助和提示都将受到高度赞赏。
I have raw image data, a pixel array (actually a single string of data) that I want to convert to the most basic and minimal DNG format/file. I saw different approaches utilizing libtiff and libjpeg.
Is there a simpler and more straight forward way to do this in SWIFT using Core Graphics, Core Image or yet another SWIFT API?
The image data are still in the original Bayer matrix format (CFA pattern is RGGB) without any tags.
I downloaded the over 100 pages of the latest Adobe DNG format specification, but I cannot find the actual byte order or structure of the DNG file in there... I am pretty lost with this document.
Any help and hints are highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论