Loading...
Searching...
No Matches
Nominal Pi AI Camera geometry used by the simulator rendering profile.
More...
#include <camera_optics.h>
|
| static ImageFraming::Crop | crop (int sourceWidth, int sourceHeight, int inset) |
| | Compute a centered source crop matching the nominal sensor frame.
|
| static double | verticalFov () |
| | Return nominal vertical field of view in degrees.
|
| static double | horizontalFov () |
| | Return nominal horizontal field of view in degrees.
|
| static double | viewportFov (int sourceWidth, int sourceHeight, int inset) |
| | Find the simulator vertical FOV that yields this captured viewport.
|
Nominal Pi AI Camera geometry used by the simulator rendering profile.
Fixed dimensions and focal model define the intrinsic matrix; overscan keeps rotated/distorted output inside the final frame without changing those nominal intrinsics.
Definition at line 66 of file camera_optics.h.
◆ crop()
| ImageFraming::Crop pangea_survey::PiAiOptics::crop |
( |
int | sourceWidth, |
|
|
int | sourceHeight, |
|
|
int | inset ) |
|
inlinestatic |
Compute a centered source crop matching the nominal sensor frame.
- Parameters
-
| [in] | sourceWidth | Rendered source width in pixels. |
| [in] | sourceHeight | Rendered source height in pixels. |
| [in] | inset | Pixels excluded at each source edge. |
- Returns
- Crop geometry and its shared horizontal/vertical sampling scale.
Definition at line 84 of file camera_optics.h.
◆ horizontalFov()
| double pangea_survey::PiAiOptics::horizontalFov |
( |
| ) |
|
|
inlinestatic |
Return nominal horizontal field of view in degrees.
Definition at line 98 of file camera_optics.h.
◆ verticalFov()
| double pangea_survey::PiAiOptics::verticalFov |
( |
| ) |
|
|
inlinestatic |
Return nominal vertical field of view in degrees.
Definition at line 94 of file camera_optics.h.
◆ viewportFov()
| double pangea_survey::PiAiOptics::viewportFov |
( |
int | sourceWidth, |
|
|
int | sourceHeight, |
|
|
int | inset ) |
|
inlinestatic |
Find the simulator vertical FOV that yields this captured viewport.
- Parameters
-
| [in] | sourceWidth | Rendered viewport width in pixels. |
| [in] | sourceHeight | Rendered viewport height in pixels. |
| [in] | inset | Excluded source-edge pixels used by the crop. |
- Returns
- Vertical field of view in degrees.
- Exceptions
-
| std::runtime_error | If the viewport needs an unsupported FOV. |
Definition at line 109 of file camera_optics.h.
◆ aperture
| double pangea_survey::PiAiOptics::aperture = 1.79 |
|
static |
◆ blueScale
| double pangea_survey::PiAiOptics::blueScale = 0.9996 |
|
staticconstexpr |
◆ clearDayShutterSeconds
| double pangea_survey::PiAiOptics::clearDayShutterSeconds = 0.0001 |
|
staticconstexpr |
◆ focalMm
| double pangea_survey::PiAiOptics::focalMm = 4.74 |
|
staticconstexpr |
◆ focalPixels
| double pangea_survey::PiAiOptics::focalPixels = focalMm / (2 * 0.00155) |
|
staticconstexpr |
◆ greenScale
| double pangea_survey::PiAiOptics::greenScale = 1 |
|
static |
◆ height
| int pangea_survey::PiAiOptics::height = 1520 |
|
static |
◆ k1
| double pangea_survey::PiAiOptics::k1 = -0.03 |
|
staticconstexpr |
◆ k2
| double pangea_survey::PiAiOptics::k2 = 0.005 |
|
static |
◆ overscan
| double pangea_survey::PiAiOptics::overscan = 1.04 |
|
staticconstexpr |
◆ radiansToDegrees
| double pangea_survey::PiAiOptics::radiansToDegrees = 57.295779513082320877 |
|
staticconstexpr |
◆ redScale
| double pangea_survey::PiAiOptics::redScale = 1.0004 |
|
static |
◆ sensorHeightMm
| double pangea_survey::PiAiOptics::sensorHeightMm = 3040 * 0.00155 |
|
staticconstexpr |
◆ sensorWidthMm
| double pangea_survey::PiAiOptics::sensorWidthMm = 4056 * 0.00155 |
|
staticconstexpr |
◆ width
| int pangea_survey::PiAiOptics::width = 2028 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: