Add new comment

camera parameters adjustment consistent over different images

I need some guidance on how to get LibRaw to perform the exact same RAW process over multiple different shots.
For example, I don't want automatic white balance based on each image, because that will create different math calculation based on different images intensities.

I am looking to get the same data processing that will use the best bit depth information and range on the output.

For example, from what I understood the option "use_camera_matrix" will apply the same math (for the same camera).
What options will produce the same adjustments with the same factors (for the same camera) on different images?
For example, is "use_camera_wb" based on each image or it is based on constant information from the camera?

At moment, my options are:

iProcessor.imgdata.params.use_camera_matrix = 1;
iProcessor.imgdata.params.use_auto_wb				= 0;
iProcessor.imgdata.params.use_camera_wb = 0;
// Linear
// for linear curve set gamm[0]/gamm[1] to 1.0.
iProcessor.imgdata.params.gamm[0] = 1.0;
iProcessor.imgdata.params.gamm[0] = 1.0;
iProcessor.imgdata.params.no_auto_bright			= 1;
iProcessor.imgdata.params.adjust_maximum_thr	= 0;	// do not use automated saturation calculation
iProcessor.imgdata.params.user_flip						= 0;
iProcessor.imgdata.params.threshold = 0;
iProcessor.imgdata.params.output_bps = 16;		// output bits
iProcessor.imgdata.params.user_qual			= 10;	// AMaZE intepolation
iProcessor.imgdata.params.fbdd_noiserd	= 2;