|
libcamera v0.7.2
Supporting cameras in Linux since 2019
|
Structure combining all dewarp parameters. More...

Public Member Functions | |
| int | setCoefficients (Span< const double > coeffs) |
| Fill the coefficients with a list of coefficients. | |
Public Attributes | |
| Matrix< double, 3, 3 > | cm |
| The camera matrix. | |
| Matrix< double, 3, 3 > | cmNew |
| The new camera matrix after dewarping. | |
| struct { | |
| double k1 | |
| double k2 | |
| double p1 | |
| double p2 | |
| double k3 | |
| double k4 | |
| double k5 | |
| double k6 | |
| double s1 | |
| double s2 | |
| double s3 | |
| double s4 | |
| } | coefficients |
| Structure containing the lens dewarp coefficients. | |
Structure combining all dewarp parameters.
| int libcamera::Dw100VertexMap::DewarpParams::setCoefficients | ( | Span< const double > | coeffs | ) |
Fill the coefficients with a list of coefficients.
| coeffs |
Fill the coefficients with the ones from the provided span. These data is used to fill the coefficients in the order k1, k2, p1, p2, k3, k4, k5, k6, s1, s2, s3, s4. The span must either contain 4, 5, 8 or 12 entries, the remaining coefficients are set to 0.
| struct { ... } libcamera::Dw100VertexMap::DewarpParams::coefficients |
Structure containing the lens dewarp coefficients.
See https://docs.opencv.org/4.12.0/d9/d0c/group__calib3d.html for further details on the model.