pub struct StreamConfig {Show 23 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 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 seed: Option<u64>,
}Expand description
스트림 설정. 기본값 = 스크립트 동작.
Fields§
§src: PathBuf입력 폴더(images/<cam>/, gps_ref.txt).
out: PathBuf출력 폴더.
span: usize구역 크기(위치 수).
overlap: usize구역 겹침(위치 수).
stride: usize프레임 간격(번호 % stride == 0 만 사용).
incremental_triangulation: bool새로 등록된 영상만 삼각측량(개선, 기본 끔).
depth_cache: bool겹침 영상 깊이맵 재사용(개선, 기본 끔).
fixed_enu_origin: bool첫 GPS 줄로 세션 ENU 원점 고정(개선, 기본 끔 = 정렬마다 첫 공통 기록).
pm_backend: StringPatchMatch 백엔드 이름(cuda).
mvs_profile: String조밀화 프로파일(fast|quality).
sift_backend: StringSIFT 백엔드(cpu|cuda).
match_backend: String기술자 매칭 백엔드(cpu|cuda).
threads: usizerayon 스레드 수(0 = 코어 수).
max_positions: Option<usize>앞 N 위치만 처리.
save_models: bool구역별 희소 모델 저장.
serialize_dense: bool초벌·정밀 조밀화 백엔드 호출 직렬화.
dense_max_image_size: i64왜곡 보정 최대 크기(스크립트 960).
number_views: usize조밀화 원천 뷰 수.
max_num_features: usizeSIFT 최대 특징 수(스크립트 8192).
sift_max_image_size: usizeSIFT 입력 최대 크기(기본 3200).
echo: bool표준 출력에도 run.log 내용을 보임.
no_dense: bool조밀화 생략(개발·시험용).
seed: Option<u64>두 뷰 기하·GPS 정렬 RANSAC 시드(None = 실행마다 다름).
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.