Thank you for the information, then I might use ImageInput for now. Having ability to pass configuration to ImageBuf would be great though.
From: Oiio-dev [mailto:[email protected]] On Behalf Of Larry Gritz Sent: Wednesday, November 26, 2014 12:12 AM To: OpenImageIO developers Subject: Re: [Oiio-dev] Demosaicing for Raw data If you're using a regular ImageInput, I think that you can use the "open with config" variety, and the config can contain the "raw:Demosaic" attribute, a string, giving the algorithm to use. Without it, I think the raw reader will just use whatever default is determined by libraw. It's a little tricky from ImageBuf. At present, there is not an obvious way to pass configuration information to the ImageBuf to pass along to the eventual open() call. I should really fix that somehow, but it's a bit of a hole at the moment. -- lg On Nov 25, 2014, at 10:34 AM, Ramezanali, Morteza <[email protected]<mailto:[email protected]>> wrote: Hi, I was wondering if there is a way to specify demosaicing algorithm while reading raw data using ImageBuf read function. Thank you -- Larry Gritz [email protected]<mailto:[email protected]>
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
