pub struct StreamConfig {Show 35 fields
pub src: PathBuf,
pub out: PathBuf,
pub span: usize,
pub overlap: usize,
pub stride: usize,
pub incremental_triangulation: bool,
pub depth_cache: bool,
pub fixed_enu_origin: bool,
pub pm_backend: String,
pub mvs_profile: String,
pub sift_backend: String,
pub match_backend: String,
pub undistort_backend: String,
pub threads: usize,
pub max_positions: Option<usize>,
pub save_models: bool,
pub serialize_dense: bool,
pub dense_max_image_size: i64,
pub number_views: usize,
pub max_num_features: usize,
pub sift_max_image_size: usize,
pub echo: bool,
pub no_dense: bool,
pub stable_display: bool,
pub settle_tol: f64,
pub settle_max_zone: usize,
pub intrinsics_prior: Option<PathBuf>,
pub intrinsics_prior_sigma: f64,
pub intrinsics_prior_dist_sigma: f64,
pub seed: Option<u64>,
pub max_levels: Option<usize>,
pub fusion: Fusion,
pub live_stride: usize,
pub lookahead: usize,
pub preview: bool,
}Expand description
Stream settings. Defaults = script behavior.
Fields§
§src: PathBufInput folder (images/<cam>/, gps_ref.txt).
out: PathBufOutput folder.
span: usizeZone size (number of positions).
overlap: usizeZone overlap (number of positions).
stride: usizeFrame interval (only number % stride == 0 is used).
incremental_triangulation: boolTriangulate only newly registered images (improvement, off by default).
depth_cache: boolReuse depth maps of overlapping images (improvement, off by default).
fixed_enu_origin: boolFix the session ENU origin to the first GPS line (improvement, off by default = the first common record at each alignment).
pm_backend: StringPatchMatch backend name (cuda).
mvs_profile: StringDensification profile (fast|quality).
sift_backend: StringSIFT backend (cpu|cuda).
match_backend: StringDescriptor matching backend (cpu|cuda).
undistort_backend: StringImage undistortion backend (cpu|cuda).
threads: usizeNumber of rayon threads (0 = number of cores).
max_positions: Option<usize>Process only the first N positions.
save_models: boolSave per-zone sparse models.
serialize_dense: boolSerialize preview/refined densification backend calls.
dense_max_image_size: i64Maximum undistortion size (script 960).
number_views: usizeNumber of densification source views.
max_num_features: usizeMaximum number of SIFT features (script 8192).
sift_max_image_size: usizeMaximum SIFT input size (default 3200).
echo: boolAlso show the run.log contents on standard output.
no_dense: boolSkip densification (for development/tests).
stable_display: boolStable display (see crate::session::SessionConfig::stable_display).
settle_tol: f64Stable display: intrinsics change below which the display settles (see crate::session::SessionConfig::settle_tol).
settle_max_zone: usizeStable display: last zone that may still settle (see crate::session::SessionConfig::settle_max_zone).
intrinsics_prior: Option<PathBuf>Soft intrinsics prior file (see crate::intrinsics).
intrinsics_prior_sigma: f64Intrinsics prior: relative σ of the focal lengths.
intrinsics_prior_dist_sigma: f64Intrinsics prior: absolute σ of the distortion parameters.
seed: Option<u64>RANSAC seed for two-view geometry and GPS alignment (None = differs from run to run).
max_levels: Option<usize>Upper bound on the number of densification scales (None = profile default; 1 = a single scale at full resolution).
fusion: FusionFusion overrides (smoothing, visibility; unset values use the profile default).
live_stride: usizeLive display thinning: keep 1 of N points by key hash (1 = keep all; ≥ 1).
lookahead: usizePositions whose features are extracted ahead of the position loop (see crate::session::SessionConfig::lookahead; 0 = off).
preview: boolStable display: sparse preview of every zone when it closes (see crate::session::SessionConfig::preview).
Implementations§
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.