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

Go to the source code of this file.

Functions

cudaError_t cudaWarpAffine (uchar4 *input, uchar4 *output, uint32_t width, uint32_t height, const float transform[2][3], bool transform_inverted=false)
 Apply 2x3 affine warp to an 8-bit fixed-point RGBA image. More...
 
cudaError_t cudaWarpAffine (float4 *input, float4 *output, uint32_t width, uint32_t height, const float transform[2][3], bool transform_inverted=false)
 Apply 2x3 affine warp to an 32-bit floating-point RGBA image. More...
 
cudaError_t cudaWarpPerspective (void *input, uint32_t inputWidth, uint32_t inputHeight, imageFormat inputFormat, void *output, uint32_t outputWidth, uint32_t outputHeight, imageFormat outputFormat, const float transform[3][3], bool transform_inverted=false)
 Apply a 3x3 perspective warp to an image. More...
 
template<typename T >
cudaError_t cudaWarpPerspective (T *input, uint32_t inputWidth, uint32_t inputHeight, T *output, uint32_t outputWidth, uint32_t outputHeight, const float transform[3][3], bool transform_inverted=false)
 Apply a 3x3 perspective warp to an image. More...
 
cudaError_t cudaWarpPerspective (uchar4 *input, uchar4 *output, uint32_t width, uint32_t height, const float transform[3][3], bool transform_inverted=false)
 Apply 3x3 perspective warp to an 8-bit fixed-point RGBA image. More...
 
cudaError_t cudaWarpPerspective (float4 *input, float4 *output, uint32_t width, uint32_t height, const float transform[3][3], bool transform_inverted=false)
 Apply 3x3 perspective warp to an 32-bit floating-point RGBA image. More...
 
cudaError_t cudaWarpIntrinsic (uchar4 *input, uchar4 *output, uint32_t width, uint32_t height, const float2 &focalLength, const float2 &principalPoint, const float4 &distortion)
 Apply in-place instrinsic lens distortion correction to an 8-bit fixed-point RGBA image. More...
 
cudaError_t cudaWarpIntrinsic (float4 *input, float4 *output, uint32_t width, uint32_t height, const float2 &focalLength, const float2 &principalPoint, const float4 &distortion)
 Apply in-place instrinsic lens distortion correction to 32-bit floating-point RGBA image. More...
 
cudaError_t cudaWarpFisheye (uchar4 *input, uchar4 *output, uint32_t width, uint32_t height, float focus)
 Apply fisheye lens dewarping to an 8-bit fixed-point RGBA image. More...
 
cudaError_t cudaWarpFisheye (float4 *input, float4 *output, uint32_t width, uint32_t height, float focus)
 Apply fisheye lens dewarping to a 32-bit floating-point RGBA image. More...