56 #ifndef NV_VPI_LENSDISTORTIONMODELS_H
57 #define NV_VPI_LENSDISTORTIONMODELS_H
142 float k1, k2, k3, k4;
170 #if NV_VPI_VERSION_API_IS(1, 0)
173 "vpiWarpMapGenerateFromFisheyeLensDistortionModel,vpiWarpMapGenerateFromFisheyeLensDistortionModel@VPI_1.0");
239 #if NV_VPI_VERSION_API_IS(1, 0)
242 "vpiWarpMapGenerateFromPolynomialLensDistortionModel,vpiWarpMapGenerateFromPolynomialLensDistortionModel@VPI_1.0");
Declaration of VPI status codes handling functions.
Declares functions that implement the WarpMap structure and related functions.
VPIStatus vpiWarpMapGenerateFromPolynomialLensDistortionModel(const VPICameraIntrinsic Kin, const VPICameraExtrinsic X, const VPICameraIntrinsic Kout, const VPIPolynomialLensDistortionModel *distModel, VPIWarpMap *warpMap)
Generates a mapping that corrects image using polynomial lens distortion model.
VPIStatus vpiWarpMapGenerateFromFisheyeLensDistortionModel(const VPICameraIntrinsic Kin, const VPICameraExtrinsic X, const VPICameraIntrinsic Kout, const VPIFisheyeLensDistortionModel *distModel, VPIWarpMap *warpMap)
Generates a mapping that corrects image distortions caused by fisheye lenses.
float VPICameraExtrinsic[3][4]
Camera extrinsic matrix.
VPIFisheyeMapping
Supported fisheye lens mapping types.
float VPICameraIntrinsic[2][3]
Camera intrinsic matrix.
@ VPI_FISHEYE_EQUIDISTANT
Specifies the equidistant fisheye mapping.
@ VPI_FISHEYE_EQUISOLID
Specifies the equisolid fisheye mapping.
@ VPI_FISHEYE_STEREOGRAPHIC
Specifies the stereographic fisheye mapping.
@ VPI_FISHEYE_ORTHOGRAPHIC
Specifies the orthographic fisheye mapping.
Holds coefficients for fisheye lens distortion model.
Holds coefficients for polynomial lens distortion model.
Defines the mapping between input and output images' pixels.