Jetson Inference
DNN Vision Library
|
Overlay images and vector shapes onto other images. More...
Functions | |
cudaError_t | cudaOverlay (void *input, size_t inputWidth, size_t inputHeight, void *output, size_t outputWidth, size_t outputHeight, imageFormat format, int x, int y) |
Overlay the input image onto the output image at location (x,y) If the composted image doesn't entirely fit in the output, it will be cropped. More... | |
template<typename T > | |
cudaError_t | cudaOverlay (T *input, size_t inputWidth, size_t inputHeight, T *output, size_t outputWidth, size_t outputHeight, int x, int y) |
Overlay the input image composted onto the output image at location (x,y) If the composted image doesn't entirely fit in the output, it will be cropped. More... | |
template<typename T > | |
cudaError_t | cudaOverlay (T *input, const int2 &inputDims, T *output, const int2 &outputDims, int x, int y) |
Overlay the input image composted onto the output image at location (x,y) If the composted image doesn't entirely fit in the output, it will be cropped. More... | |
cudaError_t | cudaRectFill (void *input, void *output, size_t width, size_t height, imageFormat format, float4 *rects, int numRects, const float4 &color) |
cudaRectFill More... | |
template<typename T > | |
cudaError_t | cudaRectFill (T *input, T *output, size_t width, size_t height, float4 *rects, int numRects, const float4 &color) |
cudaRectFill More... | |
Overlay images and vector shapes onto other images.
cudaError_t cudaOverlay | ( | T * | input, |
const int2 & | inputDims, | ||
T * | output, | ||
const int2 & | outputDims, | ||
int | x, | ||
int | y | ||
) |
Overlay the input image composted onto the output image at location (x,y) If the composted image doesn't entirely fit in the output, it will be cropped.
If the images have an alpha channel, they will be alpha blended.
cudaError_t cudaOverlay | ( | T * | input, |
size_t | inputWidth, | ||
size_t | inputHeight, | ||
T * | output, | ||
size_t | outputWidth, | ||
size_t | outputHeight, | ||
int | x, | ||
int | y | ||
) |
Overlay the input image composted onto the output image at location (x,y) If the composted image doesn't entirely fit in the output, it will be cropped.
If the images have an alpha channel, they will be alpha blended.
cudaError_t cudaOverlay | ( | void * | input, |
size_t | inputWidth, | ||
size_t | inputHeight, | ||
void * | output, | ||
size_t | outputWidth, | ||
size_t | outputHeight, | ||
imageFormat | format, | ||
int | x, | ||
int | y | ||
) |
Overlay the input image onto the output image at location (x,y) If the composted image doesn't entirely fit in the output, it will be cropped.
If the images have an alpha channel, they will be alpha blended.
cudaError_t cudaRectFill | ( | T * | input, |
T * | output, | ||
size_t | width, | ||
size_t | height, | ||
float4 * | rects, | ||
int | numRects, | ||
const float4 & | color | ||
) |
cudaRectFill
cudaError_t cudaRectFill | ( | void * | input, |
void * | output, | ||
size_t | width, | ||
size_t | height, | ||
imageFormat | format, | ||
float4 * | rects, | ||
int | numRects, | ||
const float4 & | color | ||
) |
cudaRectFill