Go to file
NoahC 80f2e92d24 Write camera attitude for Metashape: XMP-Camera YPR + reference CSV
Photogrammetry software (Agisoft Metashape, Pix4D) could not read the
camera orientation, and the pitch convention was wrong.

- Emit attitude as XMP-Camera:Yaw/Pitch/Roll (Pix4D namespace Metashape
  reads) instead of the ignored XMP-GPano:Pose* tags, via a bundled
  firemapper.ExifTool_config (stock exiftool can't write that namespace).
- Add session_map.metashape_ypr(): pitch 0 = nadir, +90 = forward, so
  thermal -> 0, cam25 -> ~25, cam45 -> ~45, with aircraft attitude and the
  platform sweep folded in (decomposed from the shared camera geometry).
- Write a Metashape/Pix4D reference CSV (GPS + YPR per frame) on every
  Embed run, as a robust alternative to the embedded tags.
- Fix camera detection to key off each image's immediate parent dir, so
  embedding a parent folder that groups several sessions no longer mis-tags
  every RGB frame as nadir (dropping the off-nadir mounting angle).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 17:06:41 +02:00
.gitignore Add FireMapper post-processing toolchain 2026-06-26 09:39:54 +02:00
CLAUDE.md Rewrite user-facing text (GUI, manual, CLAUDE.md) in a professional register 2026-06-26 11:54:12 +02:00
embed_metadata.py Write camera attitude for Metashape: XMP-Camera YPR + reference CSV 2026-06-26 17:06:41 +02:00
firemapper.ExifTool_config Write camera attitude for Metashape: XMP-Camera YPR + reference CSV 2026-06-26 17:06:41 +02:00
firemapper_gui.py Write camera attitude for Metashape: XMP-Camera YPR + reference CSV 2026-06-26 17:06:41 +02:00
manual.html Write camera attitude for Metashape: XMP-Camera YPR + reference CSV 2026-06-26 17:06:41 +02:00
map_export.py Write camera attitude for Metashape: XMP-Camera YPR + reference CSV 2026-06-26 17:06:41 +02:00
session_map.py Write camera attitude for Metashape: XMP-Camera YPR + reference CSV 2026-06-26 17:06:41 +02:00
stretch_thermal.py Parallelize embed and thermal stretch (configurable workers) 2026-06-26 11:38:59 +02:00