Python中的OpenCV高动态范围 [英] OpenCV High Dynamic Range in Python

查看:91
本文介绍了Python中的OpenCV高动态范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是使用Python的OpenCV的新手,并且正在寻找使用Python在OpenCV中使用HDR的一些教程.我发现了几个链接,其中有一些小片段说明C ++中的用法,但是我找不到Python中的任何教程.它们是OpenCV-Python中HDR的扩展吗?如果是这样,任何人都可以提供相同教程的链接吗?如果没有,那么谁能解释如何在OpenCV-Python中实现我们自己的功能,例如ToneMap?

I am new to OpenCV with Python and was looking for some tutorial on HDR usage in OpenCV using Python. I have found a couple of links with small snippets to illustrate the usage in C++ however I was unable to find any tutorial in Python. Is their an extension of HDR in OpenCV-Python? If so, can anyone provide with a link of some tutorial for the same? If not, can anyone explain how to go about implementing our own functions like ToneMap in OpenCV-Python?

推荐答案

有一个

There is a nice Python tutorial on official OpenCV website about HDR images generation/tonemapping using the high-level functions showcased in your original link.

关于HDR图像I/O,您可以从具有OpenEXR依赖关系的源代码构建OpenCV,以启用对16位(一半)和32位(浮动)EXR图像文件的读取/写入.

About HDR image i/o, you can build OpenCV from source with OpenEXR dependency to enable read/write of 16bit (half) and 32bit (float) EXR image files.

这篇关于Python中的OpenCV高动态范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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