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]> 
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]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to