BayerToRGB and higher bit depths

In principle you are right, but there are also solid reasons sometimes that manufacturers don’t do the conversion inside the camera. I have no idea what model you are using, but consider GigE Vision for example: With a camera delivering RGB24 pixels at e.g. 5 MPixels each frame needs 15 MB of the available bandwidth, capping the maximum possible frame rate at around 6.5 MB under the best of circumstances (unless you can use features like TurboDrive or Link Aggregation). If the camera transmits the raw Bayer pattern instead, the max. achievable frame rate is three times higher (20 fps in this example). The cost for this is the extra effort the PC has to make once the frames have arrived for converting to RGB24 (which in the case of the GenICam.vin by the way the driver can do transparently without you having to code for this, but admittedly the conversion results of the GenICam.vin don’t look as pleasant as those of the :cvb: BayerToRGB tool…