在OpenCV中使用EXR图像 [英] Using EXR images in OpenCV

查看:430
本文介绍了在OpenCV中使用EXR图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用OpenEXR进行项目,我想实现一些Blob检测算法.为此,我认为我可以使用OpenCV,如其在文档中所述,它可以打开OpenEXR格式的文件.

I'm currently working on a project with OpenEXR and I would like to implement some Blob detection algorithms. To do this I figured that I could use OpenCV as it says in the documentation that it can open OpenEXR format files.

我已经安装了所有库,并且正在做其他事情.我用openCV cvLoadImage打开一个简单的jpg文件.它工作正常.但是,当我尝试打开任何.exr文件时,不会喜欢它.我得到一个应该显示图像的灰色窗口.

I have all the libraries installed and working as I've been doing other things. I open a simple jpg file with openCV cvLoadImage. It works fine. But when i try to open any .exr file it doesn't seam to like it. I get a gray window where there should be the image display.

有人使用OpenCV和OpenEXR库一起进行任何测试吗?他们为您工作了吗?你觉得呢?

Has anyone done any tests with OpenCV and OpenEXR libraries working together? Have they worked for you? What do you think?

谢谢.

推荐答案

是的,我已经在willowGarage的OpenCV项目中发布了票证,他们进行了所有必要的更改,现在您可以像以前一样将OpenEXR与OpenCV一起使用! 伟大的 我的HDR色调映射算法将再次起作用,很酷 现在有一个不错的编程; o) 亚历克斯

Yes, that's done, I posted a Ticket in the OpenCV project at willowGarage and they made all needed changes, you now can use OpenEXR with OpenCV as before! Great My HDR tone mapping algorithm will work again, cool Have a nice programming now ;o) Alex

这篇关于在OpenCV中使用EXR图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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