![]() |
Jetson Inference
DNN Vision Library
|
#include "cudaUtility.h"
Go to the source code of this file.
Functions | |
bool | loadImageRGBA (const char *filename, float4 **cpu, float4 **gpu, int *width, int *height, const float4 &mean_pixel=make_float4(0, 0, 0, 0)) |
Load a color image from disk into CUDA memory with alpha, in float4 RGBA format with pixel values 0-255. More... | |
bool | saveImageRGBA (const char *filename, float4 *cpu, int width, int height, float max_pixel=255.0f, int quality=100) |
Save a float4 RGBA image to disk. More... | |
bool | loadImageRGB (const char *filename, float3 **cpu, float3 **gpu, int *width, int *height, const float3 &mean_pixel=make_float3(0, 0, 0)) |
Load a color image from disk into CUDA memory, in float3 RGB format with pixel values 0-255. More... | |
bool | loadImageBGR (const char *filename, float3 **cpu, float3 **gpu, int *width, int *height, const float3 &mean=make_float3(0, 0, 0)) |
Load a color image from disk into CUDA memory, in float3 BGR format with pixel values 0-255. More... | |