![]() |
NVIDIA DRIVE OS Linux SDK API Reference5.1.6.0 Release |
Holds distortion coefficients for the lens model.
Distortion coefficients are defined in the following way:
Setting any coefficient to 0 implies that it is not used in computation.
If we denote a point without distortion as [x, y, 1] and the corresponding point with distortion as [xd, yd, 1], then the distortion model is defined as follows:
When NvMediaLensModel is NVMEDIA_LDC_MODEL_POLYNOMIAL_DISTORTION, the control parameters are k1, k2, k3, k4, k5, k6, p1, and p2.
When NvMediaLensModel is NVMEDIA_LDC_MODEL_FISHEYE_EQUIDISTANT, NVMEDIA_LDC_MODEL_FISHEYE_EQUISOLID, NVMEDIA_LDC_MODEL_FISHEYE_ORTHOGRAPHIC, or NVMEDIA_LDC_MODEL_FISHEYE_STEREOGRAPHIC, the control parameters are k1, k2, k3, and k4.
Definition at line 171 of file nvmedia_ldc.h.
Data Fields | |
float_t | k1 |
Holds the radial distortion coefficient. More... | |
float_t | k2 |
Holds the radial distortion coefficient. More... | |
float_t | k3 |
Holds the radial distortion coefficient. More... | |
float_t | k4 |
Holds the radial distortion coefficient. More... | |
float_t | k5 |
Holds the radial distortion coefficient. More... | |
float_t | k6 |
Holds the radial distortion coefficient. More... | |
float_t | p1 |
Holds the tangential distortion coefficient. More... | |
float_t | p2 |
Holds the tangential distortion coefficient. More... | |
float_t NvMediaLensDistortion::k1 |
Holds the radial distortion coefficient.
Definition at line 173 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::k2 |
Holds the radial distortion coefficient.
Definition at line 176 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::k3 |
Holds the radial distortion coefficient.
Definition at line 179 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::k4 |
Holds the radial distortion coefficient.
Definition at line 182 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::k5 |
Holds the radial distortion coefficient.
Definition at line 185 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::k6 |
Holds the radial distortion coefficient.
Definition at line 188 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::p1 |
Holds the tangential distortion coefficient.
Definition at line 191 of file nvmedia_ldc.h.
float_t NvMediaLensDistortion::p2 |
Holds the tangential distortion coefficient.
Definition at line 194 of file nvmedia_ldc.h.