class DistortionCoefficients
August 13, 2019 ยท View on GitHub
Member values
| Member name | Data type | Description |
|---|---|---|
| k1 | float32 | First radial distortion coefficient |
| k2 | float32 | Second radial distortion coefficient |
| k3 | float32 | Third radial distortion coefficient |
| p1 | float32 | First tangential distortion coefficient |
| p2 | float32 | Second tangential distortion coefficient |
Member functions
| Function name | Return type | Input type | Description |
|---|---|---|---|
| k1() | float32 | void | Returns the current value of k1. If the k1 is not set, returns 0. |
| set_k1() | void | float32 | Sets the value of k1. After calling this, k1() will return value. |
| clear_k1() | void | void | Clears the value of k1. After calling this, k1() will return 0. |
| k2() | float32 | void | Returns the current value of k2. If the k2 is not set, returns 0. |
| set_k2() | void | float32 | Sets the value of k2. After calling this, k2() will return value. |
| clear_k2() | void | void | Clears the value of k2. After calling this, k2() will return 0. |
| k3() | float32 | void | Returns the current value of k3. If the k3 is not set, returns 0. |
| set_k3() | void | float32 | Sets the value of k3. After calling this, k3() will return value. |
| clear_k3() | void | void | Clears the value of k3. After calling this, k3() will return 0. |
| p1() | float32 | void | Returns the current value of p1. If the p1 is not set, returns 0. |
| set_p1() | void | float32 | Sets the value of p1. After calling this, p1() will return value. |
| clear_p1() | void | void | Clears the value of p1. After calling this, p1() will return 0. |
| p2() | float32 | void | Returns the current value of p2. If the p2 is not set, returns 0. |
| set_p2() | void | float32 | Sets the value of p2. After calling this, p2() will return value. |
| clear_p2() | void | void | Clears the value of p2. After calling this, p2() will return 0. |
Parent topic: VisionConfig (C++)