RAW processing

All about RAW processing

Unscaled 16 bit RGB access

I'm trying to get unscaled values from a Canon CR2 file
The camera has a 12bit imager and imgdata.color.maximum=3712 and the channel maximums are in line with this.

But the data returned from dcraw_process() is scaled into the range 0 - 64K even with histogram stretching off.

output->output_bps = 16;
output->no_auto_bright = 1;
output->gamm[0] = output->gamm[1] = 1;
output->adjust_maximum_thr = 0.0;

If I set document mode=2 (no white balance) the values are in range but not debayered, and data.data_size is only width * height * 3

Any ideas?

RAW processing library

Nice GPLed image processing library http://elynxlab.free.fr
+ 24 algos of Demosaic!! http://elynx.cvs.sourceforge.net/viewvc/elynx/eLynx/src/Image/Bayer/
+ up to 64 bit representation
+ easy to use library
+ nice GUI for Windows

A better Rawnalyze

I wondered whether a 'better rawnalyse' would make a good sample application for the libraw library? For those who want to examine what use they are making of the available raw data count range.

Some suggestions on profiling digital cameras

Since good quality profiles can be achieved only for well-exposed target shots, a profiler should contain means to check raw data to ensure that the white is close to the target value, and the amount of flare, vignetting, light variations across the target, as well as other factors resulting in less then usable profiles, are insignificant.

It is not necessary that the whole target is captured in a single shot; taking multiple shots to capture the whole target is a better way to control flare, light distribution, and vignetting.

Syndicate content (C01 _th3me_)