RAW processing

All about RAW processing

How get correct RGB? No need auto levels

Hi, i need decode raw to rgb.
My code

 
LibRaw imageProcessor;
imageProcessor.open_buffer(...);
imageProcessor.unpack();
imageProcessor.dcraw_process();
int err;
libraw_processed_image_t* img = imageProcessor.dcraw_make_mem_image(&err);

It work. But source raw file is dark, dcraw_make_mem_image is light ((

Forums: 

Tone curve application

Hi,

I am using LibRaw to decode raw images and modify the raw pixel values. I am comparing the raw pixels (no processing applied in my code) to the 'raw' pixels from the same image after conversion to DNG format using Adobe's DNG Converter. I am accessing the raw pixels by calling LibRaw::open_file() -> LibRaw::unpack() -> LibRaw::raw2image(), and then accessing the pixel values in the imgdata.image structure.

Forums: 

Accessing Raw Bayer data

Hi,

I just downloaded and compiled the libraw APIs. I was trying to use the APIs to access the Raw bayer stream from a canon CR2 file.

After instantiating a LibRaw object and calling its open_file(), unpack() and raw2image() functions, im able to print out pixel values using the imgdata.image[pixelindex][channelindex] data array. (I see a nice RGBG pattern coming out here)

Forums: 

ICC profile deactivation

Hi!

For research purposes I have to try to implement a software that will be able to give an 'as linear output as possible', from the raw image data.

One thing that concerns me is the ICC profiles of the images. If there is an ICC profile, LibRaw reads it and passes it to the converted image. Is there any way to deactivate this profile and end up with only the raw image data?

Also, which book/article/webpage do you suggest me to read in order to grasp the details of raw files and parameters?

Thank you in advance,

Vassilios

Forums: 

Pages

Subscribe to RSS - RAW processing