cudaError_t cudaBayerToRGB(uint8_t *input, uchar3 *output, size_t width, size_t height, imageFormat format)
Demosaick an 8-bit Bayer image to uchar3 RGB.
cudaError_t cudaBayerToRGBA(uint8_t *input, uchar3 *output, size_t width, size_t height, imageFormat format)
Demosaick an 8-bit Bayer image to uchar4 RGBA.