Colour space conversion
The RGB-format is often only available as Bayer mosaic that needs to be transformed into an RGB image. If detailed colour analysis is required, the image is normally converted to an alternative colour space which is better at representing colours for computer analysis.