Projection calibration in native coordinates, never display coordinates. More...
#include <lwir_geolocation.h>
Data Fields | |
| double | fx |
| Horizontal focal length in native pixels; must be positive. | |
| double | fy |
| Vertical focal length in native pixels; must be positive. | |
| double | cx |
| Principal-point column in native pixel coordinates. | |
| double | cy |
| Principal-point row in native pixel coordinates. | |
| double | k1 |
| Dimensionless radial coefficient multiplying normalized radius squared. | |
| double | k2 |
| Dimensionless radial coefficient multiplying normalized radius to the fourth power. | |
| double | p1 |
| First dimensionless tangential-distortion coefficient in OpenCV order. | |
| double | p2 |
| Second dimensionless tangential-distortion coefficient in OpenCV order. | |
| double | k3 |
| Dimensionless radial coefficient multiplying normalized radius to the sixth power. | |
| double | camera_to_body [9] |
| Row-major rotation: camera right/down/forward to body forward/right/down. | |
| double | lever_arm_body_m [3] |
| Navigation reference to camera origin, in body forward/right/down metres. | |
| double | minimum_ground_cosine |
| Minimum normalized downward ray component; rejects unstable horizon intersections. | |
| unsigned | image_width |
| Native stored-image column count; resizing requires adjusted intrinsics. | |
| unsigned | image_height |
| Native stored-image row count, before display orientation changes. | |
| bool | verified |
| Operator verification claim; loading coefficients does not establish it. | |
Detailed Description
Projection calibration in native coordinates, never display coordinates.
Lens coefficients follow OpenCV's pinhole/Brown-Conrady convention. Keeping them in the stored native pixel frame prevents display rotation or preview enlargement from silently changing the ray being projected.
Definition at line 56 of file lwir_geolocation.h.
Field Documentation
◆ camera_to_body
| double lwir_camera_geometry::camera_to_body[9] |
Row-major rotation: camera right/down/forward to body forward/right/down.
Must be a proper rotation (orthonormal, determinant +1); projection rejects anything else. The loader default {0,-1,0, 1,0,0, 0,0,1} maps camera forward to body down and camera up (-y) to body forward: a nadir camera with the image top toward the nose.
Definition at line 59 of file lwir_geolocation.h.
◆ cx
| double lwir_camera_geometry::cx |
Principal-point column in native pixel coordinates.
Definition at line 57 of file lwir_geolocation.h.
◆ cy
| double lwir_camera_geometry::cy |
Principal-point row in native pixel coordinates.
Definition at line 57 of file lwir_geolocation.h.
◆ fx
| double lwir_camera_geometry::fx |
Horizontal focal length in native pixels; must be positive.
Definition at line 57 of file lwir_geolocation.h.
◆ fy
| double lwir_camera_geometry::fy |
Vertical focal length in native pixels; must be positive.
Definition at line 57 of file lwir_geolocation.h.
◆ image_height
| unsigned lwir_camera_geometry::image_height |
Native stored-image row count, before display orientation changes.
Definition at line 62 of file lwir_geolocation.h.
◆ image_width
| unsigned lwir_camera_geometry::image_width |
Native stored-image column count; resizing requires adjusted intrinsics.
Definition at line 62 of file lwir_geolocation.h.
◆ k1
| double lwir_camera_geometry::k1 |
Dimensionless radial coefficient multiplying normalized radius squared.
Definition at line 58 of file lwir_geolocation.h.
◆ k2
| double lwir_camera_geometry::k2 |
Dimensionless radial coefficient multiplying normalized radius to the fourth power.
Definition at line 58 of file lwir_geolocation.h.
◆ k3
| double lwir_camera_geometry::k3 |
Dimensionless radial coefficient multiplying normalized radius to the sixth power.
Definition at line 58 of file lwir_geolocation.h.
◆ lever_arm_body_m
| double lwir_camera_geometry::lever_arm_body_m[3] |
Navigation reference to camera origin, in body forward/right/down metres.
Definition at line 60 of file lwir_geolocation.h.
◆ minimum_ground_cosine
| double lwir_camera_geometry::minimum_ground_cosine |
Minimum normalized downward ray component; rejects unstable horizon intersections.
Accepted range 0.05..1; 0.2 means rays more than about 78.5 degrees from straight down are rejected.
Definition at line 61 of file lwir_geolocation.h.
◆ p1
| double lwir_camera_geometry::p1 |
First dimensionless tangential-distortion coefficient in OpenCV order.
Definition at line 58 of file lwir_geolocation.h.
◆ p2
| double lwir_camera_geometry::p2 |
Second dimensionless tangential-distortion coefficient in OpenCV order.
Definition at line 58 of file lwir_geolocation.h.
◆ verified
| bool lwir_camera_geometry::verified |
Operator verification claim; loading coefficients does not establish it.
Definition at line 63 of file lwir_geolocation.h.
The documentation for this struct was generated from the following file:
- modules/lwir_cam/lwir_geolocation.h