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
pangea_detail::Photo Struct Reference
Collaboration diagram for pangea_detail::Photo:

Public Member Functions

std::array< cv::Point2f, 4 > corners (const cv::Matx33d &transform) const
Json geographic_corners () const
void geometry (const exif_view *metadata, int width, int height, const Json &camera, bool standard_profile)
void update_bounds (int width, int height)
 Recompute the tile footprint after setting the image homography.

Data Fields

cv::Mat image
cv::Matx33d to_world
Bounds bounds

Detailed Description

Decoded source frame, pixel-to-world homography, and intersected tile bounds.

Definition at line 749 of file pangea.cpp.

Member Function Documentation

◆ corners()

std::array< cv::Point2f, 4 > pangea_detail::Photo::corners ( const cv::Matx33d & transform) const
inline

Transform the four source-image corners into another image/tile plane.

Definition at line 754 of file pangea.cpp.

◆ geographic_corners()

Json pangea_detail::Photo::geographic_corners ( ) const
inline

Convert source corners back to longitude/latitude for per-photo provenance.

Definition at line 769 of file pangea.cpp.

◆ geometry()

void pangea_detail::Photo::geometry ( const exif_view * metadata,
int width,
int height,
const Json & camera,
bool standard_profile )
inline

Validate source EXIF and derive a flat-ground source-pixel-to-world transform. MIMIC uses embedded geometry; real JPEGs require explicit intrinsics and mount angles so the worker never guesses a sensor model.

Definition at line 786 of file pangea.cpp.

◆ update_bounds()

void pangea_detail::Photo::update_bounds ( int width,
int height )
inline

Recompute the tile footprint after setting the image homography.

Parameters
widthSource columns in pixels.
heightSource rows in pixels.

Check homogeneous depth before dividing. Reject horizon, dateline and oversized footprints instead of creating unbounded tile work.

Exceptions
InvalidPhotoIf the candidate footprint violates a mapping limit.

Definition at line 921 of file pangea.cpp.

Field Documentation

◆ bounds

Bounds pangea_detail::Photo::bounds

Definition at line 752 of file pangea.cpp.

◆ image

cv::Mat pangea_detail::Photo::image

Definition at line 750 of file pangea.cpp.

◆ to_world

cv::Matx33d pangea_detail::Photo::to_world

Definition at line 751 of file pangea.cpp.


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