The discussion in the thread
https://forum.luminous-landscape.com/index.php?topic=127197.msg1073902#msg1073902 made me ask this basic question:
in converting from Bayer CFA data to JPEG (or TIFF), is the value for a color channel at a pixel for which that photosite measures based just on the value for that photosite, or is there still interpolation, or are there various options in use?
For example: for a photosite that has a red filter, is the output file's red value at the corresponding pixel based only on that one measurement, or on some average also using data from other nearby "red photosites"?