Loading...
Searching...
No Matches
ortho_map.h
Go to the documentation of this file.
Map calibrated camera pixels to a local flat ground plane.
~Orthorectifier()
Release the render state and its caches.
std::optional< UtcDateTime > captureUtc() const
Return the validated common capture UTC target, when present.
Definition ortho_map.cpp:469
void prepareSources(const std::function< bool()> &stopped)
Prepare shared source rasters/mosaic state before repeated rendering.
Definition ortho_map.cpp:640
Orthorectifier(const MapConfig &config, const std::filesystem::path &csv)
Validate source CSV rows and derive the requested output grid.
Definition ortho_map.cpp:463
Orthorectifier & operator=(const Orthorectifier &)=delete
Disallow copy assignment of the owned render state.
OrthoImage renderWindow(std::size_t originX, std::size_t originY, int width, int height, const std::function< bool()> &stopped, const std::function< void(double)> &progress={})
Render an arbitrary bounded window of the configured map grid.
Definition ortho_map.cpp:1301
static std::filesystem::path normalizeSources(const std::filesystem::path &csv, const std::filesystem::path &directory, const std::function< bool()> &stopped, unsigned workers=1, unsigned memoryMiB=128)
Rectify JPEG sources into working JPEGs and write a new CSV.
Definition ortho_map.cpp:1120
std::size_t sourceCount() const
Return the validated source count without decoding pixels.
Definition ortho_map.cpp:470
static void selfTest()
Run synthetic orthorectification regression cases.
Definition ortho_map.cpp:1422
OrthoImage render(std::size_t index, const std::function< bool()> &stopped, const std::function< void(double)> &progress={})
Render one configured output tile.
Definition ortho_map.cpp:1293
std::string sourceFingerprint(const std::function< bool()> &stopped) const
Hash canonical source paths and current JPEG contents in source order.
Definition ortho_map.cpp:471
Orthorectifier(const Orthorectifier &)=delete
Disallow copying the owned render state.
Own the survey mapper's validated configuration and mode defaults.
Convert between WGS-84 coordinates and one local UTM grid.
Definition camera_optics.h:32
OrthoLayout orthoLayout(const MapConfig &config)
Compute a north-up, non-overlapping image grid for the requested bounds.
Definition ortho_map.cpp:334
Engineering lens-distortion and lateral colour-scale parameters.
Definition camera_optics.h:56
Fully parsed settings shared by orthomap and XYZ export.
Definition map_config.h:41
Centre and pixel geometry for a projected image tile.
Definition map_projection.h:36
Rendered BGRA map plus coverage, source list, and method provenance.
Definition ortho_map.h:78
double reconstructedFraction
Definition ortho_map.h:90
double reconstructionBlendFraction
Definition ortho_map.h:90
std::vector< unsigned char > confidence
Definition ortho_map.h:81
UTM-aligned extent and tile count for one requested map area.
Definition ortho_map.h:38
One fixed-session source image and its camera/pose evidence.
Definition ortho_map.h:55
std::optional< std::pair< int, int > > captureCell
Definition ortho_map.h:70
std::optional< UtcDateTime > captureUtc
Definition ortho_map.h:64