RAW processing

All about RAW processing

Greenish again.. why?

Hello.

I get the code of a dngconverter that uses libraw ->

https://github.com/jmue/dngconvert

The only operation that's this conversor does whith raw cells are a mencpy (working with and .CR2 file)

look here -> file librawimage.cpp line 251

memcpy(output, rawProcessor->imgdata.rawdata.raw_image, sizes->raw_height * sizes->raw_width * sizeof(unsigned short));

Forums: 

Green tones into final raw.

Helo, i'm developing a software that mix some raw files and save into dng. The problem is that into end raw imagen had green tonnes.

What i do.

Sort images by exposition time, less exposed first and calculate a correct factor (RFC) based into relative exposition between them, so:

If a have 3 images (first image, image0, less exposed):

image0 RFC[0]=1.0
image1 RFC[1]=0.5336
image2 RFC[2]=0.2476

And RFC[0]... RFC[2] are relative correction factor based into his exposition ( brightness.)

Forums: 

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;

Forums: 

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.

Forums: 

Pages

Subscribe to RSS - RAW processing