56 #ifndef NV_VPI_LENSDISTORTIONMODELS_H
57 #define NV_VPI_LENSDISTORTIONMODELS_H
150 float k1, k2, k3, k4;
Declaration of VPI status codes handling functions.
Declares functions that implement the WarpMap structure and related functions.
VPIFisheyeMapping mapping
Mapping between pixel angle and pixel distance to image center.
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.