如何从 iPhone 的 Heic 中提取 HDR 增益图?
使用JPEG格式,我知道可以使用:
exiftool -b -MPImage2 test-lumen.jpg > depthMap.jpg
但是,如果格式是HEIC,则有任何方法可以导出HDR增益图吗?
with jpeg format, I know can use:
exiftool -b -MPImage2 test-lumen.jpg > depthMap.jpg
But if the format is Heic, there is any method can export the HDR gain Map?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以安装(libheif)并执行以下操作:
heif-convert.HEIC < ;result_file>.jpg
它还会保存辅助图像。
You can install (libheif) and do:
heif-convert <source_file>.HEIC <result_file>.jpg
It will save auxiliary images as well.
您需要首先能够提取 Apple 特定的元数据。
此处记录:
https://developer.apple.com/documentation/appkit/images_and_pdf/应用_apple_hdr_effect_to_your_photos
You need to be able to extract Apple specific metadata first.
It's documented here:
https://developer.apple.com/documentation/appkit/images_and_pdf/applying_apple_hdr_effect_to_your_photos