Hi,
I'm using LibRaw to decode Sony ARW files.
One option of my code is to allow user to specify they'd like RGB output instead of RGGB.
When this option is chosen I call dcraw_process (result is LIBRAW_SUCCESS), followed by dcraw_make_mem_image with address of my result-code int.
This works great when memory is available.
However, when memory gets tight, this call appears to fail (returns NULL), but the error code is not populated (per "...If caller has passed not-NULL value as errorcode parameter, than *errorcode will be set to error code...").
Hello everybody, We use machine vision camera's for taking automated photo's and want to use the raw image (rather than the JPEG) to increase picture quality. The camera's using sensors like Sony IMX304 and other models. Not the sort of sensors that are used in photo camera's. What is the best reoute to use LibRaw? Thanks in advance.
Regards Pim
For Panasonic 14 bits compressed images (like for the S1H camera), I wrote a decoder (in Pascal).
It is very similar to the 12 bits compressed, but differs in some details from the routine found in dcraw.
The cmp=4 is the code dedicated to 14bits compressed. cmp=3 is the code for 12 bits compressed inspired from dcraw.c - it's probably easy to rewrite it in C readinf the dcraw source in parallel.
The code ran correctly on all images I have pumped for this camera from photographyblog.com .
I'm porting my image processing application to Windows 10 with Qt 5.14. The port is complete, everything is functional, except for libraw, where I'm having problems linking the static library.
if static linking is necessary, one should link applications with library libraw_static.lib and set the preprocessor option /DLIBRAW_NODLL during compilation.
For my astro image calibration program I wish to use the RawProcessor.imgdata.color.black value but I have noticed for the Canon T5i and T7i this parameter is zero. For my Nikon D5300 the value is 600 which I believe is correct. I believe that for these Canon cameras the black level should be in the 2,000 to 3,000 range. Is there a better way to determine the correct black level?
Recent comments