![]() |
Jetson Inference
DNN Vision Library
|
Go to the source code of this file.
Functions | |
8-bit Bayer to RGB/RGBA | |
| |
| 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. More... | |
| 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. More... | |
| 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.
@params format the Bayer pattern of the input image, should be one of:
IMAGE_BAYER_BGGR, IMAGE_BAYER_GBRG, IMAGE_BAYER_GRBG, IMAGE_BAYER_RGGB
| 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.
@params format the Bayer pattern of the input image, should be one of:
IMAGE_BAYER_BGGR, IMAGE_BAYER_GBRG, IMAGE_BAYER_GRBG, IMAGE_BAYER_RGGB