When RAW data from a Bayer sensor is converted to a usable RGB image, there are various steps that are carried out regardless of which RAW converter is used.
I realise that different RAW converters may vary the order of steps used, or omit some steps altogether, and I'm _ignoring_ the special case of DXO converters that may deal with chromatic aberration in the RAW values somehow.
Can somebody with some detailed knowledge of this please confirm whether I've got the basic sequence of events right in the following list?
A Bayer sensor with R, G and B filters is assumed, also an IR filter and anti-aliasing filter in front of the sensor.
1) De-mosaicing, to fill in the 'missing' values for each colour at each photosite.
2) Despite the presence of an anti-aliasing filter, additional steps could perhaps be taken here to deal with fine details like mesh patterns?
3) Colorimetric interpretation of the R, G and B values obtained, based on the characteristics of the colour filters used in the sensor.
4) White balance - maybe an estimate can be done at this point, or the value specified in the camera settings used?
5) Gamma adjustment of the data, to allow for the difference in response between the sensor & the human eye for example.
6) Noise reduction - could this be done earlier?
7) Sharpening - although perhaps the inherent 'sharpness' of the image depends on the earlier steps including the demosaicing algorithm used.
8) Conversion from the 'camera colour space' (if that's the correct term) to an RGB colour space such as ProPhoto RGB, for editing purposes.
I've derived this initial list from reading various documents, including Bruce Fraser's document 'Understanding Digital Raw Capture', which is downloadable from the Adobe web site.
Can any of the digital gurus in this forum help me out? Is there a consensus on a typical order for the above steps? Have I missed any steps out?
Thanks in anticipation for any comments or suggestions,
Alan
I realise that different RAW converters may vary the order of steps used, or omit some steps altogether, and I'm _ignoring_ the special case of DXO converters that may deal with chromatic aberration in the RAW values somehow.
Can somebody with some detailed knowledge of this please confirm whether I've got the basic sequence of events right in the following list?
A Bayer sensor with R, G and B filters is assumed, also an IR filter and anti-aliasing filter in front of the sensor.
1) De-mosaicing, to fill in the 'missing' values for each colour at each photosite.
2) Despite the presence of an anti-aliasing filter, additional steps could perhaps be taken here to deal with fine details like mesh patterns?
3) Colorimetric interpretation of the R, G and B values obtained, based on the characteristics of the colour filters used in the sensor.
4) White balance - maybe an estimate can be done at this point, or the value specified in the camera settings used?
5) Gamma adjustment of the data, to allow for the difference in response between the sensor & the human eye for example.
6) Noise reduction - could this be done earlier?
7) Sharpening - although perhaps the inherent 'sharpness' of the image depends on the earlier steps including the demosaicing algorithm used.
8) Conversion from the 'camera colour space' (if that's the correct term) to an RGB colour space such as ProPhoto RGB, for editing purposes.
I've derived this initial list from reading various documents, including Bruce Fraser's document 'Understanding Digital Raw Capture', which is downloadable from the Adobe web site.
Can any of the digital gurus in this forum help me out? Is there a consensus on a typical order for the above steps? Have I missed any steps out?
Thanks in anticipation for any comments or suggestions,
Alan