Is OpenEXR supported on iOS / macOS?

回眸只為那壹抹淺笑 提交于 2019-12-12 20:49:35
问题 I am trying to find out if reading OpenEXR files are supported or not on iOS and macOS. Here is what I found out: The docs barely mention OpenEXR, and where they do they say that it's only supported on recent macOS. Yet, the official WWDC 2017 samples for ARKit simply load .exr images with: UIImage(named: "image.exr") This is found in the following official samples: Handling 3D Interaction and UI Controls in Augmented Reality Interactive Content with ARKit Audio in ARKit How is OpenEXR

How to Load a Many-Channel EXR in Android

百般思念 提交于 2019-12-12 04:57:29
问题 I'm using OpenCV for Android like this to to load an EXR image: String testImgPath = "/storage/sdcard0/test2.exr"; //I know better than to hardcode paths. This is just a test. Mat mRgba = Highgui.imread(testImgPath, Highgui.CV_LOAD_IMAGE_ANYCOLOR|Highgui.CV_LOAD_IMAGE_ANYDEPTH); This works for the first 3 channels of an image (RGB ordering aside). I can display the resulting matrix like this: Bitmap img = Bitmap.createBitmap(mRgba.cols(), mRgba.rows(), Bitmap.Config.ARGB_8888); Utils

Using EXR images in OpenCV

ε祈祈猫儿з 提交于 2019-12-01 06:42:05
问题 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. 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.

Install openexr in python doesn't work

て烟熏妆下的殇ゞ 提交于 2019-11-30 05:24:43
问题 I have successfully installed openexr using pip install openexr on my mac, but the same command fails on Ubuntu: OpenEXR.cpp:9:22: fatal error: ImathBox.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for openex I tried using apt-get install openexr which seems like to install without an error but then when I try to import OpenEXR in python, it doesn't work. Does