34#include <NDEVR/INIInterface.h>
35#include <NDEVR/BaseValues.h>
36#include <NDEVR/String.h>
96 class DRONE_PHOTOGRAMMETRY_API PhotogrammetryOptions :
public INIInterface
148 PhotogrammetryOptions();
150 void resetToDefaults();
151 static PhotogrammetryOptions& DefaultOptions();
Contains methods for easily reading and writing to an INI file including efficient casting,...
INIInterface()
Constructs an INIInterface with no default INI file.
bool lock_focal
When true, locks the focal length during bundle adjustment (only refines distortion coefficients).
void getINI(INIFactory &factory) final override
Populates the given INI factory with the options managed by this interface.
PhotogrammetryGPSAccuracy gps_accuracy
GPS accuracy profile for SfM position prior weighting.
PhotogrammetryQuality quality
Feature extraction / matching quality preset.
uint04 max_threads
Maximum number of threads to use during feature extraction (0 = all available).
String image_folder
Folder containing the drone images to process.
String gcp_file
Optional GCP file path (used when georeference_mode == e_gcp_file) Format: point_id world_x world_y w...
PhotogrammetryGeoreferenceMode georeference_mode
Georeferencing source.
uint04 dense_max_resolution
Maximum image resolution (long-edge pixels) for dense reconstruction.
DenseReconstructionMode dense_mode
Dense reconstruction pipeline mode.
uint04 max_resolution
Maximum image resolution (long-edge pixels) for feature extraction and SfM.
The core String class for the NDEVR API.
The primary namespace for the NDEVR SDK.
DenseReconstructionMode
Controls the dense reconstruction pipeline.
@ e_gpu_openmvs_fusion
GPU PatchMatch depth maps fed into OpenMVS fusion (hybrid).
@ e_cpu_openmvs
OpenMVS CPU pipeline: depth estimation + fusion (default).
@ e_gpu_direct_fusion
GPU PatchMatch depth maps + direct projection (experimental).
PhotogrammetryGPSAccuracy
GPS accuracy profile for SfM position prior weighting.
@ e_consumer
~5m accuracy: lighter BA prior weights, less trust in altitude
@ e_rtk
~2cm accuracy: strong BA prior weights for high-precision surveys
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
PhotogrammetryGeoreferenceMode
Controls how image positions are georeferenced.
@ e_gps_exif
Read GPS coordinates from EXIF metadata embedded in each image.
@ e_gcp_file
Read ground control points from a user-supplied text file.
PhotogrammetryQuality
Controls which feature extractor and matching strategy OpenMVG uses.
@ e_high
Quality: SIFT features, vocabulary-tree matching, full-resolution MVS.
@ e_draft
Fast: AKAZE features, cascade hash matching, half-resolution MVS.
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
@ e_normal
Normal map channel for per-pixel lighting.