I am using the default demosaicing functions in libraw (AHD), and i have the automatic chromatic abberation correction on. Often this works really well. Just sometimes however, this gives very strange results as can be seen in the attachment. I call it purple or blue halo's. I am absolutely sure it has to do with the chromatic abberation detection. Any ideas or questions?
just tried to read in Sony ILCE-6000 raw image files, EXIF data seems to be ok, but the arrays with the rgb channels are filled with zeros. My routines have already worked with EOS 550d raw files. It seems that ILCE-6000 raw files are not compatible with your library. Any suggestions ?
I'm thinking about using libraw in my project (linking to it, not modifying in any way). But I'm a bit baffled by the licence under which to use it. There is a post on this forum about using libraw under the LGPL or CDDL licence, but the main page is speaking about GNU GPL v2 and later.
My project is going be closed source application made for a third party and GPL licence might be a problem, is it possible to use some different licence for using libraw?
I am trying to derive a linear image from a D7000 NEF 14-bit. I need both color and gray. I am using opencv cv::cvtColor(rawMat, debayeredMat, cv::COLOR_BayerBG2BGR) to convert to RGB CV_16UC3 (3 component ushort).
I believe I need to use cam_mul to get proper wb.
I am getting these values for cam_mul
cam_mul[0] = 486
cam_mul[1] = 256
cam_mul[2] = 371
cam_mul[3] = 256
I am not sure how to use these values to get anything sensible.
Its just an empty string there. I have checked the corresponding CR2-file and my name is in there - clearly readable as ASCII text. Why i cannot get it using your library??
I would like to know how i can know that this call has happened:
image = iProcessor.dcraw_make_mem_image(&rc);
The reason is that i need to clear 'image':
LibRaw::dcraw_clear_mem(image);
But ofcourse only when dcraw_make_mem_image has been called. However, i have no idea to tell *if* it has been called in the first place. For example, testing for iProcessor.data!=NULL or image == NULL or .data or something similar has not worked for me, please assist.
Recent comments