How to control Bayer conversion in the code

How to control Bayer conversion in the code? I want to use a high quality Bayer conversion (RgbConversion.Linear).
I mean, can I change the conversion mode here? Or do I convert the image after I get it?

The Bayer conversion accessible through Stemmer.Cvb.Foundation.BayerConversion.ToRgb (which makes use of the RgbConversion enum) needs to be applied to the image after it was acquired. This conversion is superior in quality and more tunable in terms of patterns, white balance and interpolation mode than what the driver does internally, but also slightly more time-consuming.

1 Like