Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
camera_lens_detail::Pose Struct Reference

Public Member Functions

 Pose (const Json &shot, const Json &profile)
 Resolve the shot geometry and time-dependent motion model.
bool stationary () const
 Check whether camera geometry varies across exposure samples.
std::pair< cv::Mat, cv::Mat > ground (const cv::Mat &rays, int first, int height, double sample) const

Data Fields

double altitude
double speed
double course
std::array< double, 3 > angles
std::array< double, 3 > rates
double readout
double exposure
double vibration
double frequency
double phase

Detailed Description

Flight pose and profile motion/exposure settings used for ground projection.

Definition at line 1096 of file camera_lens.cpp.

Constructor & Destructor Documentation

◆ Pose()

camera_lens_detail::Pose::Pose ( const Json & shot,
const Json & profile )
inline

Resolve the shot geometry and time-dependent motion model.

Parameters
shotValidated flight pose and ground motion.
profileValidated lens motion, height, and shutter settings.

Global shutter removes the row readout term. Reverse rolling readout negates it, preserving a common midpoint time for both directions.

Definition at line 1105 of file camera_lens.cpp.

Member Function Documentation

◆ ground()

std::pair< cv::Mat, cv::Mat > camera_lens_detail::Pose::ground ( const cv::Mat & rays,
int first,
int height,
double sample ) const
inline

Intersect each ray with a flat ground plane at its row/exposure time.

Parameters
raysNormalized strip rays.
firstFirst full-image row in rays.
heightFull image height used for rolling-shutter timing.
sampleExposure-time offset from the center of the shot.
Returns
East and north displacement matrices in meters.

Definition at line 1138 of file camera_lens.cpp.

◆ stationary()

bool camera_lens_detail::Pose::stationary ( ) const
inline

Check whether camera geometry varies across exposure samples.

Returns
True without translation, angular rate, or time-varying vibration.

Fixed attitude is permitted; only motion over the exposure requires evaluating distinct sample times.

Definition at line 1128 of file camera_lens.cpp.

Field Documentation

◆ altitude

double camera_lens_detail::Pose::altitude

Definition at line 1097 of file camera_lens.cpp.

◆ angles

std::array<double, 3> camera_lens_detail::Pose::angles

Definition at line 1098 of file camera_lens.cpp.

◆ course

double camera_lens_detail::Pose::course

Definition at line 1097 of file camera_lens.cpp.

◆ exposure

double camera_lens_detail::Pose::exposure

Definition at line 1099 of file camera_lens.cpp.

◆ frequency

double camera_lens_detail::Pose::frequency

Definition at line 1099 of file camera_lens.cpp.

◆ phase

double camera_lens_detail::Pose::phase

Definition at line 1099 of file camera_lens.cpp.

◆ rates

std::array<double, 3> camera_lens_detail::Pose::rates

Definition at line 1098 of file camera_lens.cpp.

◆ readout

double camera_lens_detail::Pose::readout

Definition at line 1099 of file camera_lens.cpp.

◆ speed

double camera_lens_detail::Pose::speed

Definition at line 1097 of file camera_lens.cpp.

◆ vibration

double camera_lens_detail::Pose::vibration

Definition at line 1099 of file camera_lens.cpp.


The documentation for this struct was generated from the following file: