Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Mutlichannel EXR #7

Open
melMass opened this issue Aug 30, 2018 · 3 comments
Open

Mutlichannel EXR #7

melMass opened this issue Aug 30, 2018 · 3 comments

Comments

@melMass
Copy link

melMass commented Aug 30, 2018

Hello,

I'm trying to implement ImageIO in a Qt app. I've found this repo but reading the source it seems to be tailored specifically for use in Meshroom (depthmap detection) and limited to 4 channels or else it fails.
Is there a simple way to extract multichannel exrs using QtOIIO as a start ?

Thanks

@melMass
Copy link
Author

melMass commented Aug 31, 2018

I think the best thing is to add a QImageIO aswell (to add OIIO specific functions), I'll dig more and report here.

The ugly patch to load the first RGBA of >4 channels EXR's:
QtOIIOHandler.cpp#L112

@fabiencastan
Copy link
Member

We would love to have a generic solution.
It contains some stuff to provide display for better visualisation of gray scale images, which could make sense in other contexts. Currently, the way to enable it is based on filename rules linked to Meshroom, as we have not yet found a way to use parameters when loading images.

If you are interested, we would be happy to integrate new contributions to support more options and make it more generic.

@melMass
Copy link
Author

melMass commented Sep 1, 2018

Thanks!
I'm not sure about the proper way to go about it. I will try to come up with something to allow parameters.
Subclassing QImage to either QImageIO or QImageOIIO is for now the only way I can think of to allow params.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants