Add new comment

Sony YCbCr white balance difference seems off

Hi,

I have a question regarding these two images:

https://drive.google.com/file/d/1FZDh3jiw-85sJy3qJUh-xL4E5fA1mEfV/view?u...
https://drive.google.com/file/d/1GWI7D2sY2VcZrlFASAzkSklQl7vJ0qYn/view?u...

These are Sony YCbCr images, shot at the same camera white balance. I see they have

imgdata.color.as_shot_wb_applied = 33 (LIBRAW_ASWB_APPLIED | LIBRAW_ASWB_SONY)

I would like to develop these files identically (for panoramic stitching)

out.no_auto_bright = 1; // -W
out.use_camera_wb = 1; // -w
I've also verified that out_cam and scale_mul are identical for both. So I think they are converted identically.

But they come out with different colors after dcraw_process(). I've opened them in RawDigger and see the same issue: one of the images is a bit warmer than the other.

From what I understand, the WB has been premultiplied by the camera, so this would be outside LibRaw's control. But the strange thing is: Adobe Camera Raw does develop them with identical tint as expected.

So I wonder, could it be that the camera is premultiplying with different wb, perhaps the measured scene AWB, instead of the chosen fixed WB preset? Any help is welcome.

Thanks
Joost

Forums: