docs/html/cudaBayer_8h.html
| | Jetson Inference
DNN Vision Library |
cudaBayer.h File Reference
#include "cudaUtility.h"
#include "imageFormat.h"
Go to the source code of this file.
|
|
|
8-bit Bayer to RGB/RGBA
|
|
See alsocudaConvertColor() from cudaColorspace.h for automated format conversion
|
| 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