shoot a flat (iso800, 1/32s, modified 50d against a lightbox)
1) set DSLR_RAW to raw bayer RGB image. using BatchFormatConversion, convert CR2 to fits, then use BatchDebayer to debayer the raw fits file using bilinear interpolation. all white balance checkboxes off.
2) set DSLR_RAW for bilinear interpolation, all white balance check boxes off.
in both cases, black point compensation off (check box checked)
when the debayered #1 is loaded and compared against #2, the histograms are completely different. the histogram of #2 is very strong, with the blue peak at 26%, green peak at 32% and red peak at 68%. the histogram of #1 has the blue peak at 5%, red peak at 7% and green peak at 8%.
is this expected behavior? or is my flat overexposed and somehow confusing BatchDebayer?