Skip to main content

StreamConfig

Struct StreamConfig 

Source
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: String

PatchMatch 백엔드 이름(cuda).

§mvs_profile: String

조밀화 프로파일(fast|quality).

§sift_backend: String

SIFT 백엔드(cpu|cuda).

§match_backend: String

기술자 매칭 백엔드(cpu|cuda).

§threads: usize

rayon 스레드 수(0 = 코어 수).

§max_positions: Option<usize>

앞 N 위치만 처리.

§save_models: bool

구역별 희소 모델 저장.

§serialize_dense: bool

초벌·정밀 조밀화 백엔드 호출 직렬화.

§dense_max_image_size: i64

왜곡 보정 최대 크기(스크립트 960).

§number_views: usize

조밀화 원천 뷰 수.

§max_num_features: usize

SIFT 최대 특징 수(스크립트 8192).

§sift_max_image_size: usize

SIFT 입력 최대 크기(기본 3200).

§echo: bool

표준 출력에도 run.log 내용을 보임.

§no_dense: bool

조밀화 생략(개발·시험용).

§seed: Option<u64>

두 뷰 기하·GPS 정렬 RANSAC 시드(None = 실행마다 다름).

Implementations§

Source§

impl StreamConfig

Source

pub fn new(src: PathBuf, out: PathBuf) -> Self

기본 설정(구역 12, 겹침 2, stride 3).

Trait Implementations§

Source§

impl Clone for StreamConfig

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StreamConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DistributionExt for T
where T: ?Sized,

Source§

fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> T
where Self: Distribution<T>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

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

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V