Astroart and debayering
Posted: 07 Dec 2018, 16:19
Hi all,
I'm writing the first post in this forum for asking some basic question on debayering.
I have a raw image from a Canon 450D. The shot is not astronomical but a test image of a red sheet of paper. I also converted the image into FIT format. If I open the raw image with "DCRAW Color synthesis on load" I get the expected image (red, obviously) and the color histograms are as expected (the red histogram is shifted to higher ADU than Blue ad Green).
If I don't select the option "DCRAW Color synthesis on load" the image is opened in B&W. Now using the "CCD Color Synthesis" (with the right Offset and not selecting any other option in the related window) I get a white image and the histogram of R,G and B are centered in the same ADU. It seems that AA is "rescaling" the three color regardless the original color content to have a "white balanced" image, but I didn't asked for that balancing. Is that the expected behavior? Is it possible to avoid that rescaling and get the "just debayered" histograms? If no, could it be and option in the next version of AA? With present behaviour I don't see how to use color calibration coefficient from previous G2V calibration and for the color atmospheric extinction coefficients. I also used the converted FIT image getting the same results.
Further question: Which is the debayering algorithm used for
1) CCD color synthesys
2) DCRAW Color synthesis on load
3) DCRAW Color synthesis on load with High Quality Interpolation
Max
I'm writing the first post in this forum for asking some basic question on debayering.
I have a raw image from a Canon 450D. The shot is not astronomical but a test image of a red sheet of paper. I also converted the image into FIT format. If I open the raw image with "DCRAW Color synthesis on load" I get the expected image (red, obviously) and the color histograms are as expected (the red histogram is shifted to higher ADU than Blue ad Green).
If I don't select the option "DCRAW Color synthesis on load" the image is opened in B&W. Now using the "CCD Color Synthesis" (with the right Offset and not selecting any other option in the related window) I get a white image and the histogram of R,G and B are centered in the same ADU. It seems that AA is "rescaling" the three color regardless the original color content to have a "white balanced" image, but I didn't asked for that balancing. Is that the expected behavior? Is it possible to avoid that rescaling and get the "just debayered" histograms? If no, could it be and option in the next version of AA? With present behaviour I don't see how to use color calibration coefficient from previous G2V calibration and for the color atmospheric extinction coefficients. I also used the converted FIT image getting the same results.
Further question: Which is the debayering algorithm used for
1) CCD color synthesys
2) DCRAW Color synthesis on load
3) DCRAW Color synthesis on load with High Quality Interpolation
Max