Jetson Inference
DNN Vision Library
cudaCrop.h File Reference
#include "cudaUtility.h"
#include "imageFormat.h"

Go to the source code of this file.

Functions

cudaError_t cudaCrop (uint8_t *input, uint8_t *output, const int4 &roi, size_t inputWidth, size_t inputHeight)
 Crop a uint8 grayscale image to the specified region of interest (ROI). More...
 
cudaError_t cudaCrop (float *input, float *output, const int4 &roi, size_t inputWidth, size_t inputHeight)
 Crop a floating-point grayscale image to the specified region of interest (ROI). More...
 
cudaError_t cudaCrop (uchar3 *input, uchar3 *output, const int4 &roi, size_t inputWidth, size_t inputHeight)
 Crop a uchar3 RGB/BGR image to the specified region of interest (ROI). More...
 
cudaError_t cudaCrop (uchar4 *input, uchar4 *output, const int4 &roi, size_t inputWidth, size_t inputHeight)
 Crop a uchar4 RGBA/BGRA image to the specified region of interest (ROI). More...
 
cudaError_t cudaCrop (float3 *input, float3 *output, const int4 &roi, size_t inputWidth, size_t inputHeight)
 Crop a float3 RGB/BGR image to the specified region of interest (ROI). More...
 
cudaError_t cudaCrop (float4 *input, float4 *output, const int4 &roi, size_t inputWidth, size_t inputHeight)
 Crop a float4 RGBA/BGRA image to the specified region of interest (ROI). More...
 
cudaError_t cudaCrop (void *input, void *output, const int4 &roi, size_t inputWidth, size_t inputHeight, imageFormat format)
 Crop a float4 RGBA/BGRA image to the specified region of interest (ROI). More...