class DistortionCoefficients

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
k1float32First radial distortion coefficient
k2float32Second radial distortion coefficient
k3float32Third radial distortion coefficient
p1float32First tangential distortion coefficient
p2float32Second tangential distortion coefficient

Member functions

Function nameReturn typeInput typeDescription
k1()float32voidReturns the current value of k1. If the k1 is not set, returns 0.
set_k1()voidfloat32Sets the value of k1. After calling this, k1() will return value.
clear_k1()voidvoidClears the value of k1. After calling this, k1() will return 0.
k2()float32voidReturns the current value of k2. If the k2 is not set, returns 0.
set_k2()voidfloat32Sets the value of k2. After calling this, k2() will return value.
clear_k2()voidvoidClears the value of k2. After calling this, k2() will return 0.
k3()float32voidReturns the current value of k3. If the k3 is not set, returns 0.
set_k3()voidfloat32Sets the value of k3. After calling this, k3() will return value.
clear_k3()voidvoidClears the value of k3. After calling this, k3() will return 0.
p1()float32voidReturns the current value of p1. If the p1 is not set, returns 0.
set_p1()voidfloat32Sets the value of p1. After calling this, p1() will return value.
clear_p1()voidvoidClears the value of p1. After calling this, p1() will return 0.
p2()float32voidReturns the current value of p2. If the p2 is not set, returns 0.
set_p2()voidfloat32Sets the value of p2. After calling this, p2() will return value.
clear_p2()voidvoidClears the value of p2. After calling this, p2() will return 0.

Parent topic: VisionConfig (C++)